Support for XPath as further EL
-------------------------------

                 Key: SCXML-106
                 URL: https://issues.apache.org/jira/browse/SCXML-106
             Project: Commons SCXML
          Issue Type: Improvement
    Affects Versions: 0.9
            Reporter: Jaroslav Pullmann
            Priority: Minor



 Adding support for XPath (2.0?) as further expression language was already 
suggested earlier [1].

 Not aware, whether there is any ongoing development I'd ask for this important 
enhancement.

 Use cases: 
  - access to a wide range of built-in functions (count, matches)

  - navigation with predicates involving string value tests:

    Since XPathes are passed as arguments to the Data function
    and JEXL does not provide for escaping quotes (see [2])
    there is currently no way to express pathes like:
 
    <assign location="Data(mydata,'list/it...@id=\'foo\']')" expr... 

    Top-level XPath expressions would enable such (more natural) navigation:

    <assign location="/da...@id='mydata']/list/it...@id='foo']" expr... 

  [1]  http://www.nabble.com/-scxml--%3Cassign%3E-tag-td4093525.html#a4103653
  [2] 
http://mail-archives.apache.org/mod_mbox/commons-user/200605.mbox/%[email protected]%3e
 

     Many thanks
     Jaro

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to