Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.18.0
-
Component/s: camel-core
-
Labels:None
-
Estimated Complexity:Unknown
Description
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.
Attachments
Issue Links
- links to