Fix for bug #1056 "Error while processing" while running on xml file with DOCTYPE reference

Change the initial value of XINCLUDE_AWARE_DESCRIPTOR to false
This does validate an invalid doctype reference as in some ide generated xml files exist.
Any xml rule, which needs this property should overwrite this value with true.
This commit is contained in:
Torsten Kleiber
2013-01-31 21:52:13 +01:00
committed by Andreas Dangel
parent c080fdda08
commit ef7478c350

View File

@ -36,7 +36,7 @@ public class XmlParserOptions extends ParserOptions {
public static final BooleanProperty XINCLUDE_AWARE_DESCRIPTOR = new BooleanProperty("xincludeAware",
"Specifies that the XML parser will process XInclude markup.", Boolean.FALSE, 9.0f);
public static final BooleanProperty LOOKUP_DESCRIPTOR_DTD = new BooleanProperty("xincludeAware",
"Specifies whether XML parser will attempt to lookup the DTD.", Boolean.TRUE, 10.0f);
"Specifies whether XML parser will attempt to lookup the DTD.", Boolean.FALSE, 10.0f);
public static final EntityResolver SILENT_ENTITY_RESOLVER = new EntityResolver() {
public InputSource resolveEntity(String publicId, String systemId)