Santuario
  1. Santuario
  2. SANTUARIO-200

xmlns:xml namespace improperly emitted during excl c14n

    Details

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

      Description

      Created an attachment (id=24187)
      Affected document, unsigned and signed, and a key pair used.

      It appears that the c14n algorithm is outputting xmlns:xml in certain
      conditions even when set to the usual/presumed value, which is improper.

      A kit to help reproduce is attached.

      From exchanging email with Sean, I believe the trigger for this is probably the
      poor choice (but not outright bug) of including the xml prefix in the inclusive
      prefix parameter. If so, only exclusive would be broken, and only with this
      trigger.

      We agree that identifying the prefix there is a bad idea, but it's not illegal
      and it doesn't change the algorithm, so it should get fixed here also.

        Activity

        Hide
        sean.mullan added a comment -

        Fixed in main trunk.

        Show
        sean.mullan added a comment - Fixed in main trunk.

          People

          • Assignee:
            Unassigned
            Reporter:
            Scott Cantor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development