You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (JIRA)" <ji...@apache.org> on 2013/11/25 12:04:35 UTC

[jira] [Resolved] (SANTUARIO-371) Junit test fails on 2.0 branch

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

Colm O hEigeartaigh resolved SANTUARIO-371.
-------------------------------------------

    Resolution: Fixed

> Junit test fails on 2.0 branch
> ------------------------------
>
>                 Key: SANTUARIO-371
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-371
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 2.0.0
>            Reporter: Michael Haeusler
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 2.0.0
>
>
> I tried to build the Java 2.0.0 branch and found that two of the BaltimoreEnvTest test cases fail with this error:
> Maximum (50) allowed XML Structure size exceeded.
> the test-cases are:
> test_five_content_aes128_cbc_rsa_15 
> test_five_data_3des_cbc_rsa_oaep
> I checked the AbstractDecryptInputProcessor which is causing this error and found that this limit is hardcoded.
> now the question is:
> why does this limit exist and why is this so small ?
> the xml-enc structure in test_five_content_aes128_cbc_rsa_15  has 54 XML-events and the other has 58.
> I also noticed that the "maximumAllowedXMLStructureDepth" is configurable and has a default of 100.
> However, with a limit of 50 xml-events this theoretical structure-depth can never be reached even remotely.



--
This message was sent by Atlassian JIRA
(v6.1#6144)