W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Character casing for "Appropriate End Tags" and the "temporary buffer"

From: Matt Hall <matthall@microsoft.com>
Date: Thu, 29 Oct 2009 15:38:34 +0000
Message-ID: <BED2AE15BBA8FA4E8FBC93E2E58DAF9C070C2DCE@TK5EX14MBXC120.redmond.corp.microsoft.com>
Prior to r4177, the matching of tag names for exiting the RCDATA/RAWTEXT states was done as follows:



"...and the next few characters do no match the tag name of the last start tag token emitted (compared in an ASCII case-insensitive manner)"



However, the current revision doesn't include any comment on character casing in its discussion of "Appropriate End Tags."  Similarly, certain tokenizer states require that you check the contents of the "temporary buffer" against the string "script" but there is no indication of whether or not to do this in a case-insensitive manner.



In both cases, should this comparison be done in an ASCII case-insensitive manner or not? It might be helpful to clarify the spec in both places in either case.



Thanks!

-Matt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091029/a292bba8/attachment.htm>
Received on Thursday, 29 October 2009 08:38:34 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC