W3C home > Mailing lists > Public > public-html-xml@w3.org > December 2010

Re: HTML5 output method

From: Norman Walsh <ndw@nwalsh.com>
Date: Wed, 22 Dec 2010 11:50:51 -0500
To: public-html-xml@w3.org
Message-ID: <m2tyi592fo.fsf@nwalsh.com>
Jirka Kosek <jirka@kosek.cz> writes:
> I think that both HTML elements in no namespace and in
> http://www.w3.org/1999/xhtml namespace should be treated by this output
> method as HTML elements. This way it would be easy to turn both existing
> HTML and XHTML producing stylesheets into HTML5 producing stylesheets.

Yes. I'm likely to have systems that depend on HTML elements being in
the XHTML namespace. It would be most convenient if an HTML5
serialization method would automatically move those elements into no
namespace. I'd like it to strip off any namespace prefixes too, if it
encountered elements that used them. And as long as SVG and MathML are
special-cased into HTML5, the serializer should clean those up as
well.

This leaves open the possibility that I'll have embedded QNames in
content that will no longer be correct, but I think that's a tradeoff
I'd be happy with.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh
Lead Engineer
MarkLogic Corporation
www.marklogic.com

Received on Wednesday, 22 December 2010 16:52:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 December 2010 16:52:36 GMT