Stephan Siano created CAMEL-8250:
------------------------------------

             Summary: Add type converter for Saxon data types
                 Key: CAMEL-8250
                 URL: https://issues.apache.org/jira/browse/CAMEL-8250
             Project: Camel
          Issue Type: New Feature
          Components: camel-saxon
    Affects Versions: 2.14.1, 2.15.0
            Reporter: Stephan Siano


Camel does currently not contain any type converters for Saxon specific data 
types, particularily net.sf.saxon.om.NodeInfo (and List<NodeInfo>).

This will lead to errors or an empty result (depending on the result type) if 
e.g. an XPath is executed with a SAXSource documentType with a Saxon 
XPathFactory as in

        from("direct:test")
            .setBody(xpath("/a/b/c", Document.class)
                    .documentType(SAXSource.class)
                    .factory(new XPathFactoryImpl())
                    )

The provided patch adds the appropriate type converters (and the unit tests for 
them) to camel-saxon.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to