Anne van Kesteren wrote:
Quoting Lachlan Hunt <[EMAIL PROTECTED]>:

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/

Reply via email to