Xerces 2.7 has a fix in the NetAccessor, where a socket was leaked if
an exception was thrown while trying to reach a web server; if you
need to stay on Xerces 1.7 you can try to backport the changes found
at http://svn.apache.org/viewcvs.cgi?rev=231009&view=rev
Alberto
At 11:03 AM 1/16/2006 -0800, David Bertoni wrote:
Xiaofan Zhou wrote:
Dave,
Thanks much for the reply. The error message is like this:
XML parser failed: error <An exception occurred!
Type:NetAccessorException, Message:Could not connect to the socket for
URL '{0}'. Error {1}> at line <0> char <0> in <<xsd:schema ...blabla...
.
So it does look like having something to do with socket. I haven't tried
to use newer version of XERCES-c, because it requires lots of code in my
application.
Well, the error message isn't very helpful, is it?
I suggest you take a look at the source code for Xerces-C 1.7 to see
if there's a leak. A leak-detection tool might also help find the problem.
Dave
---------------------------------------------------------------------
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]