where both namespaces are defined somewhere at a parent level. Now, I copy this element from the input tree to the output tree and it happens that the definition for ns2 is removed. Message Broker seems to handle the xsi:type value as a pure string and cleans up unused namespace declarations.
No - the message tree does not know that the xsi:type is a QName, and does not automatically put out the required xmlns attribute. You have to ensure that xmlns attributes for QNames in xsi:type values are copied into OutputRoot by the message flow.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum