HTML 5 integration of SVG and MathML addresses ISSUE-33/mixedUIXMLNamespace-33?

John, Noah, TimBL, Henry,

Have you looked at the integration of MathML and SVG into HTML 5?

John, I'm interested in your take, as both an HTML WG
member and a TAG member. I also note that Nokia
provided an editor, Lasse Pajunen, for ;
don't feel obliged to represent a Nokia position in the TAG,
but if he's not too far down the hall, I suppose you might
naturally cross paths.

Noah, I'm interested in your take, as you provided the TAG
a sort of survey of the space around CDF and your experience
with Lotus notes etc. seems relevant.

Henry, I'd like this to cross your radar since you're
chairing the 19 Nov TAG teleconference. On 8 Sep,
Maciej said the issue is all but resolved; HTML WG has no
plans to discuss this issue further as a group.
I don't think it's a "now or never" situation, but
if the 19 Nov agenda isn't full, maybe this fits.

TimBL, you have talked about more general mechanisms in this

This design seems OK to me. There isn't a general-purpose mechanism
for mixing other UI-related namespaces in the spec, but any mechanism
of that sort that should come along should be consistent with
the HTML 5 design, IMO. (I gather XBL and/or XBL2 propose designs
in this space; they seem to be in the someday pile.)
That is: I don't think the HTML 5 design completely addresses
our mixed UI namespace issue, but I'm OK with constraining
any solution to this issue to be compatible with the HTML 5 design.

The HTML 5 design puts MathML elements in the MathML namespace
(and likewise SVG) with no syntactic cost to authors:


Here is an example of the use of MathML in an HTML document:

<!DOCTYPE html>
  <title>The quadratic formula</title>
  <h1>The quadratic formula</h1>
      <mo form="prefix">−</mo> <mi>b</mi>
       <msup> <mi>b</mi> <mn>2</mn> </msup>
       <mn>4</mn> <mo>⁢</mo> <mi>a</mi> <mo>⁢</mo> <mi>c</mi>
      <mn>2</mn> <mo>⁢</mo> <mi>a</mi>

[[ The "in body" insertion mode
Status: Last call for comments

When the insertion mode is "in body", tokens must be handled as follows:

A start tag whose tag name is "math"
        Reconstruct the active formatting elements, if any.
        Adjust MathML attributes for the token. (This fixes the case of
        MathML attributes that are not all lowercase.)
        Adjust foreign attributes for the token. (This fixes the use of
        namespaced attributes, in particular XLink.)
        Insert a foreign element for the token, in the MathML namespace.

For reference:
ISSUE-33 mixedUIXMLNamespace-33 
Composability for user interface-oriented XML namespaces

p.s. I stuck this in tracker as ACTION-332.

Dan Connolly, W3C
gpg D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E

Received on Wednesday, 11 November 2009 04:56:06 UTC