[#11876] - Styled text: parsing error should abort fill process

Category:
Enhancement request
Priority:
High
Status:
New
Project: Severity:
Critical
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

JRStyledTextParser.getStyledText(): line 249

When a styled text contains unescaped characters (e.g. '&', '<'...), the DOMParser will throw a SAXException, but the JRStyledText will catch this exception and continue with the text as unstyled text.
There's just a log entry in the "Error parsing styled text".

With this fallback-behaviour it can happen that we send wrong information to our customer without knowing it.
We woul like to have a setting that allows us to abort the fill process if the styled text can't be parsed.

v6.1.1
JasperReports
Neobye's picture
14
Joined: May 6 2013 - 6:01am
Last seen: 1 week 3 days ago
Feedback
randomness