Re: Polyglot markup and authors

"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:55 UTC