This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes XMLBeans parsing and (possible)threading problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XMLBeans parsing and (possible)threading problem" Watch "XMLBeans parsing and (possible)threading problem" New topic

XMLBeans parsing and (possible)threading problem

jan dressen
Ranch Hand

Joined: Oct 25, 2007
Posts: 47

I'm trying to parse and validte an existing XML-file by parsing it and then validating it through XmlOptions. this works perfectly until I try to do the same thing from a different thread. Then I suddenly get a "cvc-elt.1" error. This error states that the xml is missing some kind of declaration in the schema file. but this is not the case because the same code works perfectly in a single-threaded environment. Can somebody explain what causes this error and how to solve it?

thank you
I agree. Here's the link:
subject: XMLBeans parsing and (possible)threading problem
Similar Threads
Problem using Custom tag in JSP
Error using Xalan
Develop an iPhone application with Base SDK 3.0
trouble parsing "&" from xml file
Ajax response and accented characters (richfaces)