W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2006

[whatwg] several messages about XML syntax and HTML5

From: James Graham <jg307@cam.ac.uk>
Date: Mon, 04 Dec 2006 15:12:04 +0000
Message-ID: <45743AC4.6010304@cam.ac.uk>
Sam Ruby wrote:
> James Graham wrote:

>>  [Internal data model in server]
>>                 |
>>                 |
>>        HTML 5 Serializer
>>                 |
>>                 |
>>             {Network}
>>                 |
>>                 |
>>           HTML 5 Parser
>>                 |
>>                 |
>>  [Whatever client tools you like]

> This only works if the internal-data-model to HTML5 conversion is 
> lossless.  If it is not, people will find ways with structured comments 
> or by creating intentionally invalid HTML5 and relying on the error 
> recovery that is either prescribed or observed to be commonly practiced.

Sure. I personally support a way of providing extensibility so HTML documents 
can contain e.g. MathML content without dumping all the MathML elements in the 
HTML spec. However, as several people have noted, implementation experience at 
Opera suggests using the xmlns attribute for this purpose is not viable for 
backward compatibility reasons. To me that suggests using a HTML-only attribute 
like subtreeNS might be the way forward; clients that wanted to convert to XML 
could replace subtreeNS with xmlns.

"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead
Received on Monday, 4 December 2006 07:12:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:50 UTC