- From: Edward O'Connor <eoconnor@apple.com>
- Date: Mon, 08 Oct 2012 15:26:50 -0700
- To: www-tag@w3.org
- Cc:
Hi Eric, You wrote: > The idea of the HTML parser is that it always produces a DOM that can > serialize out into a document conforming to the author spec. No, that's not the idea at all. Consider the following document: =============== <!doctype html> <xmp> hi Eric =============== When parsed, it produces a DOM tree that looks like so: #document | <HTML> | <HEAD> | <BODY> | <XMP> | "hi Eric" When serialized, the resulting document does not meet the author conformance criteria in the spec. Ted
Received on Monday, 8 October 2012 22:27:17 UTC