[SCXML] XPathEvaluator / Error accessing complex event payload

2009-10-25 Thread Jaroslav Pullmann
Hello Rahul, although not yet officially released I like using the J6 branch (commons-scxml-1.0-SNAPSHOT.jar) because of its XPath support. Recently I experience problems when accessing the complex event payload (Node: payloaddatastatusstarted/status/data/payload, plain string payload is

Re: [SCXML] Retrieving a (wrapped) NodeSet for an XPath / user defined XPath functions

2009-10-22 Thread Jaroslav Pullmann
Jaro Rahul Akolkar wrote: On Tue, Oct 20, 2009 at 10:42 AM, Jaroslav Pullmann jaroslav.pullm...@fit.fraunhofer.de wrote: Dear Rahul, dear all, the result value of an XPath-selection is limited to an XPathConstants.NODE as of XPathEvaluator#evalLocation(Context, String

[SCXML] Retrieving a (wrapped) NodeSet for an XPath / user defined XPath functions

2009-10-20 Thread Jaroslav Pullmann
accessors to the namespace and variable contexts. Could you please provide an exmaple how to accomplish access to a data NodeSet using an XPathFunction or an other way ? Many thanks ! Jaro -- Jaroslav Pullmann Web Compliance Center - Fraunhofer FIT Schloss Birlinghoven, D-53757

Re: [SCXML] Test for node existence with Data()

2009-03-24 Thread Jaroslav Pullmann
...@commons.apache.org For additional commands, e-mail: user-h...@commons.apache.org -- Jaroslav Pullmann Web Compliance Center - Fraunhofer FIT Schloss Birlinghoven, D-53757 Sankt Augustin, Germany Phone: +49-2241-142623Fax: +49-2241-142065

[SCXML] Test for node existence with Data()

2009-03-23 Thread Jaroslav Pullmann
Hello, while trying to test for the mere existence of a datamodel node it turned out, that Data() yields to different results depending on the availability of an immediate textual content of the node: 1) Example, path does not match, Data() is expected to return null: log

Re: [SCXML] targetless transitions / event handling / accessing event payload

2008-12-30 Thread Jaroslav Pullmann
Thank you Raul, using _eventdatamap did help. I'd like to summarize the proposed solutions (with JEXL as expression language), please correct them when necessary: 1) access the simple string content of thze event payload ? transition event=view cond=_eventdatamap['view'].text != null

[SCXML] targetless transitions / event handling / accessing event payload

2008-12-29 Thread Jaroslav Pullmann
Dear Rahul, dear all, I'd like to use global targetless transitions to handle events occurring asynchronously without leaving the context of the current state. Thus common business logic (executable content within the transition) is inherited or overwritten locally by any substate. It

Re: [SCXML] Help with Data()

2008-12-11 Thread Jaroslav Pullmann
this question within the working group ? Best regards Jaroslav Rahul Akolkar wrote: On Wed, Dec 10, 2008 at 10:38 AM, Jaroslav Pullmann [EMAIL PROTECTED] wrote: Dear all, could you please give me a short hint on these questions ? 1) where to find documentation and source code for the Data

[SCXML] Help with Data()

2008-12-10 Thread Jaroslav Pullmann
Dear all, could you please give me a short hint on these questions ? 1) where to find documentation and source code for the Data-function for JEXL evaluator ? I need to clarify which subset of XPath is supported. 2) there is no name attribute on data in current working draft, but