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

IBM WAS 8.5.5 JVM does not support null for NameSpace prefix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java 2.0.5
    • Java 2.0.6
    • Java
    • None
    • IBM WebSphere 8.5.5

    Description

      When running under WAS 8.5.5.5 under Windows 7,

      1. XMLSecurityStreamWriter.writeDefaultNamespace() fails with null pointerException at line 296: this.openStartElement.getElementPrefix() return null

      2. XMLSecurityStreamWriter$Element.getQName (XMLSecurityStreamWriter.java:538) Caused by: java.lang.IllegalArgumentException: prefix cannot be "null" when creating a QName
      at javax.xml.namespace.QName.<init>(Unknown Source)
      at org.apache.xml.security.stax.impl.XMLSecurityStreamWriter $Element.getQName(XMLSecurityStreamWriter.java:538)

      Both are due to the fact that IBM JVM 1.6 deos not allow NS prefix = null

      Attachments

        Activity

          People

            giger Marc Giger
            csit sit
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: