[
https://issues.apache.org/jira/browse/CAMEL-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aki Yoshida resolved CAMEL-7468.
--------------------------------
Resolution: Fixed
this feature relies on the reader implementation that reliably reports the
position of each parse/read event (e.g., woodstox).
com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl does not, as
mentioned in the following thread and hence not supported for now.
http://markmail.org/message/fmg2qpyvo7ex7z6j?q=list:org%2Ecodehaus%2Ewoodstox
> Make xmlTokenizer more xml-aware so that it can handle more flexible
> structures
> -------------------------------------------------------------------------------
>
> Key: CAMEL-7468
> URL: https://issues.apache.org/jira/browse/CAMEL-7468
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Aki Yoshida
> Assignee: Aki Yoshida
> Fix For: 2.14.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)