Re: several messages about New Vocabularies in text/html

> It depends if you want them to end up in the correct namespace in the DOM or 
> not.

Ah, thank you, that's a reason.

But there must be ways of fixing that without requiring special
knowledge of all the content mathml elements. (and people may well try
the OpenMath examples from the mathml spec as well)

Possiblities range from, as you say, 

1) parsing it as CDATA and make the receiving application parse it as XML
   (personally I'm not in favour of that, but it's in the list)
  

to

2) parsing it to a general xml DOM in some fixed namespace to be decided (the
   null namespace, html's namespace, mathml's namespace, a new namespace
   just for unknown xml-ish elemenst forund in html, ...)
   If the mathml namespace was used it would just work for content
   mathml (and be "wrong") for other formats but if that was what was
   specified would always happen, it would be workable.

to

3) actually believing the xmlns attributes found on unknown elements and
   putting them in that namespace

not doubt there are more possibilities that could be added to this list
as well, but surely, unless the rendering of Content MathML is going to
be specified, The HTML5 parser ought to have some way of parsing past
Content MathML as "unknown" elements, rather than building in specific
knowledge about specific elements.

David

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Received on Wednesday, 2 April 2008 11:17:11 UTC