xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject [Crimson] how to determine DTD declarations are internal or external?
Date Fri, 12 Oct 2001 11:37:40 GMT
The startDTD() method of the SAX LexicalHandler


says on the topic of DTD declarations:-

    Declarations are assumed to belong to the internal DTD subset unless
they appear between startEntity and endEntity events.

Now I've tried using this technique to implement internal and external DTD
subsets for dom4j, there's details here:-


This all appears to work hunky dory for Xerces but for Crimson all DTD
declarations appear to be internal, whether coming from internal or external
source. i.e. I never get a startEntity/endEntity events to define the
external declarations.

I take it this is a bug in Crimson? Or is there another way to know when you
are getting internal or external DTD declarations - that works consistently
for Crimson and Xerces and can handle mixed subsets (internal and external)?


Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          general-unsubscribe@xml.apache.org
For additional commands, e-mail: general-help@xml.apache.org

View raw message