Title: Is Xerces-J reentrant?
Thanks Ron, but there is no shared instance data - each thread has its own parser instance. I do, however, reuse the parser for a second serial parse in the same thread before it goes out of scope. Not using JAXP either (I'm embarrassed to say).
 
-----Original Message-----
From: Reynolds, Ron [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 10:37 AM
To: '[EMAIL PROTECTED]'
Subject: RE: Is Xerces-J reentrant?

AFAIK parser instances are never reentrant.  they can be used mutliple times but only by 1 thread at a time.  there was a NPEx that we used to get out of the JAXP parser factories when using a single factory instance with multiple threads with older versions of Xerces-J (1.3.x) that went away with the current versions 1.4.x (of Xerces 1 - i can't speak for Xerces 2).
-----Original Message-----
From: Robertson, Don [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 01, 2001 10:19 AM
To: 'Xerces'
Subject: Is Xerces-J reentrant?

I appear to have occasional problems (NullPointerException) doing concurrent SAX parses. Anyone know if Xerces is designed for concurrent use?

Thanks

Reply via email to