Jump to content
Changes to the Jaspersoft community edition download ×

Problem when save JasperDesign object to XML


Recommended Posts

By: Eric Suen - eric_sun

Problem when save JasperDesign object to XML

2002-06-15 07:52

When I use JRXmlWriter.writeReport(jasperDesign) method, and jasperDesign is an instance of JasperDesign, then some attribute of element lost.

 

Only if element is an instance of JRPrintXXX that can got correct xml file.

 

It seems is bugs in JRXmlWriter.writeReportElement(JRElement element) method line 681 - 684

 

and JRXmlWriter.writeGraphicElement(JRGraphicElement element) method line 782 - 784

 

Thanks,

 

Eric

 

 

 

 

By: Teodor Danciu - teodord

RE: Problem when save JasperDesign object to XML

2002-06-16 23:36

 

Hi,

 

Yes, you are right.

This is a copy/paste induced error.

 

Sorry for that.

I'll provide a patch for this in the "Patches" section.

 

Thank you,

Teodor

Link to comment
Share on other sites

  • Replies 0
  • 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...