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=9080>. 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=9080 NamespaceURI not assigned to Document during parse on DocumentBuilder Summary: NamespaceURI not assigned to Document during parse on DocumentBuilder Product: Xerces2-J Version: 2.0.1 Platform: HP OS/Version: All Status: NEW Severity: Normal Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When calling the ... public Document parse(java.io.InputStream is) method of the DocumentBuilder class ... namespaces are not set on the resulting Document object even though they do exist in the InputStream's markup! The resulting Document simply returns an empty String when calling Document.getNamespaceURI(). Although, what is interesting, is that the xmlns & targetNamespace attributes remain in the Document object if you convert it to String and print in out. This behaviour impacts traversal of the Document for multi-namespace Documents. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
