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 2011/04/15 17:44:05 UTC

[jira] [Updated] (SANTUARIO-191) c14n11 does include parent xml:id attributes in encrypted data

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

Colm O hEigeartaigh updated SANTUARIO-191:
------------------------------------------

    Fix Version/s: Java 1.4.4


I'm marking this issue as fixed for Java 1.4.4. The testcase that is supplied passes with the 1.4.4 release, but fails with the 1.4.3 release. At a guess, it was fixed by this issue:

https://issues.apache.org/bugzilla/show_bug.cgi?id=47761

Colm.

> c14n11 does include parent xml:id attributes in encrypted data
> --------------------------------------------------------------
>
>                 Key: SANTUARIO-191
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-191
>             Project: Santuario
>          Issue Type: Bug
>          Components: Java
>    Affects Versions: Java 1.4.2
>         Environment: Operating System: All
> Platform: All
>            Reporter: sstaible
>             Fix For: Java 1.4.4
>
>         Attachments: XmlIdBugTest.java, c14n11-bug.log, c14n11-bug.log
>
>
> Created an attachment (id=23913)
> debug log
> xml:id attributes are still not correctly handled when using c14n11 for encryption.
> Example:
> When I encrypt the <data> element in the following xml document, the xml:id attribute is added to the canonical form of the data tag during encryption.
> <?xml version="1.0" encoding="UTF-8"?><test xml:id="ref1234">
>   <data>12345678</data>
> </test>
> encrypt/decrypt using c14n11 creates the following:
> <?xml version="1.0" encoding="UTF-8"?><test xml:id="ref1234">
>   <data xml:id="ref1234">12345678</data>
> </test>
> See also attached debug log.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira