[jdom-interest] Access to underlying parser

Jason Hunter jhunter at collab.net
Wed Aug 29 10:15:05 PDT 2001

Since the SAXBuilder is better for building from files, features in
DOMBuilder which would be used only for building from files are not
included.  Setting entity resolvers would fit into that category.  You
can set them with SAXBuilder.


Andreas Saremba wrote:
> I am trying to use Norman Walsh's new catalog resolver class with JDOM.
> Therefore, I have to set the entity resolver of the parser used via the DOM
> adapter class. I cannot find a way to do this. In fact, in the getDocument
> implementation in XercesDomAdapter, the parser is instantiated and the document
> is parsed without any possibility to do anything inbetween.
> I imagine I can build a subclass of Xerces and use that one with an appropriate
> adapter, but there should be a simpler way. Or am I overlooking anything?
> Andreas
> --
> Andreas Saremba
> Amselweg 19, D-14656 Brieselang
> http://www.saremba.de
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com

More information about the jdom-interest mailing list