Thread safe wrapper for the DOM?

2012-11-01 Thread Dave Crooke
Hi folks I know this is an old chestnut, but I have a new question about it . As we all know, the Xerces DOM implementations are not thread safe, and this is intentional to maximise performance. However, there is a very useful pattern we use in a number of places in our products where we par

DOM and String.intern(), making a re-usable cache of DOM object trees

2011-09-07 Thread Dave Crooke
Hi folks We are using Xerces 2.8.1 from Oct 2006 no reason not to upgrade, more along the lines of "if it ain't broke " We have a Java app that collects data and assembles it into XML documents, and has a variety of modules that consume the data in that format using tree traversals and X