camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Updated] (CAMEL-10817) dumpModelAsXml can return invalid XML namespace xmlns:xmlns
Date Sun, 12 Feb 2017 08:28:41 GMT


Claus Ibsen updated CAMEL-10817:
    Priority: Minor  (was: Major)

> dumpModelAsXml can return invalid XML namespace xmlns:xmlns
> -----------------------------------------------------------
>                 Key: CAMEL-10817
>                 URL:
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.18.0
>            Reporter: James Netherton
>            Assignee: James Netherton
>            Priority: Minor
> Seems I introduced a [bug|]
when implementing CAMEL-10509.
> If we're processing a namespace prefix of 'xmlns' then obviously we should not prefix
it with the same value. But currently this is allowed and a namespace prefix of 'xmlns:xmlns'
is added to the {{<routes>}} element. This can mean that the output from {{ModelHelper.dumpModelAsXml}}
is invalid.
> However, I can only reproduce the problem on Karaf where the routes use xpath expressions.
Some how with other platforms & scenarios the 'xmlns:xmlns' value is being ignored and
never makes it into the {{dumpModelAsXml}} output.

This message was sent by Atlassian JIRA

View raw message