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

Document.xmlVersion and HTML Documents

From: Philippe Le Hegaret <plh@w3.org>
Date: 06 Aug 2003 15:18:26 -0400
To: François Yergeau <francois@yergeau.com>, Christopher Aillon <caillon@netscape.com>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1060197505.8001.73.camel@jfouffa.w3.org>

On Fri, 2003-07-25 at 11:22, Christopher Aillon wrote: 
> 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?

On Wed, 2003-08-06 at 13:35, François Yergeau wrote:
> Document interface, "xmlStandalone" and "xmlVersion" attributes: both
> descriptions say that there is a NOT_SUPPORTED_ERR if this document
> *does* support the "XML" feature. Shouldn't that be does *not*
> support?

It is indeed the case that NOT_SUPPORTED_ERR must be raised when
accessing Document.xmlVersion if the Document does *not* support the XML
HTML documents are in that case.

Please, let us know if you are satisfied or not with the resolution,

Received on Wednesday, 6 August 2003 15:21:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:11 UTC