W3C home > Mailing lists > Public > www-tag@w3.org > February 2013

Re: Polyglot markup and authors

From: Michael[tm] Smith <mike@w3.org>
Date: Thu, 14 Feb 2013 16:16:40 +0900
To: "Eric J. Bowman" <eric@bisonsystems.net>
Cc: public-html WG <public-html@w3.org>, "www-tag@w3.org List" <www-tag@w3.org>
Message-ID: <20130214071638.GL80798@sideshowbarker>
"Eric J. Bowman" <eric@bisonsystems.net>, 2013-02-13 17:09 -0700:

> Error-correcting parsers can't begin streaming output (using, say, SAX)
> to the rest of the toolchain until they've finished parsing

That's not actually true. You might want to take at look at the
validator.nu HTML parser for an example.

> unless they don't encounter any errors that need correcting, like
> unclosed tags --

If by unclosed tag you mean a start tag that lacks an end tag, then for
many elements in HTML that's not defined as an error and never has been.
XML made it an error. But HTML parsers aren't XML. Anyway, regardless, it's
a case that affects streamability.

  --Mike

-- 
Michael[tm] Smith http://people.w3.org/mike
Received on Thursday, 14 February 2013 07:16:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 14 February 2013 07:16:54 GMT