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

http://issues.apache.org/bugzilla/show_bug.cgi?id=28163

XPath does not accept default namespaces with prefix resolver





------- Additional Comments From [EMAIL PROTECTED]  2004-04-19 18:05 -------
XPath 1.0 syntax doesn't actually support the concept of default namespaces; if
a name has no prefix, it can refer only to nodes which have no namespace. So I'm
not convinced you can legally do what you're trying to do. 

We probably shouldn't crash, though, or should crash more diagnostically.

(This is one of the things they're proposing to change in XPath 2.0, by the way;
the namespace context will be allowed to include a default namespace.
Unfortunately they still don't seem to be defining a syntax, or an API, for
defining namespace bindings so taking advantage of that is going to continue to
require nonportable solutions.)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to