You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/14 22:20:48 UTC

DO NOT REPLY [Bug 9080] - NamespaceURI not assigned to Document during parse on DocumentBuilder

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

elena@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID



------- Additional Comments From elena@apache.org  2002-05-14 20:20 -------
This is not a bug. By definition, the value of the namespaceURI for Document 
node is null: 
http://www.w3.org/TR/2002/WD-DOM-Level-3-Core-20020409/core.html#ID-NodeNSname

This is inline with XML Infoset specification: there is no property (namespace) 
for the document item.
If you need to know targetNamespace, you can retrieve the value of 
the "xsi:targetNamespace" attribute from the documentElement.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org