You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to beanio-users
Hello, during the unmarshalling of an XML i have this error: Duplicate declaration for namespace prefix 'XXX'
I use camel framework to split the xml file on a tag, and using the camel splitter option inheritNamespaceTagName="XXX" i inherit the XXX namespace from the root tag. This is necessary because otherwise beanio does not recognize the namespace prefix during the unmarshall. Although there are some file that on the tag on which i split redeclared the namespace XXX and in this case i got this kind of error. If i remove from camel route the inheritNamespaceTagName it works for this file, but i have error for the others. Is there a solution to overcome this issue? A solution i thought is to remove always the namespece declaration or to ignore it. Is it possible?