Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #33915

Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file???

Newsgroups comp.lang.java.programmer
Date 2016-03-03 06:37 -0800
References <55d4756d-d28d-4e11-9196-b751f3f92fda@googlegroups.com> <5390e348$0$295$14726298@news.sunsite.dk> <d6b16c31-aba0-46eb-a89c-ac9bc0c36142@googlegroups.com>
Message-ID <1bb4fc78-76b2-421f-9b57-225543d43fed@googlegroups.com> (permalink)
Subject Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file???
From eli.milanova@gmail.com

Show all headers | View raw


On Friday, 6 June 2014 00:58:44 UTC+3, Robert Smith  wrote:
> 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

You are perfect!!! 3 days struggling and finally saw your answer... Saved my life!!! THANK YOU!

Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? eli.milanova@gmail.com - 2016-03-03 06:37 -0800
  Re: JAXP throws "javax.net.ssl.SSLHandshakeException" accessing local file??? Arne Vajhøj <arne@vajhoej.dk> - 2016-03-05 23:55 -0500

csiph-web