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/27 12:05:03 UTC

[jira] [Updated] (SANTUARIO-191) xml:id attributes are not correctly handled when using c14n11

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

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

    Summary: xml:id attributes are not correctly handled when using c14n11  (was: Java)

> xml:id attributes are not correctly handled when using c14n11
> -------------------------------------------------------------
>
>                 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
>            Assignee: Colm O hEigeartaigh
>             Fix For: Java 1.4.5, Java 1.5
>
>         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