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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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: 105
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: websphere ibm xml parser not multithreaded?
 
Similar Threads
XML4J parser classpath question
WebSphere XML parsing problem ??
XML4J vs Xerces
xerces.jar package difference bw WAS 4 and WAS 5
Integrate Cocoon with WebSphere?