WD-xhtml-building-19990910

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.

David

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