Camel
  1. Camel
  2. CAMEL-4858

xpath expression with $header with saxon may throw exception if header did not exist

    Details

    • Estimated Complexity:
      Unknown

      Description

      See CAMEL-747

      We should return an empty String instead of a Void.class, as this works with both JDK + Saxon XPathEngine.
      Saxon does not work with the Void.class.

        Activity

        Claus Ibsen created issue -
        Claus Ibsen made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.7.5 [ 12318648 ]
        Resolution Fixed [ 1 ]
        Hide
        Claus Ibsen added a comment -

        The workaround is to not use $headerName but a Camel function, using the Camel function namespace, to use the header function.

        See details at: http://camel.apache.org/xpath

        Show
        Claus Ibsen added a comment - The workaround is to not use $headerName but a Camel function, using the Camel function namespace, to use the header function. See details at: http://camel.apache.org/xpath
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1h 8m 1 Claus Ibsen 04/Jan/12 08:24

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development