[ https://issues.apache.org/jira/browse/CAMEL-9854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15237103#comment-15237103 ]
Akitoshi Yoshida commented on CAMEL-9854: ----------------------------------------- This code will potentially mutate the original nsmap and I am wondering if we need to extract the valid prefixes without mutating the original nsmap object. It seems to be the nsmap is used once and disposed after its single use, so mutating the nsmap will be okay. If someone sees some concern, please let me know. If not, I will proceed to apply this patch. regards, aki > CXF Stream Cache contains duplicate namespace definition > -------------------------------------------------------- > > Key: CAMEL-9854 > URL: https://issues.apache.org/jira/browse/CAMEL-9854 > Project: Camel > Issue Type: Bug > Affects Versions: 2.16.3 > Reporter: Stephan Siano > Assignee: Akitoshi Yoshida > Priority: Minor > Attachments: > 0001-CAMEL-9854-CXF-Stream-Cache-contains-duplicate-names.patch > > > If stream caching is enabled for incoming messages in Camel-CXF and a > namespace defined on the SOAP envelope is also defined on the root tag of the > payload document the XML contained within the stream cache contains a > duplicate namespace definition. > See attached unit test for details -- This message was sent by Atlassian JIRA (v6.3.4#6332)