We have a few tests for this kind of transformation [1]. They also work with the 'standalone="yes"' definition.
As Claus wrote, to expect help you have to tell us: - Which version of Camel do you use? - What do you exactly mean with "fail"? - What is the payload type you want to convert from? [1] https://svn.apache.org/repos/asf/camel/trunk/camel-core/src/test/java/org/apache/camel/converter/jaxp/DomConverterTest.java Best, Christian On Mon, Nov 28, 2011 at 6:15 PM, Tristan23 <[email protected]> wrote: > Hi, > > I am using convertBodyTo() to convert an XML document to DOM. > > Basically it works. > > Unfortunately I get messages with a preceding declaration: > <?xml version="1.0" encoding="UTF-8" standalone="yes"?> > > This causes the convertBodyTo(org.w3c.dom.Document.class) to fail. > > What to do? > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/convertBodyTo-org-w3c-dom-Document-class-fails-tp5029460p5029460.html > Sent from the Camel - Users mailing list archive at Nabble.com. >
