Santuario
  1. Santuario
  2. SANTUARIO-191

xml:id attributes are not correctly handled when using c14n11

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Java 1.4.2
    • Fix Version/s: Java 1.4.5, Java 1.5
    • Component/s: Java
    • Security Level: Public (Public issues, viewable by everyone)
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      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.

        Activity

          People

          • Assignee:
            Colm O hEigeartaigh
            Reporter:
            sstaible
          • Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development