Regards,
Chris
Mark H wrote:
I'm trying call a method with -1 as one it's parameters in jxtemplate/jexl:
<jx:forEach var="service" select="${db.getServices('na',1,'Alresford','Wivenhoe',-1)}">
but I get the following error
org.apache.cocoon.ProcessingException: Failed to execute pipeline.: file:/d:/web/websites/JourneyCheck-1.2/xml/test/jx/database.jx:3:91:org.apac he.commons.jexl.parser.ParseException: Encountered "-" at line 1, column 46. Was expecting one of: <INTEGER_LITERAL> ... <FLOAT_LITERAL> ... "null" ... "true" ... "false" ... <IDENTIFIER> ... <STRING_LITERAL> ... "(" ... "empty" ... "size" ... "~" ... "!" ... "not" ...
shouldn't jexl be able to handle -1 as a parameter?
Mark
