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

Make xmlTokenizer more xml-aware so that it can handle more flexible structures

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.14.0
    • camel-core
    • None
    • Unknown

    Description

      The existing xmlTokenizer can tokenize an XML document using the specified element tag name and produce a series of tokens that are either the child tokens with the injected namespace declarations from its parent node or the tokens wrapped in their ancestor elements.

      That implementation has several limitations:

      • a specific namespace cannot be specified.
      • a specific hierarchy cannot be specified.
      • the wrap mode assumes each token to have the same ancestor path.

      This patch will remove these limitations.

      Attachments

        Issue Links

          Activity

            People

              ay Akitoshi Yoshida
              ay Akitoshi Yoshida
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: