Implemented Xerces multi-threading bug workaround