You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Stephan Siano (JIRA)" <ji...@apache.org> on 2015/10/26 10:23:27 UTC
[jira] [Commented] (CAMEL-9255) documentType not used for XPath
predicates in XML DSL
[ https://issues.apache.org/jira/browse/CAMEL-9255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14973920#comment-14973920 ]
Stephan Siano commented on CAMEL-9255:
--------------------------------------
The issue as such is a bit hard to verify: First of all the fix istself is in camel-core, but it cannot be tested there (because it only applies to camel-spring and camel-blueprint). Furthermore even without honoring the documentType, DOM is selected as default, which means that the expressions can be evaluated just fine.
The actual use case is with saxon as parser where the documentType can be set to SAXSource, in this case large messages can be used with XPath predicates which would go OOM with a DOMSource (because Saxon will parse the SAXSource into a TinyTree which consumes less memory than a DOM).
> documentType not used for XPath predicates in XML DSL
> -----------------------------------------------------
>
> Key: CAMEL-9255
> URL: https://issues.apache.org/jira/browse/CAMEL-9255
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.14.3, 2.15.3, 2.16.0
> Reporter: Stephan Siano
> Priority: Minor
> Attachments: 0001-CAMEL-9255-documentType-not-used-for-XPath-predicate.patch
>
>
> the documentType paramter is not used for XPath predicates in XML DSL. It works for XPath expression and in Java DSL
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)