You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/02/20 19:58:13 UTC
DO NOT REPLY [Bug 6589] -
Multiple default namespaces cannot be selected with "".
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=6589>.
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=6589
Multiple default namespaces cannot be selected with "".
David_N_Bertoni@lotus.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From David_N_Bertoni@lotus.com 2002-02-20 18:58 -------
In XPath, you cannot match elements in a default namespace unless you map a
prefix to that namespace and use the prefix in the node test. This is per the
recommendation and is not a bug. It is also a FAQ. See:
http://www.w3.org/TR/xpath#node-tests
http://xml.apache.org/xalan-j/faq.html#faq-11
However, it's certainly a bug if Xalan is not reporting an error parsing your
XPath, as ":one" and ":two" are not valid node tests.
By the way, "asdf" and "qwer" are relative URIs, and as such, are not
officially supported. You should use absolute namespace URIs.