[
https://issues.apache.org/jira/browse/CAMEL-8250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen reassigned CAMEL-8250:
----------------------------------
Assignee: Claus Ibsen
> 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
> Reporter: Stephan Siano
> Assignee: Claus Ibsen
> Fix For: 2.15.0
>
> Attachments:
> 0001-CAMEL-8250-Add-type-converter-for-Saxon-data-types.patch
>
>
> 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)