Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.6.2
-
None
-
None
Description
In XIncludeHandler, find the line:
String parserName = XINCLUDE_DEFAULT_CONFIGURATION;
If you specified a different parser configuration using the property org.apache.xerces.xni.parser.XMLParserConfiguration, it is not taken into account for included files.
I suggest the following patch:
String parserName = System.getProperty("org.apache.xerces.xni.parser.XMLParserConfiguration");
if (parserName == null)
parserName = XINCLUDE_DEFAULT_CONFIGURATION;