Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Version 1.0.3
-
None
-
Windows XP, JDK 1.4.2
Description
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");