[DOMCore] Comments on tagName case


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

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