Uploaded image for project: 'ODE'
  1. ODE
  2. ODE-638

Incorrect default expression language for property aliases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.3.2
    • 1.4
    • None

    Description

      If a property alias does not define a query language then the default should be XPath 1.0 as per the WS-BPEL 2.0 spec. BpelCompiler.compile(PropertyAlias) uses the same compileExpr(Expression) call as other expressions so the default language becomes whatever the default is for the process definition or XPath 1.0 if not defined.

      I found this problem by setting a default expression to XQuery in my process def. This results in an error at execution since the XQuery compiler inserts a variable declaration for $ode:pid which doesn't resolve in the property alias context.

      One workaround is to add the queryLanguage attribute to each propertyAlias. Another workaround is to not define a default expression language for the process.

      Time permitting, I'll add a test case or patch at some point.

      Attachments

        1. HelloWorld2-638.zip
          7 kB
          Mark Ford

        Activity

          People

            karthick Karthick Sankarachary
            mark.ford Mark Ford
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: