Hi all,
We have an issue when we want to use special characters in a
rule parameter.
For example, if we use french accents like é or è, the
following exception is raised during drl file loading :
line 1:8: unexpected char: 0xE9
at org.drools.semantics.java.parser.JavaLexer.nextToken(JavaLexer.java:611)
at antlr.TokenBuffer.fill(TokenBuffer.java:69)
at antlr.TokenBuffer.LA(TokenBuffer.java:80)
at antlr.LLkParser.LA(LLkParser.java:52)
at org.drools.semantics.java.parser.JavaRecognizer.unaryExpressionNotPlusMinus(JavaRecognizer.java:4778)
at
org.drools.semantics.java.parser.JavaRecognizer.unaryExpression(JavaRecognizer.java:4636)
at
org.drools.semantics.java.parser.JavaRecognizer.multiplicativeExpression(JavaRecognizer.java:4479)
at
org.drools.semantics.java.parser.JavaRecognizer.additiveExpression(JavaRecognizer.java:4419)
at org.drools.semantics.java.parser.JavaRecognizer.shiftExpression(JavaRecognizer.java:4350)
at
org.drools.semantics.java.parser.JavaRecognizer.relationalExpression(JavaRecognizer.java:4216)
at
org.drools.semantics.java.parser.JavaRecognizer.equalityExpression(JavaRecognizer.java:4156)
at
org.drools.semantics.java.parser.JavaRecognizer.andExpression(JavaRecognizer.java:4119)
at
org.drools.semantics.java.parser.JavaRecognizer.exclusiveOrExpression(JavaRecognizer.java:4082)
We are using Drools 2.5 with JDK 1.4.
Is it possible to use special characters in a rule parameter ?
If yes, what is our mistake ?
Thanks a lot.
Mickaël