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=9339>. 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=9339 XPathAPI selectNodeIterator(doc, xpath) with default namespace Summary: XPathAPI selectNodeIterator(doc, xpath) with default namespace Product: XalanJ2 Version: 2.3 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Normal Priority: Other Component: org.apache.xpath AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] In xalan-j2.3.1, on Windows 2000 SP2, the following xpath retrieval, using the ApplyXPath example java ApplyXPath trydef.xml "/xxx/yyy" fails on the file, trydef.xml, which uses the default namespace. <?xml version="1.0" ?> <xxx xmlns="a:b//c"> <yyy> <zzz aaa="333"> </zzz> </yyy> </xxx> The corresponding retrieval java ApplyXPath trynone.xml "/xxx/yyy" works as expected on the file, trynone.xml, which has no namespace <?xml version="1.0" ?> <xxx> <yyy> <zzz aaa="333"> </zzz> </yyy> </xxx> The corresponding retrieval using a namespace prefix also works: java ApplyXPath trypref.xml "/q:xxx/q:yyy" <?xml version="1.0" ?> <q:xxx xmlns:q="a:b//c"> <q:yyy> <q:zzz aaa="333"> </q:zzz> </q:yyy> </q:xxx> Perhaps this is related to bug #6479?
