[#4390] - xml parsing error when creating subreport

Category:
Bug report
Priority:
Normal
Status:
Feedback Requested
Project: Severity:
Major
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Problem:
After clicking finish in the subreport creation wizard, the following message appears while loading the Designer:

Error loading the report template:
org.xml.sax.SAXParseException: Invalid encoding name "UTF8".

Cause:
<?xml version="1.0" encoding="UTF8"?>
in the generated jrxml file, and the UTF8 string is not recognized by the sax parser as valid encoding.

Resolution:
Change to:
<?xml version="1.0" encoding="UTF-8"?>

pentike's picture
Joined: Jun 12 2009 - 1:44pm
Last seen: 4 years 4 months ago

1 Comment:

#1

How did you generated the jrxml to be used as sub report?
Which version of iReport? JVM version?

Thanks

Giulio

Feedback
randomness