> How can we connect to a specified URL during xml validation process with an external DTD reference? > During xml validation with Xerces (xercesSamples.jar sax,SAXCount) I got en exception : java.net.SocketException: network subsystem has failed: connect > How is it handled? > > I've found the following url about setting the proxy properties for the parser. But I could not find how to set the mentioned properties: http.proxyHost and http.proxyPort.
One of the way to set system properties is start your application like... java -Dhttp.proxyPort=".." -Dhttp.proxyPort=".." You can also set in Properties file. Have a look at URL below, for how to set system attributes. http://java.sun.com/docs/books/tutorial/essential/attributes/ -- Neeraj --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
