Jump to content
JasperReports Library 7.0 is now available ×

Jasper/iReport Text Alignment Bug


keats76

Recommended Posts

All,

I'm using iReport 3.1.4 and I'm having an issue with the text formatting.  iReport will let me "Center" my text in the horizontal, and it will let me render and save a report with these settings.  However, when I close out of the report and reopen it, I receive a SAX Parser error telling me that "null" is not a valid option and that "Center, Left, Right" should be used instead (note that this is not the exact error).

When I take a peek into the XML I see that the textalign property on my fields is set to "null".  This is the obvious problem.  The XML is not valid.  I changed each of the "null" entries to "Center".  This made the XML valid, and removed the errors, but now my text is no longer centered!!!  Ugh.

Anyway, has anyone else seen this?

Thanks,

Mike

Link to comment
Share on other sites

  • 4 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi all,

I'm using iReport 3.2.5 and I'm having exactly the same problem.

I'w working with a lot of reports, all based on the same schema, and, after some savings, if I reopen the reports, I receive the SAX Parser error.

 

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...