itchytoes Posted October 2, 2008 Share Posted October 2, 2008 Hi all --I would like to know if this is a bug.I'm playing with the StyledReport.jrxml example in the latest 3.1.0 jasperReports to try out markup="html"I added this textField, and for some reason the <ol><li> style elements work only if there is some text after them.For example, this works:<textFieldExpression class="java.lang.String"><![CDATA["<font size=20"><b>hello</b></font><ol><li>one</li><li>two</li></ol>xyz]]></textFieldExpression>But, if I remove the 'xyz' trailing text, <textFieldExpression class="java.lang.String"><![CDATA["<font size=20"><b>hello</b></font><ol><li>one</li><li>two</li></ol>]]></textFieldExpression>I get a runtime Invalid substring range when I run 'ant fill'.Is this a bug? Or am I doing something wrong? Thanks Betty Link to comment Share on other sites More sharing options...
monty241070 Posted November 5, 2008 Share Posted November 5, 2008 Same problem as http://jasperforge.org/tracker/index.php?func=detail&aid=2920&group_id=102&atid=612 I added to the end of the text and now it works. 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