W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > April to June 2002

Re: c14n/exc-c14n interop samples

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Fri, 31 May 2002 08:51:19 +0200
To: Aleksey Sanin <aleksey@aleksey.com>, merlin <merlin@baltimore.ie>
cc: w3c-ietf-xmldsig@w3.org
Message-ID: <307081.1022835079@crypto>

Hi Aleksey,

I would agree on that, but since two weeks, my understanding of c14n is a 
little bit puzzled ;-))

Christian

--On Donnerstag, 30. Mai 2002 22:24 -0700 Aleksey Sanin 
<aleksey@aleksey.com> wrote:

>
> Hi, Merlin!
>
> I have a question regarding your examples. You've canonicalized the second
> reference as follows (c14n-1.txt):
>
> <bar:Something xmlns:bar="http://example.org/bar" xml:lang="en-ie">
>      <foo:Something xmlns:foo="http://example.org/foo">
>         <bar:Something xmlns:bar="http://example.org/bar">
>            <foo:Something xmlns:foo="http://example.org/foo">
>              <baz:Something
> xmlns:baz="http://example.org/baz"></baz:Something>
> </foo:Something>
>         </bar:Something>
>      </foo:Something>
>   </bar:Something>
>
> and it seems to me that according to
> http://www.w3.org/TR/xml-c14n#SuperfluousNSDecl the correct c14n form is
> the following (unnecessary namespace declarations are removed):
>
> <bar:Something xmlns:bar="http://example.org/bar" xml:lang="en-ie">
>      <foo:Something xmlns:foo="http://example.org/foo">
>         <bar:Something>
>            <foo:Something>
>              <baz:Something
> xmlns:baz="http://example.org/baz"></baz:Something>
> </foo:Something>
>         </bar:Something>
>      </foo:Something>
>   </bar:Something>
>
>
> With best regards,
>
> Aleksey Sanin
Received on Friday, 31 May 2002 02:46:22 GMT

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