[jdom-interest] builder.setIgnoreDTD()

Brett D. McLaughlin, Sr. brett at newinstance.com
Wed Feb 6 08:44:29 PST 2002

> Brett D. McLaughlin, Sr. wrote:
> > Yup. It doesn't just ignore the DTD; it ignores all entities.
> That may easily be resolved by using SAXHandler as NoOpEntityResolver
> already implements this interface) as SAXHandler has the knwoledge of
> whether
> the parser is in the middle of DTD processing or not.

The entities are defined in the DTD, so if you ignore the DTD, you
therefore ignore what's in it, which means ignoring the entities ;-)

Brett McLaughlin, Sr.
Lutris Technologies  [http://www.lutris.com]
O'Reilly Author      [http://www.newInstance.com] 

More information about the jdom-interest mailing list