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

Matt Hall matthall at microsoft.com
Thu Oct 29 08:40:53 PDT 2009


Apologies for the repost -- here is the original e-mail in plain text:


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



More information about the whatwg mailing list