W3C home > Mailing lists > Public > www-math@w3.org > July 2003

Re: Entity-references and Doctype declarations

From: David Carlisle <davidc@nag.co.uk>
Date: Fri, 11 Jul 2003 00:21:19 +0100
Message-Id: <200307102321.AAA14013@e3000>
To: mortena@mip.sdu.dk
CC: www-math@w3.org

> Can doctype declarations be avoided when it is crucial to use entity 
> references?

No. An undefined entity reference with no DOCTYPE is a fatal error
mandated by the XML specification so your file is rejected by the parser
before XSLt (or any other application) ever starts.
Probably it would work if you didn't use xml and just used html and
mathplayer as (I think) in that case mathplayer gets the string
directly but then it wouldn't work on mozilla or netscape and would be
relying on non standard behaviour.

Of course you don't need to load the entire DTD, if you are building teh
files from some other source you can just load a special DTD taht just
has the entity definitions that you need. Or you can use &#12324;
syntax instead of the named entities then you don't need a DTD/

> Can it be avoided that the overflow parameter is added? (Should it be 
> avoided, or is that a BAD thing to do?)
you could modify your local copy of the dtd not to default that, if you
need to.

Received on Thursday, 10 July 2003 19:21:26 UTC

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