Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 36C5C6CCF for ; Sat, 11 Jun 2011 12:40:09 +0000 (UTC) Received: (qmail 25468 invoked by uid 500); 11 Jun 2011 12:40:08 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 25398 invoked by uid 500); 11 Jun 2011 12:40:08 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 25390 invoked by uid 99); 11 Jun 2011 12:40:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 12:40:08 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rahul.akolkar@gmail.com designates 74.125.82.49 as permitted sender) Received: from [74.125.82.49] (HELO mail-ww0-f49.google.com) (74.125.82.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Jun 2011 12:40:03 +0000 Received: by wwb39 with SMTP id 39so3118661wwb.6 for ; Sat, 11 Jun 2011 05:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=wbk6tU8Mllw4XGsQ2cZuRSvls27/hpR6DO9tKyL4NrY=; b=w2ld6HQbmLHqsZBmQgvjzSJXQ5+2maWCeaMmpNf8vuacpQW896yMHpU6U+6LFZmIex phRGQUw8Toiha/oHIj0OVwzmQbxlxNBx/Zi1AMONu9kluw7Euy2PTdPMlolt2mYYopQI dB10XZOgkhvmsUv0EmXOVUobEs69abPt/1Xik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=eZsPBdY4uitAta2gELi7rwlPSieOH9q2gtiRzr787gJtLfFbpYlTfbSRfK4716Kzgv QPVhxkteshMSA6aQcNaJRm7nhssaxBavGF5eHsqa/Gd64UX/51EpC51HvQ/HN4sB7r+T lfvnKPkLUJ4sHZmZn+ViAVP44PFhF3yuQODDs= MIME-Version: 1.0 Received: by 10.216.82.77 with SMTP id n55mr3114734wee.52.1307795981530; Sat, 11 Jun 2011 05:39:41 -0700 (PDT) Received: by 10.216.161.145 with HTTP; Sat, 11 Jun 2011 05:39:41 -0700 (PDT) In-Reply-To: References: Date: Sat, 11 Jun 2011 08:39:41 -0400 Message-ID: Subject: Re: [scxml] JEXL map in scxml From: Rahul Akolkar To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Jun 11, 2011 at 7:48 AM, Artem Vovk wro= te: > I have found under your link only some svn-diffs(?) files but not JEXL Ev= aluator, can u provide a link with JEXL 2.0 Evaluator/Context > Thanks :) > You'd have to study and apply the diff as appropriate. I have what you have ATM, at some point it will be included in Commons SCXML. -Rahul > Cheers Artem > > On Jun 8, 2011, at 10:40 PM, Rahul Akolkar wrote: > >> On Wed, Jun 8, 2011 at 4:31 AM, Artem Vovk w= rote: >>> Hi, >>> >>> =A0 I'm trying to create and send JEXL map, I wrote: >>> >>> =A0 >>> =A0>> namelist=3D"one"/> >>> >>> =A0But SCXML interpreter shows an exception : >>> =A0WARNUNG: EXPRESSION_ERROR (eval('{ 'test' : 2}'):Lexical error at li= ne 1, >>> column 10. =A0Encountered: ":" (58), after : ""): >>> =A0What is wrong with this syntax? >>> >> >> >> Its not JEXL 1.x syntax, which is default. JEXL 2.x syntax will >> require a suitable Evaluator/Context implementation. You can either >> provide one yourself or try the one attached to this ticket [1]. >> >> -Rahul >> >> [1] https://issues.apache.org/jira/browse/SCXML-114 >> >>> >>> Cheers Artem >>> --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org