moromete1977
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forum
Events
Featured Visualizations
Knowledge Base
Documentation (PDF Downloads)
Blog
Documentation (Test Area)
Documentation
Dr. Jaspersoft Webinar Series
Downloads
Posts posted by moromete1977
-
-
Hi,
This is a sample textfield in one of my reports.
<textField isStretchWithOverflow="true">
<reportElement key="textHeaderColumn" style="Crosstab Data Text" x="0" y="0" width="96" height="30" forecolor="#FFFFFF"/>
<box leftPadding="0" rightPadding="0"/>
<textElement textAlignment="Left" verticalAlignment="Middle">
<font fontName="Arial" size="11"/>
</textElement>
<textFieldExpression class="java.lang.String"><![CDATA[$V{name}]]></textFieldExpression>
</textField>If the $V{name} contains an ampersand, the following will be added in logs (report is rendered correctly, though).
FATAL JRStyledTextParser:1035 - Error parsing styled text.
org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
Any solution to not have this in logs?
Thanks.
Ampersand in field value is filling up logs
in Products
Posted