PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3415 *** shadow/3415 Tue Sep 4 11:32:26 2001 --- shadow/3415.tmp.26834 Tue Sep 4 11:32:26 2001 *************** *** 0 **** --- 1,41 ---- + +============================================================================+ + | Default namespace handling is non-standard | + +----------------------------------------------------------------------------+ + | Bug #: 3415 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: PC | + | Severity: Normal OS/Version: Windows NT/2K | + | Priority: Other Component: org.apache.xpath | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + At the present time (2_2_D10 download), a query of the form: + + /:foo/:bar/text() + + will grab the text node within a document of the form: + + <?xml version="1.0"?> + <foo xmlns="http://www.fooco.net"> + <bar>This will be returned by the query.</bar> + </foo> + + The same query does not work with a null URI, i.e., the same query returns an + error when applied to: + + <?xml version="1.0"?> + <foo> + <bar>This will not be returned by the query.</bar> + </foo> + + According to the XPath specification, the expression /:foo/:bar/text() does not + conform to: + + (NCName ':')? NCName + + But it's still a convenient feature.
