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.
Thanks again.
Frank
-----Original Message-----
From: David Bertoni [mailto:[EMAIL PROTECTED]
Sent: Monday, January 16, 2006 10:20 AM
To: [email protected]
Subject: Re: NetAccessorException
Xiaofan Zhou wrote:
> Hi,
>
> I have an application that uses XERCES-c (version 1.7, a bit old) to
> parse some XML schemas.
1.7 is more than a "bit" old, that's for sure.
> Now my problem is this: My application can only parse a few schemas
> correctly and then will raise a NetAccessorException when parsing the
> next schema, but if I shut down my application and re-start it again,
> then the schema parsing is just fine for the same very schema that got
> the NetAccessorException.
Is there an error message from the exception? It sounds like a resource
leak, so perhaps a socket is not being closed when the net accessor is
destroyed. Have you tried upgrading your application to a newer version
of Xerces-C?
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]