paasiala Posted January 16, 2007 Share Posted January 16, 2007 I tried to modify some borders in my design. I ended up with a stack trace: 479212 [Thread-29] ERROR digester.Digester - Parse Error at line 40 column 192: Attribute "topBorder" with value "Null" must have a value from the list "None Thin 1Point 2Point 4Point Dotted ". org.xml.sax.SAXParseException: Attribute "topBorder" with value "Null" must have a value from the list "None Thin 1Point 2Point 4Point Dotted ". at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.validateDTDattribute(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.addDTDDefaultAttrsAndValidate(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source) Attached is a trivial jasper file I used to reproduce the problem. Regards, Pasi [file name=border_test.jrxml size=2131]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/border_test.jrxml[/file] Link to comment Share on other sites More sharing options...
jmurray Posted January 17, 2007 Share Posted January 17, 2007 This line defines the borders for your Static Text box: <box topBorder="Null" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000" /> The bit that says topBorder="Null" should actually read topBorder="None" Also, your report will just display a blank page unless you change the When No Data expression to "AllSectionsNoDetail". You can find that setting under the "More..." tab on the Report Properties dialog box. . Link to comment Share on other sites More sharing options...
schaibaa Posted January 17, 2007 Share Posted January 17, 2007 There is a bug within iReport where if you change the border to none in the element properties box, it changes it to NULL and your compiler will return an exception. Open it up in the editor of your choice and change it to "none" Link to comment Share on other sites More sharing options...
paasiala Posted January 17, 2007 Author Share Posted January 17, 2007 That bug I tried to report :) Hope it is going to be fixed soon. Pasi Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted January 19, 2007 Share Posted January 19, 2007 Fixed on SVN. Thanks Giulio 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