You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Yana Kadiyska (JIRA)" <xm...@xml.apache.org> on 2005/02/10 23:46:26 UTC

[jira] Resolved: (XMLBEANS-81) Cursor selectPath() method not working with predicates

     [ http://issues.apache.org/jira/browse/XMLBEANS-81?page=history ]
     
Yana Kadiyska resolved XMLBEANS-81:
-----------------------------------

     Resolution: Fixed
    Fix Version: Version 2 Beta 1

> Cursor selectPath() method not working with predicates
> ------------------------------------------------------
>
>          Key: XMLBEANS-81
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-81
>      Project: XMLBeans
>         Type: Bug
>   Components: Cursor
>     Versions: Version 1.0.3
>  Environment: Windows XP, JDK 1.4.2
>     Reporter: Mohamed Fizal Ihsan
>     Assignee: Yana Kadiyska
>      Fix For: Version 2 Beta 1

>
> XmlCursor.selectPath() throws "java.lang.UnsupportedOperationException" when I try to use predicates selecting a node.
> Sample XML:
> <MatchedRecords>
>   <MatchedRecord>
>      <TableName>
>        ABC
>      </TableName>
>   <MatchedRecord>
>   <MatchedRecord>
>      <TableName>
>        BCD
>      </TableName>
>   <MatchedRecord>
> <MatchedRecords>
> Code snippet:
> cursor.selectPath("$this//MatchedRecord[TableName=\"ABC\"]/TableName");

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