File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes websphere ibm xml parser not multithreaded? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "websphere ibm xml parser not multithreaded?" Watch "websphere ibm xml parser not multithreaded?" New topic

websphere ibm xml parser not multithreaded?

Elhanan Maayan
Ranch Hand

Joined: May 04, 2009
Posts: 136

we have been getting the following error when trying to use xom which uses xerces parser:
org.xml.sax.SAXException: FWK005 parse may not be called while parsing.
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

the builder type is defined statically so it's parse method will be used by more then one thread, however i don't see this as problem, as this is a mere factory method .

i found out that websphere uses xml4j version 4.4.13 , i tried to reproduce the error on my jboss which uses xerces 2.7.1 but i couldn't .

is there a problem with xml4j being used as multi-threaded?
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: websphere ibm xml parser not multithreaded?
It's not a secret anymore!