As part of an application I'm writing, I need to parse a number of documents that reference the XHTML-MP DTD at http://www.wapforum.org/DTD/xhtml-mobile10.dtd. This DTD, in turn, references a whole bunch of modules in <!ENTITY> declarations.

I'd like to avoid dom4j having to re-fetch those DTD files on every parse. Push come to shove, I can always manaully fetch those DTDs, hack them up to use local references, and use that, but that's not a great long-term solution.

Is there a way I can cache those results somewhere using dom4j, so I can supply pre-fetched (or even pre-parsed) DTDs? I'm using SAXReader to convert an HttpClient InputStream into a dom4j Document.

Thanks!

Mark Murphy
[EMAIL PROTECTED]



-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to