RE: Question about type converter logic

2015-01-16 Thread Siano, Stephan
it does not implement NodeList and many type converters only convert from NodeList. Best regards Stephan -Original Message- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: Dienstag, 13. Januar 2015 08:16 To: dev Subject: Re: Question about type converter logic You can add a type

RE: Question about type converter logic

2015-01-13 Thread Siano, Stephan
@camel.apache.org Subject: RE: Question about type converter logic Hi Claus, Sure, I will contribute the converter to camel-saxon, once I get it running, but at least in my unit test it never gets executed (so I obviously do something wrong). How is type converter selection done? Best regards Stephan

RE: Question about type converter logic

2015-01-12 Thread Siano, Stephan
[mailto:claus.ib...@gmail.com] Sent: Dienstag, 13. Januar 2015 08:16 To: dev Subject: Re: Question about type converter logic You can add a type converter to camel-saxon that converts a NodeInfo to DOMSource which Camel ought to use then. On Tue, Jan 13, 2015 at 8:12 AM, Siano, Stephan wrote: > Hi, >

Re: Question about type converter logic

2015-01-12 Thread Claus Ibsen
You can add a type converter to camel-saxon that converts a NodeInfo to DOMSource which Camel ought to use then. On Tue, Jan 13, 2015 at 8:12 AM, Siano, Stephan wrote: > Hi, > > I am trying to figure out how to write a type converter that can convert e.g. > from net.sf.saxon.om.NodeInfo to DOMSo

Question about type converter logic

2015-01-12 Thread Siano, Stephan
Hi, I am trying to figure out how to write a type converter that can convert e.g. from net.sf.saxon.om.NodeInfo to DOMSource. The problem with this is that the NodeInfo implements (javax.xml.transform.Source), so the XmlConverter from camel-core will kick in. The relevant coding looks like t