W3C home > Mailing lists > Public > www-math@w3.org > November 2006

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Sun, 05 Nov 2006 10:23:14 +1100
Message-ID: <454D20E2.5050709@lachy.id.au>
To: Elliotte Harold <elharo@metalab.unc.edu>
CC: www-math@w3.org, WHAT WG List <whatwg@whatwg.org>

Elliotte Harold wrote:
> If all we're doing is HTML, fine. However people are now in this thread 
> talking about putting MathML into this.

There has been plenty of discussion about introducing MathML-like markup 
into HTML 5.  Although, personally, I'm not convinced that it's a good 
idea.  This works in Mozilla and, given the right plugins, should work 
in others too.

<object type="application/mathml+xml" data="math.xml"></object>

> In other forums people are discussing adding XForms.

I think the discussions about XForms are about trying to retrofit the 
XForms model into the HTML forms syntax.  I'm not convinced that's a 
good idea either, but that's what they've been discussing over on www-forms.

> However what I'm hearing is that people do want to mix in different 
> vocabularies such as MathML and XForms without using namespaces,

No, not without namespaces, just without the xmlns and QNames syntax.

e.g. when <math> is encountered in text/html, it appears in the DOM as 
<math xmlns="http://www.w3.org/1998/Math/MathML">

We definitely don't want people thinking they can use any arbitrary 
xmlns in HTML.  That's what XHTML is for.

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Saturday, 4 November 2006 23:23:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:59 GMT