I wrote:
Jorge wrote:
On Sun, Feb 15, 2009 at 11:11:59PM +0000, corvid wrote:
Jorge wrote:
summary: Fixed handling of META's content-type with no MIME type (e.g. only charset).
Is that legal? It doesn't sound legal.
Verbatim from HTML-4.01 SPEC:
META: [...] content = cdata [CS]
This attribute specifies a property's value. This specification does not list legal values for this attribute.
Right, MIME types are specified elsewhere and not here in the HTML spec.
I imagine this has to do with furaisanjin's "'", and a quick look into the spec suggests that should be getting turned into a "'" if it's an attr. I'll see if I can find what's going on there.
furaisanjin's was inside an attribute, and the content type one delimits an attribute. So the spec says By default, SGML requires that all attribute values be delimited using either double quotation marks (ASCII decimal 34) or single quotation marks (ASCII decimal 39). Single quote marks can be included within the attribute value when the value is delimited by double quote marks, and vice versa. Authors may also use numeric character references to represent double quotes (") and single quotes ('). And the question is whether that last sentence is talking about attribute delimiters, attribute values, or both. I don't know! It looks like a person would have to make the questionable decision to digest the super-mega-horror that is SGML in order to find out.