Re: c14n/exc-c14n interop samples

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 UTC