shouldn't parameter 2 be a true or false ???? > -----Urspr�ngliche Nachricht----- > Von: Piccand R�gis [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 6. M�rz 2002 08:53 > An: '[EMAIL PROTECTED]' > Betreff: setProperty for external-schemaLocation opens http connection > ... > > > 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/sche > ma/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.jav > a: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(HttpURLCon > nection.java:4 > 08) at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(Htt > pURLConnection > .java:501) at java.net.URL.openStream(URL.java:798) at > org.apache.xerces.impl.XMLEntityManager.startEntity(XMLEntityM > anager.java:74 > 0) at > org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(XM > LEntityManager > .java:685) at > org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(X > MLDocumentScan > nerImpl.java:252) at > org.apache.xerces.parsers.StandardParserConfiguration.parse(St > andardParserCo > nfiguration.java:503) at > org.apache.xerces.parsers.StandardParserConfiguration.parse(St > andardParserCo > 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] >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
