Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Java-SDO-Next
-
None
Description
<?xml version="1.0" encoding="ASCII"?>
has encoding info which is lost in XMLDocument.
Have asked EMF to fix:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=173681
In case no fix available in time, the problem can be solved by removing
resource.getDefaultLoadOptions().put(XMLResource.OPTION_USE_DEPRECATED_METHODS, Boolean.FALSE);
from DataObjectUtil.configureXMLResource & DataGraphResourceFactoryImpl#createResource.