Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.14.1
-
None
-
Unknown
Description
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.