I have been looking at the example files on the DAVE-ML website (http://daveml.nasa.gov/examples.html), however, have had a problem validating these files against the DAVEfunc DTD.  This problem seems to have arisen as a result of the change in the way Math-ML is defined in the DTD.
 
Currently, the calculation element is defined as (DAVEfunc version 1.7b1):
 
<!ELEMENT calculation (mathml2:math)>
<!ATTLIST calculation xmlns:mathml2 CDATA #FIXED 'http://www.w3.org/TR/MathML2'>
 
 
Previously, it was defined as (DAVEfunc version 1.5b3 and earlier):
 
<!ENTITY % mathml PUBLIC "-//W3C//DTD MathML 2.0//EN" "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">
%mathml;
<!ELEMENT calculation (math)>
 
 
I am able to validate the example file, F16_aero.xml against DAVEfunc v1.5b3, however, when I use DAVEfunc v1.7b1 the element 'mathml2:math' is expected instead of 'math'.  When I change the 'math' tags to 'mathml2:math' and again try to validate the file against DAVEfunc v1.7b1, a DTD error is presented saying that the element 'mathml2:math' is undefined.  I am unsure how to link this element to mathml2.dtd.
 
If anyone is able to explain how to use Math-ML with the latest version of the DTD, I would be most grateful.
 

Kind Regards,
Hilary Keating


IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email.

 

Reply via email to