W3C home > Mailing lists > Public > www-svg@w3.org > August 2008

Re: Feedback on SVGWG's SVG-in-text/html proposal

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 28 Aug 2008 13:15:03 +0300
Cc: HTML WG <public-html@w3.org>, www-svg <www-svg@w3.org>
Message-Id: <88D64BB2-8DE2-487D-9FCB-B9BF98F2CD25@iki.fi>
To: Ian Hickson <ian@hixie.ch>

On Aug 28, 2008, at 05:07, Ian Hickson wrote:

> * Changes to the parser should be relatively small and localised. For
>   example, it should double the number of states in the tokeniser,  
> or add
>   half a dozen tree construction insertion modes.

I think there's a "not" missing between "should" and "double".

> (This isn't a "tools will save us" argument because the
>   entire point here is that we're trying to use tools. If we didn't  
> have
>   to use tools at all, then we wouldn't need it to be XML.)

A standalone conversion tool for the commented-out SVG-in-text/html  
proposal now exists. The HTML2XML sample program that comes with the  
Validator.nu HTML Parser converts text/html to application/xhtml+xml  
in a way that makes the result friendly for copying and pasting into  
an SVG editor. In fact, the result is more friendly arbitrary  
application/xhtml+xml content would be. That is, the converter doesn't  
hoist the SVG and XLink namespace declarations away to root element.
http://about.validator.nu/htmlparser/

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Thursday, 28 August 2008 10:15:46 GMT

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