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=41858>. 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=41858 ------- Additional Comments From [EMAIL PROTECTED] 2007-08-02 00:26 ------- (In reply to comment #2) > Can you attach a test case, or a sample of XML demonstrating the problem? I > need > to be able to reproduce this problem. Well, the contract of org.w3c.dom.Node.getNamespaceURI() is very specific: "The namespace URI of this node, or null if it is unspecified (see ). This is not a computed value that is the result of a namespace lookup based on an examination of the namespace declarations in scope." In other words, if a org.w3c.dom.Node was given an implicit namespace based upon the default namespace in effect when it was created, then this method will return null. It will only return a non-null value if the Node was explicitly given a namespace when it was created. For this reason you should check the return value of org.w3c.dom.Node.getNamespaceURI() to make sure it is not null before you use it. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.