XQuery Extensions has been created by Karthick Sankarachary (Jan 29, 2009).

Content:

Apache ODE goes above and beyond the WS-BPEL specification by allowing the use of XQuery 1.0 in queries and expressions.

Unless specified otherwise, WS-BPEL considers XPath 1.0 to be the query/_expression_ language, which is denoted by the default value of the "queryLanguage" and "expressionLanguage" attributes, viz. "urn:oasis:names:tc:wsbpel:2.0:sublang:xpath1.0". In addition, we have out-of-the-box support for XPath 2.0.

XQuery 1.0

To use XPath 2.0 in your processes just use the following queryLanguage and expressionLanguage attributes:

queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xquery1.0"
expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xquery1.0"

If you want support at the process just add these attributes to your root process element. If you want to stick with XPath 1.0 but want XQuery 1.0 support for a specific assignment you can also define these attributes on an assign element.

For your convenience, all of the functions and variables, standard or otherwise, that are available in XPath 2.0 have been exposed in XQuery 1.0 as well.

Known Limitations

Currently, we do not support:

  • The use of modules in XQuery.
  • The use of update expressions in XQuery.

Reply via email to