Title: Re: Use of Math-ML with DAVEfunc Version
1.7b1
At 2:04 PM +1000 10/27/04, Keating, Hilary (Contractor)
wrote:
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):
L2'>
Previously, it was
defined as (DAVEfunc version 1.5b3 and earlier):
http://www.w3.org/TR/MathML2/dtd/mathml2.dtd">
%mathml;
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
Ms. Keating,
I took out the explicit namespace entity for MathML in version
1.6b1. That directive inserts the whole mathml2.dtd
document into the DAVE-ML
DTD at that point in the code, which seemed wasteful; I tried to
accomplish the same goal by adding what I thought was the appropriate
default attribute to the element.
I'm sending you separately a test DTD to see if that fixes
things.
What editor or tool are you using to validate?
Thanks,
-- Bruce Jackson
--
Bruce Jackson <[EMAIL PROTECTED]>
Guidance and Controls Branch
18C West Taylor Street MS 132
Research & Technology Directorate
NASA Langley Research
Center Hampton, Virginia
23681
More info about
DAVE-ML:
Simulation standards discussion listserv
mailto:[EMAIL PROTECTED]