Hi all,

I read through the mailing list archives but couldn't find much hints for
the following problem.

I use a DOMParser, on which I do a setProperty as follows :

myDOMParser.setProperty("http://apache.org/xml/properties/schema/external-sc
hemaLocation", "http://www.someUri.com
file:///D://somewhereOnMyDisk/mySchema.xsd") ;

When I execute this code, it tries to connect, probably to
"http://www.someUri.com"; ... How can I avoid this ? It should only keep the
URI "in mind" and associate with my .xsd file.

Below is the stack trace.

Thanks in advance if you can help ; I'm stuck ...

R�gis Piccand



Message: Operation timed out: connect Class: java.net.ConnectException Stack
trace:  java.net.ConnectException: Operation timed out: connect         at
java.net.PlainSocketImpl.socketConnect(Native Method)   at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:320)    at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:133)     at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:120)      at
java.net.Socket.<init>(Socket.java:273)         at
java.net.Socket.<init>(Socket.java:100)         at
sun.net.NetworkClient.doConnect(NetworkClient.java:50)  at
sun.net.www.http.HttpClient.openServer(HttpClient.java:331)     at
sun.net.www.http.HttpClient.openServer(HttpClient.java:517)     at
sun.net.www.http.HttpClient.<init>(HttpClient.java:267)         at
sun.net.www.http.HttpClient.<init>(HttpClient.java:277)         at
sun.net.www.http.HttpClient.New(HttpClient.java:289)    at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:4
08)     at
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection
.java:501)      at java.net.URL.openStream(URL.java:798)        at
org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityManager.java:74
0)      at
org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XMLEntityManager
.java:685)      at
org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(XMLDocumentScan
nerImpl.java:252)       at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:503)   at
org.apache.xerces.parsers.StandardParserConfiguration.parse(StandardParserCo
nfiguration.java:585)   at
org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147)   at
org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to