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

XMLTokenizer's wrapped mode to handle grouping without replicating the wrapper part

    XMLWordPrintableJSON

Details

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

    Description

      XMLTokenizer's wrapped mode used with grouping does not generate reasonable results from most user's point of view.

      More concretely speaking, Its wrapped mode generates a sequence of tokens, each token element wrapped in its context elements (i.e., the parent elements). This is appropriate when no grouping is used. However, with grouping used, it results in a token consisting of a group of such context-wrapped tokens. A more intuitive and user-friendly result would be to have a token consisting of the original token elements wrapped in their common context elements. In other words, a token must consist of multiple token elements in their common wrapped context.

      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: