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 2017/09/29 13:27:00 UTC

[jira] [Commented] (SANTUARIO-478) Property XMLOutputFactory.IS_REPAIRING_NAMESPACES should be FALSE by default

    [ https://issues.apache.org/jira/browse/SANTUARIO-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16185822#comment-16185822 ] 

Colm O hEigeartaigh commented on SANTUARIO-478:
-----------------------------------------------

Do you have a test-case to reproduce the problem?

> Property XMLOutputFactory.IS_REPAIRING_NAMESPACES should be FALSE by default
> ----------------------------------------------------------------------------
>
>                 Key: SANTUARIO-478
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-478
>             Project: Santuario
>          Issue Type: Wish
>            Reporter: Manjesh Kumar
>            Assignee: Colm O hEigeartaigh
>
> In the org.apache.xml.security.stax.ext.XMLSecurityConstants static initilizer block 
> following is set
> xmlOutputFactory.setProperty(XMLOutputFactory.IS_REPAIRING_NAMESPACES, true);
> because of this the xml is getting updated after it is signed and which ultimately fails the signature validation (Invalid digest of reference). 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)