[whatwg] several messages about XML syntax and HTML5
jg307 at cam.ac.uk
Mon Dec 4 06:43:05 PST 2006
Elliotte Harold wrote:
> That means I have to send text/html to browsers (because that's the only
> thing they understand) and let my clients ignore that hint.
As I understand it, the full chain of events should look like this:
[Internal data model in server]
HTML 5 Serializer
HTML 5 Parser
[Whatever client tools you like]
The only technical issue is that your HTML5 parser has to produce a data format
that your other client tools like. If this involves the construction of an
XML-like tree that's fine. But you should _never_ try to use an XML parser to
produce the tree because it _will_ break with conforming HTML5 documents.
"Eternity's a terrible thought. I mean, where's it all going to end?"
-- Tom Stoppard, Rosencrantz and Guildenstern are Dead
More information about the whatwg