capbatut.cc Posted October 19, 2020 Share Posted October 19, 2020 I get data from an xml file with encoding ISO-8859-16 (<?xml version="1.0" encoding="ISO-8859-16"?>) and arrive next error:net.sf.jasperreports.engine.JRException: Failed to parse the xml document. at net.sf.jasperreports.engine.util.JRXmlUtils.parse(JRXmlUtils.java:83) at net.sf.jasperreports.engine.util.JRXmlUtils.parse(JRXmlUtils.java:172) at com.jaspersoft.studio.data.querydesigner.xpath.XPathQueryDesigner$XMLLoaderJob.run(XPathQueryDesigner.java:430) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 45; Invalid encoding name "ISO-8859-16". at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at net.sf.jasperreports.engine.util.JRXmlUtils.parse(JRXmlUtils.java:79) ... 3 moreISO-8859-15 works fine. Is it possible to add -16 somehow? if so, how? jaspersoft studio 6.14.0thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now