W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] text/html conformance checkers and CDATA

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Tue, 26 Jul 2005 16:56:32 +1000
Message-ID: <42E5DEA0.40106@lachy.id.au>
Anne van Kesteren wrote:
> Quoting Lachlan Hunt <lachlan.hunt at lachy.id.au>:
> 
>>> I think conformance checkers should not allow '</' in elements whose 
>>> content model in HTML 4 was CDATA.
>>
>>
>> Agreed.  That is how HTML 4 validators currently work.
> 
> And also how no browser works.

That's irrelevant in this case.  The question is about whether or not it 
is valid for authors to use "</" within elements containing CDATA, which 
it is not, regardless of how browsers should actually handle the error.

> This point was raised before by the way:
> <http://listserver.dreamhost.com/pipermail/whatwg-whatwg.org/2005-January/002993.html> 

For the purpose of error handling, it would be acceptable to define that 
an erroneous "</" within does not close the element, but that doesn't 
make its use by authors any more valid and should be picked up by any 
decent conformance checker.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Monday, 25 July 2005 23:56:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC