ode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthick Sankarachary (JIRA)" <j...@apache.org>
Subject [jira] Created: (ODE-411) Express Yourself - With XQuery
Date Thu, 06 Nov 2008 19:36:50 GMT
Express Yourself - With XQuery
------------------------------

                 Key: ODE-411
                 URL: https://issues.apache.org/jira/browse/ODE-411
             Project: ODE
          Issue Type: New Feature
          Components: BPEL Compilation/Parsing, BPEL Runtime
    Affects Versions: 1.2
         Environment: platform-independent
            Reporter: Karthick Sankarachary
            Assignee: Karthick Sankarachary
             Fix For: 2.0


By default, the language employed in WS-BPEL queries and expressions is XPath 1.0. This is
denoted by the default value of the queryLanguage and expressionLanguage attributes, which
is "urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0". In addition, we have out-of-the-box support
for XPath 2.0.

Given that XQuery 1.0 is fast becoming the de-facto lingua franca for querying XML, it is
only fitting that it be given first-class status in WS-BPEL. Specifically, XQuery 1.0 goes
above and beyond XPath 2.0 by offering the capability to write conditional/switch/iterating
expressions, construct static/computed nodes, declare functions/variables, among other things.

To that end, we propose leveraging WS-BPEL's extension mechanism to support the use of XQuery
1.0 as a query and expression language. In particular, XQuery 1.0 will be indicated by a specific
value of the queryLanguage and expressionLanguage attribute, namely urn:oasis:names:tc:wsbpel:2.0:sublang:xquery1.0".

The context for XQuery must be initialized with a set of bindings for in-scope variables,
declarations of in-scope namespaces and a library of WS-BPEL and core XPath functions. In
theory, one may import external XQuery modules into that context in a implementation-defined
way. However, the module feature will initially be out of scope.

Best Regards,
Karthick Sankarachary


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


Mime
View raw message