aspose file tools*
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 Spring in Action this week in the Spring 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
Author

websphere ibm xml parser not multithreaded?

Elhanan Maayan
Ranch Hand

Joined: May 04, 2009
Posts: 113
hi..

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)
at nu.xom.Builder.build(Builder.java:1127)
at nu.xom.Builder.build(Builder.java:1019)

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: websphere ibm xml parser not multithreaded?