W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2003

DOM3 Core - Document.xmlVersion

From: Christopher Aillon <caillon@netscape.com>
Date: 25 Jul 2003 11:22:22 -0400
Message-ID: <3F0C7F15.6070003@netscape.com>
To: www-dom@w3.org




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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:57 GMT