Jump to content

Recommended Posts

Posted

Hi community,

I have a set of old JRXML templates I created for a Java desktop application that are used for PDF export/print.

They were created when JR 1.3 was current and continue to work until now in JR 6.21.3. My main reason to try 7.0.0 are the vulnerabilities in the older version's dependencies.

I tried to compile them with the JR library 7.0 but got a JRException: Unable to load report.

I then tried to read my JRXML into Studio 7, but got an UnrecognizedPropertyException with "isDefault" in the style tag.

Setting the file's properties to a prior JR version did not help.

Did I do something wrong or is there a way to upgrade my templates?

Regards,

Thomas

 

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution
Posted

Hello

You seem to have very old JRXML files that still reference a DTD.  Please correct me if my assumption is wrong.

You need to convert your JRXML files to 7.0 syntax.  You'll need to do that in two steps: first convert them to 6.x syntax (that uses an XSD schema instead of the DTD) using Jaspersoft Studio 6.x, and then convert the 6.x JRXMLs to the 7.0 syntax using Studio 7.0.

Also see the discussion at https://github.com/TIBCOSoftware/jasperreports/issues/454

Regards,

Lucian

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