Affects Version/s: Nightly Builds
Fix Version/s: None
Operating System: All
1. It constructs an InputSource with a Reader instead of with an InputStream,
thus effectively forcing the XML parser to interpret the XML file as it is
written in default platform encoding instead of honoring eventual <?xml
2. It does not set the system id of the input source to "file://" +
file.getAbsolutePath(), therefore making it impossible to resolve external
entities referenced by relative URLs in the XML file.
A patch is attached that fixes both problems.
|Field||Original Value||New Value|
|Affects Version/s||Nightly Builds [ 12311810 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|