Added a workaround for Xerces synchronization issues in heavily multi-threaded environments