You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Manjesh Kumar (JIRA)" <ji...@apache.org> on 2017/11/15 11:21:01 UTC
[jira] [Updated] (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:all-tabpanel ]
Manjesh Kumar updated SANTUARIO-478:
------------------------------------
Attachment: SignatureStAXTest.java
SignatureUtils.java
tva.jks
XML_Sample_File.xml
Hi [~coheig],
Please find the attached files(patch) for this change.
Thanks,
Manjesh
> 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
> Attachments: SignatureStAXTest.java, SignatureUtils.java, XML_Sample_File.xml, tva.jks
>
>
> 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)