- From: Eric J. Bowman <eric@bisonsystems.net>
- Date: Fri, 15 Feb 2013 02:25:10 -0700
- To: "Michael[tm] Smith" <mike@w3.org>
- Cc: public-html WG <public-html@w3.org>, "www-tag@w3.org List" <www-tag@w3.org>
"Michael[tm] Smith" wrote: > > > 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. > OK, I will. > > 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. > You're right. One of the reasons I've always used CSE validator over w3c's is because it reports this as a warning; despite being valid SGML it was historically non-interoperable in browsers. So I've always considered it an error even though I know better, but this has nothing to do with XML. XML making this an error is one reason XML's stream-processable, to the point I can take it for granted regardless of parser. If validator.nu's parser streams, I don't think I can take that feature as representative of the class. Time will tell. -Eric
Received on Friday, 15 February 2013 09:25:37 UTC