- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Wed, 11 Nov 2009 11:47:12 -0500
- To: John Cowan <cowan@ccil.org>
- CC: public-html@w3.org, public-xml-core-wg@w3.org
On 11/11/09 11:21 AM, John Cowan wrote: >> See section 9.2 "Parsing HTML Documents" [1] > > "This section only applies to user agents, data mining tools, and > conformance checkers." > > 9.1 is the section for documents. Section 9.1 describes how to create a "valid" HTML5 document. You asked what happens if a document producer doesn't follow those rules. The answer is "absolutely nothing until something tries to consume the document, of course" (cue comparisons to trees falling in forests with no one around to hear). Section 9.2 covers what happens when someone _does_ try to consume a document claimed to be HTML. Some classes of consumers (e.g. validators, lint tools, web browsers with error checking turned on, etc) might let you know if you didn't follow the rules of section 9.1. Other classes might not. That's the only impact section 9.1 has on the consumer end of things. -Boris
Received on Wednesday, 11 November 2009 16:48:08 UTC