- From: Laurent Carcone <Laurent.Carcone@inrialpes.fr>
- Date: Tue, 10 Jul 2001 10:28:31 +0200
- To: www-amaya@w3.org
> i verified my test document > http://www.cgocable.net/~jrussel/mathmlde.htm > at validator.w3.org with the following heading > > <!DOCTYPE html PUBLIC > "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" > "http://www.w3.org/TR/MathML2/dtd/xhtml-math11-f.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > > 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 www.w3.org/Math/validator. > 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 > http://www.cgocable.net/~jrussel > 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 !) Regards ----------------------------------------- Laurent CARCONE W3C - INRIA Rhône-Alpes
Received on Tuesday, 10 July 2001 04:29:37 UTC