Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 75553 invoked from network); 26 Sep 2006 11:45:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 11:45:42 -0000 Received: (qmail 64473 invoked by uid 500); 26 Sep 2006 11:45:39 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 64381 invoked by uid 500); 26 Sep 2006 11:45:39 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 64370 invoked by uid 99); 26 Sep 2006 11:45:39 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 04:45:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:42314] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 9D/D0-09289-3E219154 for ; Tue, 26 Sep 2006 04:45:39 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0287D71428E for ; Tue, 26 Sep 2006 11:41:52 +0000 (GMT) Message-ID: <18313209.1159270912007.JavaMail.jira@brutus> Date: Tue, 26 Sep 2006 04:41:52 -0700 (PDT) From: "dion gillard (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Commented: (JEXL-22) Allow unicode literals to be used In-Reply-To: <17911495.1159270670195.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JEXL-22?page=comments#action_12437803 ] dion gillard commented on JEXL-22: ---------------------------------- javacc 4 generates jdk1.4 compatible source code by default. If you need 1.3 or 1.2 compatible input use JDK_VERSION:1.2 The generated code still seems to have a few 1.4 specific pieces in it, such as use of RuntimeException(Throwable). If you want to compile Jexl against 1.2/1.3 using maven, you'll need the following command line invocation (all on one line): maven -Dmaven.compile.fork=yes -Dmaven.compile.executable=c:\jdk1.3.1_16\bin\javac.exe -Dbuild.compiler=modern clean test Obviously the javac executable will probably be different on your machine. > Allow unicode literals to be used > --------------------------------- > > Key: JEXL-22 > URL: http://issues.apache.org/jira/browse/JEXL-22 > Project: Commons JEXL > Issue Type: Improvement > Affects Versions: 1.1 > Reporter: dion gillard > Priority: Minor > Fix For: 1.1.1 > > > How can I use international characters in JEXL expressions? > For example: myvar == 'U?ytkownik' (string constant contains Polish 'z' > with dot) > I get the following exception: > org.apache.commons.jexl.parser.TokenMgrError: Lexical error at line 1, > column 17. Encountered: "\u0139" (313), after : "\'U" -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org