Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28670
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2014-06-05 14:58 -0700 |
| References | <55d4756d-d28d-4e11-9196-b751f3f92fda@googlegroups.com> <5390e348$0$295$14726298@news.sunsite.dk> |
| Message-ID | <d6b16c31-aba0-46eb-a89c-ac9bc0c36142@googlegroups.com> (permalink) |
| Subject | Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? |
| From | Robert Smith <rjmpsmith@gmail.com> |
Ach!!!! Yes, it is using a dtd via https. Okay that explains it. Sanity restored.
As it turns out:
factory.setValidating(false);
does not prevent using the DTD, but:
factory.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
does.
Many thanks!!!!!!
>
>
> Does the XML file refer to a DTD that is to be fetched via HTTPS?
>
>
>
> Arne
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? rjmpsmith@gmail.com - 2014-06-05 13:37 -0700
Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? Robert Smith <rjmpsmith@gmail.com> - 2014-06-05 14:34 -0700
Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? Arne Vajhøj <arne@vajhoej.dk> - 2014-06-05 17:38 -0400
Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? Robert Smith <rjmpsmith@gmail.com> - 2014-06-05 14:58 -0700
Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? Eric Sosman <esosman@comcast-dot-net.invalid> - 2014-06-05 17:42 -0400
csiph-web