James Strachan wrote: > > The startDTD() method of the SAX LexicalHandler > > http://dom4j.org/javadoc/org/xml/sax/ext/LexicalHandler.html > > 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:- > > http://dom4j.org/todo.html > > 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)?
Yes, looks like a Crimson bug. Not sure I have time to fix it right now. Do you happen to have a patch? Else, I'll add it to my to do list. When do you need a fix? -Edwin --------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]