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=8231>. 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=8231 XPath function name() doesn't include the namespace [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From [EMAIL PROTECTED] 2002-04-18 14:52 ------- You are doing something wrong. name() returns the QName of the node as it exists in the source document. If there was no prefix in that document, there will be no prefix in the value retuned by name(). Hence the name() of the element <test xmlns="fred.flintstone"/> is indeed "test". The fact that the same namespace happens to have a prefix in the stylesheet is irrelevant. The real moral here is that prefixes are syntactic sugar, and your code should try _very_ hard to avoid doing anything that depends on them. Focus on the localname and the namsepace URI.
