W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 1999


From: David Carlisle <davidc@nag.co.uk>
Date: Thu, 2 Dec 1999 18:21:23 GMT
Message-Id: <199912021821.SAA22602@nag.co.uk>
To: www-html-editor@w3.org

This draft of september still comments in the example on MathML
that MathML clashes with XHTML on the names of the var and selector
elements, but this was changed in 1.01 back in June (for this reason)

So the example would make a valid XML DTD.

However the recommendation to do this:
<!ENTITY % XHTML1.ns "http://www.w3.org/DTDs/XHTML1_plus_MathML.dtd" >
means that if the dtd is read (which admittedly is a big if in the case
of a browser) then a namespace aware browser such as mozilla will fail
to recognise (or render) any of the elements as either xhtml or mathml.

A namespace aware browser would require the top level html element to
stay in the xhtml namespace and the math element to carry an explicit
xmnls attribute switching to the math namespace.

This is not just an academic quibble. In mozilla
a math element from the mathml namespace will have its content rendered
as mathml, but a math element from any other namespace will just be
rendered as an unknown element.

Received on Thursday, 2 December 1999 13:25:20 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:21 UTC