Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-3155

Default namespace not handled by .when(xpath(string))

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: 2.4.0
    • Fix Version/s: 2.6.0
    • Component/s: camel-core
    • Labels:
      None
    • Environment:

      Description

      If I do a .choice().when(xpath("//rootnode")) it fails to find any matches unless I preprocess and remove the xmlns="blah" (autogenerated by JAXB on the other end)

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              malachid Malachi de AElfweald
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified