The main ASF Bugzilla instance will be unavailable for 4 hours starting 19.00 UTC 2016-10-29 for an upgrade to 5.0.3
Bug 47029 - Unnecessary namespace declarations on EncryptedData children
Unnecessary namespace declarations on EncryptedData children
Product: Security - Now in JIRA
Classification: Unclassified
Component: Encryption
PC Windows XP
: P2 normal
: ---
Assigned To: XML Security Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2009-04-14 03:33 UTC by coheigea
Modified: 2009-07-09 04:43 UTC (History)
0 users

A patch for this issue (9.51 KB, patch)
2009-04-17 06:32 UTC, coheigea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description coheigea 2009-04-14 03:33:31 UTC
The 1.4.2 release fixed bug 42597 - "Unnecessary namespace declarations on Signature children":

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="">
  <xenc:EncryptionMethod Algorithm=".." xmlns:xenc=""/>
  <xenc:CipherData xmlns:xenc="">
    <xenc:CipherValue xmlns:xenc="">..

If there are no objections, I'll submit a patch in the next while to just define the xenc namespace on the parent element.
Comment 1 sean.mullan 2009-04-16 08:13:19 UTC
No objections. Please attach a patch to the bug report when it is ready. Thanks.
Comment 2 coheigea 2009-04-17 06:32:33 UTC
Created attachment 23504 [details]
A patch for this issue
Comment 3 coheigea 2009-07-09 04:43:27 UTC
Patch applied.