2001 JI Open Discussion Posted August 14, 2006 Share Posted August 14, 2006 By: Eric Suen - eric_sun JRXmlWriter problem 2002-06-24 06:32When 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now