Uploaded image for project: 'Citrus'
  1. Citrus
  2. CITRUS-149

XPath breaks message selector with "=" character

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: 1.3
    • Component/s: citrus-core
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              deppisch Christoph Deppisch
              Reporter:
              deppisch Christoph Deppisch
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: