W3C home > Mailing lists > Public > www-math@w3.org > October 2001

Re: Thanks and "including" mathml

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 24 Oct 2001 18:20:42 +0100
Message-Id: <200110241720.SAA06415@penguin.nag.co.uk>
To: leo@iems.nwu.edu
CC: www-math@w3c.org
  I would expect someone writing a solver to be able to
  access a MathML/openmath object relatively easily,

there has been some work on some generic openmath phrasebooks at
Eindhoven, which might give you some ideas.

> If there aren't people working on that, that
> makes me worried.
There are people working....

> Actually, I am trying to do the easy thing: To extend my DTD to understand
> (some) mathml.

well that was my point: DTD's don't understand, they just allow.
So if you have a DTD that has a para element and you want to allow
mathematics in paragraphs you just need to change one line of the dtd,
and add two:

<!ELEMENT para (#PCDATA|a|b|c)*>
<!ELEMENT para (#PCDATA|a|b|c|math)*>

and add

<!ENTITY % mathml SYSTEM "some/path/to/a/copy/of/mathml.dtd">

Then you are done as far as the dtd is concerned and you can validate
documents containg mathml with your parser.

But of course any tools that you were using to read documents conforming
to your old dtd will fall over until you teach them about mathml, and
then it depends a lot what your tools are doing, as to how hard this is.


This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
Received on Wednesday, 24 October 2001 13:21:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:31 UTC