You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2022/08/04 14:12:00 UTC

[jira] [Updated] (CAMEL-18349) Core - XPathRouteConcurrentBigTest - newly added limit of "operators an XPath expression can contain." fails the test

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

Claus Ibsen updated CAMEL-18349:
--------------------------------
    Fix Version/s: 3.19.0

> Core - XPathRouteConcurrentBigTest - newly added limit of "operators an XPath expression can contain." fails the test
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-18349
>                 URL: https://issues.apache.org/jira/browse/CAMEL-18349
>             Project: Camel
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 3.19.0
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>            Priority: Minor
>             Fix For: 3.19.0
>
>
> In java 11.0.15, there is a security limitation forĀ  "the number of operators an XPath expression can contain. (see [release notes|https://www.oracle.com/java/technologies/javase/11-0-15-relnotes.html]) with default value 100.
> Unfortunately the test _XPathRouteConcurrentBigTest_ requires 101
> {code:java}
> Caused by: javax.xml.transform.TransformerException: JAXP0801002: the compiler encountered an XPath expression containing '101' operators that exceeds the '100' limit set by 'FEATURE_SECURE_PROCESSING'.
> {code}
> Solution would be to change a test little bit, to require <= 100 operations.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)