XPath breaks message selector with "=" character

Description

The Citrus message selector XPath support breaks with exception in case the XPath expression contains some '=' character.

Example: xpath://foo:message/foo:JMSProperty[foo:key='KEY']/foo:value

The message selector does not parse the expression correctly but cuts off at the equals character. The resulting exception is not propagated and the XPath expression returns nothing as a result.

In the first place we should handle the '=' character correctly and secondly we should raise some exception in case of invalid XPath expressions.

Environment

None

Status

Assignee

Christoph Deppisch

Reporter

Christoph Deppisch

Labels

None

Epic Name <span class="error">&#91;deprecated, this field is no longer being used&#93;</span>

None

External issue ID

None

Components

Fix versions

Affects versions

1.3

Priority

Major