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

Re: [DOMCore] Comments on tagName case

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 07 Jul 2011 12:02:57 -0400
Message-ID: <4E15D8B1.7050009@mit.edu>
To: www-dom@w3.org
On 7/7/11 11:45 AM, João Eiras wrote:
> This needs an extra condition.
> a) If the document was parsed as html, then the rule should be used as written.
> b) If the document was parsed as xml, then case sensitivity is
> mandatory, as parsed from the original document.

The definition of "HTML Document" used here is found at 

The place where "is an HTML document" flag is set is on of the following:

1) createHTMLDocument() method
2) The steps in 
(which happen only for text/html).

So I think the spec is correct as written...

Received on Thursday, 7 July 2011 16:03:25 UTC

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