W3C home > Mailing lists > Public > public-html@w3.org > March 2008

Re: SVG and MathML in text/html

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 17 Mar 2008 10:52:44 +0200
Cc: HTMLWG Tracking WG <public-html@w3.org>
Message-Id: <79FF4900-C0F1-45DF-8F2F-988409D70852@iki.fi>
To: Karl Dubost <karl@w3.org>

On Mar 17, 2008, at 05:27, Karl Dubost wrote:

> Le 16 mars 2008 à 00:43, Henri Sivonen a écrit :
>> I much prefer the alternative of doing just-in-time XML conversion  
>> if the need to actually have XML actualizes.
>
> Do you think it would be possible to have a mod_xml serializer as an  
> Apache module and IIS server plug-in. It would have an html 5 parser  
> and serialize it as XML on the fly (just in time).


That's not what I meant. I meant things like:
  1) Context menu Save Image As... for inline SVG subtrees. (Using an  
XML-compatible serializer.)
  2) Context menu Show Selection Markup. (Serializing the selected DOM  
range using an XML-compatible serializer.)
  3) Converting the page using a future version of html5lib,  
Validator.nu HTML parser, Twintsam or similar.

As for putting #3 in an Apache module on the server, it would be  
doable in theory (some may even do it as a backwards-compat measure  
for XHTML+SVG browsers), but
  * Server-owners don't want to bear the cost of running more code per  
HTTP response on the server.
  * Getting people to install non-default Apache modules is hard.
  * It won't become a default module, because for the HTML part,  
silent conversion to XHTML would expose CSS and DOM behavior  
differences in a non-obvious way.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Monday, 17 March 2008 08:53:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:13 GMT