W3C home > Mailing lists > Public > public-html@w3.org > April 2008

Re: several messages about New Vocabularies in text/html

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 2 Apr 2008 12:09:36 +0100
Message-Id: <200804021109.m32B9aMs019727@edinburgh.nag.co.uk>
To: jg307@cam.ac.uk
Cc: public-html@w3.org, www-math@w3.org



> 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:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:14 GMT