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

[whatwg] The problems with namespaces in text/html (Was: MathML-in-HTML5)

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 09 Oct 2006 15:33:55 +0200
Message-ID: <op.tg5patquaw9dld@id-c0020>
On Mon, 09 Oct 2006 14:24:57 +0200, Robert <mail at robbiegee.com> wrote:
> How about defining a standard namespace _prefix_ for such additions to  
> HTML? As far as I've seen, all browsers interpret the namespace prefix  
> as part of the tag/attribute, such that for MATHML in HTML, you'd use  
> <math:add>. It'd require the author use the prefix for all relevant  
> tags, but it should work without changing anything fundamental in UAs  
> that might break other sites. As far as I'm aware, since namespaces  
> don't exist in HTML there's nothing particularily "evil" about this.

This seems much more annoying to author than the proposed alternative.

It's not like we'll have millions of elements to be used in HTML one day.  
(I hope not, at least!) The language should remain relatively simple. I'm  
not even sure why people suggest SVG should be included as well as that's  
a presentational language. It makes much more sense to bind SVG to  
elements using XBL.

Anne van Kesteren
Received on Monday, 9 October 2006 06:33:55 UTC

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