Jump to content
Changes to the Jaspersoft community edition download ×

Problem on Jasper Report Special Character


idilchennai

Recommended Posts

Hi

 

I am having a text field in the ireport design and set isStyledText property to TRUE

 

<textElement textAlignment="Left" verticalAlignment="Top" isStyledText="true">

<font/>

</textElement>

I can map some values to this text field from java which contains some special characters like '/'.

It will throw a warning

WARNING: Invalid styled text.oracle.xml.parser.v2.XMLParseException: Expected name instead of /. and print pdf like

 

<style size="9" isBold="false" >name/no</style>

 

How to solve this problem?

Please help me

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Sorry

 

I can map values to this text field from java which is name &/OR NO.

 

<style size="9" isBold="false" >name &/OR NO</style>

 

WARNING: Invalid styled text.oracle.xml.parser.v2.XMLParseException: Expected name instead of /.

 

I think the problem is in '&'. how to Print '&' symbol?

 

Please help me

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...