camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (Created) (JIRA)" <>
Subject [jira] [Created] (CAMEL-4584) XQuery component does not work with StAXSource out of the box
Date Tue, 25 Oct 2011 19:12:32 GMT
XQuery component does not work with StAXSource out of the box

                 Key: CAMEL-4584
             Project: Camel
          Issue Type: Bug
          Components: camel-saxon
    Affects Versions: 2.8.2
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.9.0

The new STaXSource type converters cause camel-saxon to fail unit tests as reported by CI

Caused by: net.sf.saxon.trans.XPathException: Unknown source class
	at net.sf.saxon.Configuration.buildDocument(
	at net.sf.saxon.query.StaticQueryContext.buildDocument(
	at org.apache.camel.component.xquery.XQueryBuilder.createDynamicContext(

We should implement the same optimized logic as we did today in XSLT to convert to Source
if StAX is allowed, as well to avoid leaking resources we need to ensure if InputStream is
in use, we should ensure it gets closed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message