Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

websphere ibm xml parser not multithreaded?

 
Elhanan Maayan
Ranch Hand
Posts: 136
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic