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

Re: Validating MathML

From: David Carlisle <davidc@nag.co.uk>
Date: Wed, 31 Oct 2001 17:52:31 GMT
Message-Id: <200110311752.RAA11871@penguin.nag.co.uk>
To: leo@iems.nwu.edu
CC: www-math@w3.org

>  I get a few warnings, 
rxp is very chatty, if it says "warning" rather than "error" then it really
is just a comment for information rather than an error. Multiple
redefinition of parameter entities is completely normal (and that is
how they are used to parameterise the dtd, and so why they have that
name) I wish rxp would sometimes be a bit quieter, but still I seem to
be using it as the parser of choice for validating these days.

> First, What is the {<!ATTLIST}, {<!ELEMENT} notation in the MathML DTD?
ah. They are a mistake. Sorry they are not in the dtd, the {} just
appear in the pdf version as a mistake in the way the tex was generated.
Somehow you managed to be the first person to report that. Thanks!!!

> I know this syntax is wrong, but is there another way of accomplishing
> this same effect? 
No, SGML (and XML) entities don't take parameters, so often you have to
duplicate things were you wouldn't in a more powerful language.

In an SGML dtd there was a short form you could do if you had lots of
elements with the same content model, you could put a list of elements
not just a single one after the <!ELEMENT, but that feature was dropped
in XML so in XML you have to explicitly repeat the declaration.


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, 31 October 2001 12:52:47 UTC

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