Re: mathml verification

> i verified my test document
> at with the following heading
>         "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"
>         "">
> <html xmlns="">
> it gave a 'no errors' response but when i ran the document in amaya
> it gave lots of errors about tags not recognized.  My previous doctype
> on the file was html4.01 which in amaya only gave errors on missing 
>   character entities.....  but of course would not verify at w3
> both doctypes gave similar results so i am puzzled at Amaya parse
> errors on this doctype which was cut/pasted from
> just trying to get things right here so am validating all my docs except the
> one that needs embed tag to run TechExplorer....
> John Russell, VE3LL@RAC.CA
Hello John,

With the previous doctype (html 4.01), your document was considered as a HTML 
document and parsed with the HTML parser of Amaya. This parser doesn't 
interpret the XML namespaces but calls the XML parser for specific parts of 
the document (mathml or svg expressions for example).
With the new doctype, your document is considered as a XHTML document and it 
is entirely parsed with a XML parser that interprets the XML namespaces. As a 
result, if no nemaspace is specified for an element, it belongs to the same 
namespace as it's parent. In tour test document, every <math> element should 
be preceded by the appropriate namespace, not only the first one 
(unfortunately, errors on missing character entities are still remaining !)


W3C - INRIA Rhône-Alpes

Received on Tuesday, 10 July 2001 04:29:37 UTC