You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "NAGASAWA, Takahiro (JIRA)" <xm...@xml.apache.org> on 2004/11/01 11:20:34 UTC

[jira] Created: (XMLBEANS-80) problems in XPath selecting with namespaces and Predicates.

problems in XPath selecting with namespaces and Predicates.
-----------------------------------------------------------

         Key: XMLBEANS-80
         URL: http://nagoya.apache.org/jira/browse/XMLBEANS-80
     Project: XMLBeans
        Type: Bug
    Versions: Version 1.0.3    
 Environment: OS:Win XP
JDK:1.4.2
IDE:Eclipse
    Reporter: NAGASAWA, Takahiro
    Priority: Blocker


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']



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org


[jira] Resolved: (XMLBEANS-80) problems in XPath selecting with namespaces and Predicates.

Posted by "Yana Kadiyska (JIRA)" <xm...@xml.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLBEANS-80?page=history ]
     
Yana Kadiyska resolved XMLBEANS-80:
-----------------------------------

     Resolution: Fixed
    Fix Version: Version 2 Beta 1

Issue is resolved in V2...port to v1 should be straightforward but is not plan unless a user particularly needs v1...

> problems in XPath selecting with namespaces and Predicates.
> -----------------------------------------------------------
>
>          Key: XMLBEANS-80
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-80
>      Project: XMLBeans
>         Type: Bug
>     Versions: Version 1.0.3
>  Environment: OS:Win XP
> JDK:1.4.2
> IDE:Eclipse
>     Reporter: NAGASAWA, Takahiro
>     Assignee: Yana Kadiyska
>     Priority: Blocker
>      Fix For: Version 2 Beta 1

>
> 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']

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org