This code is only used by Hibernate Envers and our testsuite.
Let's remove it, especially as there are security concerns by exposing access to dom4j's SAXReader: for Envers this can be encapsulated in a non-public helper.