[DOMCore] Comments on tagName case

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 UTC