Hi You can try adding your namespace declaration in the top of the XML file, eg in the <beans> tag, instead of the <camelContext>
On Mon, Feb 11, 2013 at 6:05 AM, Allan Randall <[email protected]> wrote: > I have an XML document that I want to split into multiple documents and > process separately. > > The problem I have is that the namespace prefix in the xsi:type attribute is > not added to the DOM thus when I try to process the XML from the > managedEntities queue I get the following error; > > /Execution of JMS message listener failed. Caused by: > [org.apache.camel.RuntimeCamelException - > java.lang.IllegalArgumentException: prefix prd is not bound to a namespace]/ > > I am currently using Camel 2.10.0 > > The route: > > > A sample message that produces the issue: > > > An example of the message produced onto the managedEntities queue. Note that > the prd namespace prefix is not defined. > > > Has anyone experienced this issue before or know how I can resolve this > issue? > > Thanks. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Splitter-does-not-bound-namespace-prefix-from-xsi-type-value-tp5727324.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. FuseSource is now part of Red Hat Email: [email protected] Web: http://fusesource.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
