Re: XML DSig Canonicalization Oddities

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 UTC