W3C home > Mailing lists > Public > www-svg@w3.org > March 2009

Re: Making it possible to use an <svg> root in text/html

From: Robin Berjon <robin@berjon.com>
Date: Thu, 5 Mar 2009 10:51:41 +0100
Cc: www-archive@w3.org, www-svg <www-svg@w3.org>
Message-Id: <74BDA716-B9B5-4913-9E6D-4AC6AF7F8BB9@berjon.com>
To: Henri Sivonen <hsivonen@iki.fi>
On Mar 5, 2009, at 09:25 , Henri Sivonen wrote:
> I don't have an informed opinion yet on whether enabling <svg> as  
> root in text/html is a good idea.

Scratching my head a little, I see no good reason not to allow it. In  
fact, I think it would be a very good idea if we can work around some  
of the few kinks.

> Forming an informed opinion would require research about existing  
> content and further discussion on what slippery slopes there'd be

It would make some amount of broken content that is accepted by some  
implementations conformant. Based on my prior investigations into this  
(admittedly outdated by now) this wouldn't break anything.

> (such as the slippery slope of making <?xml encoding="..."?> set the  
> encoding in text/html which could easily break existing content and  
> which would be implementation-wise an annoying addition to the  
> already too crazy encoding information situation with text/html).

If the XML declaration doesn't set the encoding for (X)HTML served as  
text/html, it certainly shouldn't for SVG. The same processing rules  
should apply, based on the media type. That, of course, would be  
entirely different in XSVG.

-- 
Robin Berjon - http://berjon.com/
     Feel like hiring me? Go to http://robineko.com/
Received on Thursday, 5 March 2009 09:52:19 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:41 GMT