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

Streaming canonicalizers adding empty namespaces

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Java 2.0.6
    • Fix Version/s: Java 2.0.7
    • Component/s: None
    • Labels:
      None

      Description

      As reported on the mailing list, the streaming canonicalizers are adding empty namespaces:

      <SOAP-ENV:Body xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ec="" xmlns:ec1="" xmlns:ns0="" xmlns:ns1="" xmlns:ns11="" xmlns:ns2="" xmlns:ns4="" xmlns:ns9="" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="XWSSGID-1465203363337-2063525437">

      Test case here for both DOM + StAX code:

      https://svn.apache.org/repos/asf/santuario/xml-security-java/trunk/src/test/java/org/apache/xml/security/test/dom/transforms/EmptyNamespaceTest.java

        Attachments

          Activity

            People

            • Assignee:
              giger Marc Giger
              Reporter:
              coheigea Colm O hEigeartaigh

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment