DOM3 Core - Document.xmlVersion

http://www.w3.org/TR/2003/WD-DOM-Level-3-Core-20030609/core.html#Document3-version

The draft states:

  An attribute specifying, as part of the XML declaration, the
  version number of this document. If there is no declaration,
  the value is |"1.0"|.


HTML (served as text/html) documents do not have XML declarations, and 
in this case it seems to me this propery should return null, not "1.0".  
Am I correct in making this assumption?  Or should this really be 
returning "1.0" in that case as well?



--Christopher

Received on Friday, 25 July 2003 11:22:23 UTC