camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Netherton (JIRA)" <>
Subject [jira] [Created] (CAMEL-10817) dumpModelAsXml can return invalid XML namespace xmlns:xmlns
Date Fri, 10 Feb 2017 16:49:41 GMT
James Netherton created CAMEL-10817:

             Summary: dumpModelAsXml can return invalid XML namespace xmlns:xmlns
                 Key: CAMEL-10817
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.18.0
            Reporter: James Netherton
            Assignee: James Netherton

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