This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
1. How large is the XML document? Building a DOM takes many times the size of the original input document since so many objects are involved and the Strings are all Unicode. 2. What are these 4 Threads doing? The parser instance may not be sharable by multiple Threads. For example, see the javax.xml.parsers.DocumentBuilder JavaDocs. Bill