Re: Entity-references and Doctype declarations

> 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 〤
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.

David

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