https://issues.apache.org/bugzilla/show_bug.cgi?id=47029

           Summary: Unnecessary namespace declarations on EncryptedData
                    children
           Product: Security
           Version: unspecified
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Encryption
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: cohei...@apache.org


The 1.4.2 release fixed bug 42597 - "Unnecessary namespace declarations on
Signature children":

https://issues.apache.org/bugzilla/show_bug.cgi?id=42597

A similar problem exists for the EncryptedData XML generated by the XMLCipher
class, where the xenc namespace is defined for all child elements, e.g.:

<xenc:EncryptedData Id=".." Type=".."
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>
  <xenc:EncryptionMethod Algorithm=".."
xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"/>
  <xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>
    <xenc:CipherValue xmlns:xenc="http://www.w3.org/2001/04/xmlenc#";>..
    </xenc:CipherValue>
  </xenc:CipherData>
</xenc:EncryptedData>

If there are no objections, I'll submit a patch in the next while to just
define the xenc namespace on the parent element.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to