Document.xmlVersion and HTML Documents

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
version.
HTML documents are in that case.

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

Philippe

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