camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-8250) Add type converter for Saxon data types
Date Sat, 17 Jan 2015 11:06:34 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-8250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-8250.
--------------------------------
    Resolution: Fixed

Thanks for the patch.

I had to fix the checkstyle
http://camel.apache.org/building.html

> 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)

Mime
View raw message