Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-191

xml:id attributes are not correctly handled when using c14n11

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Java 1.4.2
    • Java 1.4.5, Java 1.5
    • Java
    • Security Level: Public (Public issues, viewable by everyone)
    • None
    • Operating System: All
      Platform: All
    • 47459

    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.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            staible@keyon.ch sstaible
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: