DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14185>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14185

XPathAPI.selectNodeList()  fails for 'contains()' attribute expression

           Summary: XPathAPI.selectNodeList()  fails for 'contains()'
                    attribute expression
           Product: XalanJ2
           Version: 2.4
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: org.apache.xpath
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


API => XPathAPI.selectNodeList(doc, xpath) does not work for the following 
expression and xml doc.

XML:

<?xml version="1.0"?>
<doc>  
  <name first="James" last="Curcuru"/>
  <name first="James" last="Xavier"/>  
</doc>

XPath Expression: //*[contains(@*,'Xavier')] 

The above expression does NOT return any nodes but if I try
 the expression for James  ie.  //*[contains(@*,'James')] then it return both 
nodes.

Reply via email to