On Wed, 29 Nov 2006 17:31:19 +0100, Mihai Sucan <[EMAIL PROTECTED]>
wrote:
XML parsers break if the code has no trailing slashes where needed, the
majority of HTML parsers do not break if the author uses trailing
slashes.
Some web developers also make use, on the server, of XHTML and XML
documents, which end up being sent to the UA - parts of, or entirely.
Why trailing slashes need to break conformance? If trailing slashes are
not accepted into HTML 5, then many other bad things should be banned.
From the start, the error recovery should be eliminated, and treated as
XML parsers do: stop on error, with no recovery.
That doesn't make sense at all. As said before, "parse error" does not
mean that parsing has to stop, it merely indicates that a syntax error has
to be flagged somewhere. Parsers are allowed to stop processing at that
point, but that doesn't make sense for any parser that tries to collect
data. Only for parsers validating data.
--
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>