Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-1957

Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Trunk
    • Release Branch 4.0, Trunk
    • framework
    • None
    • SVN trunk rev.694324

    Description

      While using webtools XML data import feature to import a file containing this:

      <?xml version="1.0" encoding="UTF-8"?>
      <entity-engine-xml>
      <ElectronicText dataResourceId="ERRORE">
      <textData>perchè dà errore?</textData>
      </ElectronicText>
      <entity-engine-xml>

      the following error if given:
      ERROR: Error parsing entity xml file: java.io.CharConversionException: Invalid UTF-8 Encoding

      The same happens if the import textbox is used

      I have found this subject recurring many time in the mailing lists archive but never with a conclusion (AFAIK).
      May be a related issue that could help to fix this is: OFBIZ-1083 where a similar problem was fixed for emails.

      Attachments

        1. ImportXmlString.patch
          0.7 kB
          Marco Risaliti

        Activity

          People

            jleroux Jacques Le Roux
            bruno.busco Bruno Busco
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: