Jump to content
Changes to the Jaspersoft community edition download ×

JRXmlWriter problem


Recommended Posts

By: Eric Suen - eric_sun

JRXmlWriter problem

2002-06-24 06:32

When I open MasterReport.xml saved by JRXmlWriter, an error thrown:

 

org.xml.sax.SAXParseException: Attribute "class" must be declared for element type "subreportParameterExpression".

 

because subreportParameterExpression has no attribute named "class"

 

This is the original code:

<subreportParameterExpression>$F{City}</subreportParameterExpression>

and this is the code generate by JRXmlWriter

<subreportParameterExpression class="java.lang.Object"><![CDATA[$F{City}]]></subreportParameterExpression>

 

Is this the problem of "jasperreport.dtd" or JRXmlWriter?

 

 

By: Teodor Danciu - teodord

RE: JRXmlWriter problem

2002-06-24 06:56

 

Hi,

 

This is a JRXmlWriter problem.

There is no such "class" parameter in the

"subreprotParameterExpression".

 

It will be fixed in the 0.3.3 version.

 

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