You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by bu...@apache.org on 2009/04/14 12:33:32 UTC

DO NOT REPLY [Bug 47029] New: Unnecessary namespace declarations on EncryptedData children

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: coheigea@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.

DO NOT REPLY [Bug 47029] Unnecessary namespace declarations on EncryptedData children

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47029





--- Comment #1 from sean.mullan@sun.com  2009-04-16 08:13:19 PST ---
No objections. Please attach a patch to the bug report when it is ready.
Thanks.

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

DO NOT REPLY [Bug 47029] Unnecessary namespace declarations on EncryptedData children

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47029


coheigea <co...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from coheigea <co...@apache.org>  2009-07-09 04:43:27 PST ---

Patch applied.

Colm.

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

DO NOT REPLY [Bug 47029] Unnecessary namespace declarations on EncryptedData children

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47029





--- Comment #2 from coheigea <co...@apache.org>  2009-04-17 06:32:33 PST ---
Created an attachment (id=23504)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23504)
A patch for this issue

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