Jump to content
JasperReports Library 7.0 is now available ×

How to disable attribute replacement in Jaspersoft Studio editor?


mateusz.meszaros
Go to solution Solved by ernestoo,

Recommended Posts

I have been using iReport 5.6.0 to edit my templates.

I have editied them with Jaspersoft Studio 6.1.1.final, and tried to compile with older JasperReports library but the compiler threw the following exception:

net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 30; columnNumber: 124; cvc-complex-type.3.2.2: Attribute 'hTextAlign' is not allowed to appear in element 'style'.

Also the iReport designer shows the same error when I try to open with it.

I figured out that the Editor of the Jaspersoft Studio silently replaces hAlign attributes with hTextAlign / hImageAlign - which are not recognized by the old compiler.

My Question is: is it possible to configure the editor not to do it?

Thanks, Matt

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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