Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-80

problems in XPath selecting with namespaces and Predicates.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Version 1.0.3
    • Version 2 Beta 1
    • None
    • None
    • OS:Win XP
      JDK:1.4.2
      IDE:Eclipse

    Description

      If namespaces and Predicates are used simultaneously, an element cannot be taken out correctly.

      example

      target XML Document is :

      <?xml version="1.0"?>
      <doc xmlns:ext="http://somebody.elses.extension">
      <ext:a test="test" />
      <b attr1="a1" attr2="a2"
      xmlns:java="http://xml.apache.org/xslt/java">
      <a>
      </a>
      </b>
      </doc>

      XPath:
      declare namespace ext='http://somebody.elses.extension'$this//ext:a[@test='test']

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            ykadiysk Yana Kadiyska
            drmashu NAGASAWA, Takahiro
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: