Affects Version/s: None
Fix Version/s: 1.1
when using XPath 1.0 expressions with variable references in transition conditions (may also occur in assigns), the evaluation starts on the part's (first) child node. AFAIK XPaths on variable refs should behave like XPaths on documents, i.e. the evaluation should start on virtual root element which has the content of the selected part as child.
Assume the variable "myVar" has part 'request' with the following content (in my case it is defined by a messageType whose part is defined by a complexType):
According to the BPEL 2.0 spec, the expression
$myVar.request/packageName = 'Gold' should be evaluated to true.
But it currently does not. A working expression is $myVar.request/self::packageName = 'Gold', but this is IMHO not compliant to the spec.
I might be wrong, but I'm pretty sure that there is something wrong with Ode's JaxenContext. IMHO when retrieving variables content node, it should be nested in to a wrapper element before passing it to jaxen.
|Field||Original Value||New Value|
|Assignee||Tammo van Lessen [ vanto ]|
|Resolution||Fixed [ 1 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||1.1 [ 12312471 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|42d 12h 36m||1||Tammo van Lessen||01/Aug/07 13:18|