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





------- Additional Comments From [EMAIL PROTECTED]  2003-02-21 15:13 -------
There is still a problem with this. If you have an XPath of "/doc/records
[contains(record, "Red")]", it still doesn't find the node, probably for the 
reason given for the first example (nodelist converted to string). This 
behavior is inconsistent and counter-intuitive. Looking at the above XPath, I 
would interpret the semantics as "Find any record that contains 'Red' 
under /doc/records", just as I would interpret "/doc/records[record = 'Orange 
and Red']" to mean "Find any record with value 'Orange and Red' 
under /doc/records". Perhaps I'm just a stickler for having expressions be 
intuitive and consistent. I find things more useful that way.

Reply via email to