ktrinad Posted August 29, 2006 Share Posted August 29, 2006 By: Ken Feng - blincokf Problem with char '&' in expression 2003-01-15 06:53 Hi, When XML entity char (such as &) appears in expression, compilation would fail with a SAXParseException unless I replace the char '&' with '&'. For example: <variableExpression>($F{AMT}.floatValue()<;=0&&;$F{PDATE}.before($P{PDATE1}))?($F{AMT}):(null)</variableExpression> should be: <variableExpression>($F{AMT}.floatValue()<=0&&$F{PDATE}.before($P{PDATE1}))?($F{AMT}):(null)</variableExpression> However when I exit and re-enter IReport, the '&' would be replaced by '&' and thus compile fails again. Is it a bug? or are there ways to avoid using XML entity char in expression? Please advise. BTW although I am just recently introduced to IReport, I really like it. Great job. By: Giulio Toffoli - gt78 RE: Problem with char '&' in expression 2003-01-16 00:46 try to use 0.0.7p1 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