public class SafeSAX
extends java.lang.Object
SAXReader
with a safe dtd resolver. Silences missing dtd definition errors
during document loading.public static org.dom4j.Document read(java.io.File loadFile, boolean reportError)
loadFile
- the file to be loaded fromreportError
- if false, errors will be swallowed