Jump to content
We've recently updated our Privacy Statement, available here ×

moromete1977

Members
  • Posts

    2
  • Joined

  • Last visited

moromete1977's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. 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.
×
×
  • Create New...