W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > October to December 2003

Re: XML DSig Canonicalization Oddities

From: Joseph Reagle <reagle@mit.edu>
Date: Mon, 22 Dec 2003 14:55:49 -0500
To: "Anders Rundgren" <anders.rundgren@telia.com>, <w3c-ietf-xmldsig@w3.org>
Message-Id: <200312221455.49294.reagle@mit.edu>

The exc-c14n algorithm will see that the namespace corresponding to the "my" 
prefix is "utilized" and emit the NS declaration for you.

On Monday 22 December 2003 14:02, Anders Rundgren wrote:
> Does this also mean that the following is a bad design that will fail
> to validate in most implementations:
>
> <my:elem my:xmlns="htpp....">
>   <dsig:Signature dsig:xmxns=...>
>    <dsig:SignedInfo>
>     <dsig:CanonicalizationMethod
> Algorithm="http://www.w3.org/2001/10/xml-exc-c14n# "> .
>       .
>   <Object>
>      <my:something_defined_in_the_ns_outside_of_Signature.....>
>   </Object>
> </Signature>
> </my:elem>
>
> That is, should you redeclare the the ns associated with "my" _inside: of
> the Signature declaration to be compatible with conforming systems?
Received on Monday, 22 December 2003 14:56:02 GMT

This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:18 GMT