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

[DOMCore] Comments on tagName case

From: João Eiras <joao.eiras@gmail.com>
Date: Thu, 7 Jul 2011 16:45:36 +0100
Message-ID: <CAJ+sA06V279GQjo7sgy7_MQHdn6VMow5wJyktCg6Y35h_0xSyw@mail.gmail.com>
To: www-dom@w3.org
Hi.

Regarding http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-element-tagname
, this line specifically :
# If the context object is in the HTML namespace and its ownerDocument
is an HTML document, let qualified name be converted to ASCII
uppercase.

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.

Thank you.
Received on Thursday, 7 July 2011 15:46:51 GMT

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