idilchennai Posted October 16, 2006 Share Posted October 16, 2006 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 More sharing options...
idilchennai Posted October 16, 2006 Author Share Posted October 16, 2006 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 More sharing options...
Teodor Danciu Posted October 23, 2006 Share Posted October 23, 2006 Hi, This has beed explained here:http://www.jasperforge.org/index.php?option=com_joomlaboard&Itemid=&func=view&catid=8&id=16341#16341 I hope this helps.Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now