Return-Path: X-Original-To: apmail-camel-issues-archive@minotaur.apache.org Delivered-To: apmail-camel-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A08BE11956 for ; Mon, 2 Jun 2014 10:22:01 +0000 (UTC) Received: (qmail 36080 invoked by uid 500); 2 Jun 2014 10:22:01 -0000 Delivered-To: apmail-camel-issues-archive@camel.apache.org Received: (qmail 36042 invoked by uid 500); 2 Jun 2014 10:22:01 -0000 Mailing-List: contact issues-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list issues@camel.apache.org Received: (qmail 36035 invoked by uid 99); 2 Jun 2014 10:22:01 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2014 10:22:01 +0000 Date: Mon, 2 Jun 2014 10:22:01 +0000 (UTC) From: "Aki Yoshida (JIRA)" To: issues@camel.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (CAMEL-7468) Make xmlTokenizer more xml-aware so that it can handle more flexible structures MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)