[jdom-interest] Validation and Proxy Servers

Alex Rosen arosen at silverstream.com
Sat Dec 22 13:52:41 PST 2001


Two suggestions:

- There's a Xerces-specific property you can set on the parser to tell it to
not load the DTD.

- Use the EntityResolver interface to do something clever.

Alex

> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Robertson, Jason
> Sent: Friday, December 21, 2001 10:26 AM
> To: 'jdom-interest at jdom.org'
> Subject: [jdom-interest] Validation and Proxy Servers
>
>
> This isn't a JDOM issue, per se, since it's happening deep in
> the parsing
> class, but I'm hoping someone has experience with loading an
> XML document
> that has a DOCTYPE while living behind a password-protected proxy.
>
> The problem is that the parser is trying to pull the DTD off
> the internet,
> even though validation has been disabled. After a lengthy
> timeout, my call
> to "build" fails with a socket connection error.
>
> Is setting validation to false not enough? Is there another setting
> somewhere where I can set
> download_dtd_even_when_validation_is_false to
> false?
>
> Jason
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com




More information about the jdom-interest mailing list