Uploaded image for project: 'Tuscany'
  1. Tuscany
  2. TUSCANY-1104

XMLDocument loses XML encoding

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yang_zhong Yang ZHONG
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: