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

Re: signature portability / C14N / inherited namespaces

From: Rob Lugt <roblugt@elcel.com>
Date: Wed, 16 May 2001 15:13:01 +0100
Message-ID: <09e201c0de12$50dd9390$0400a8c0@scott>
To: "merlin" <merlin@baltimore.ie>
Cc: <w3c-ietf-xmldsig@w3.org>
From: "merlin" <merlin@baltimore.ie>
> Hi Rob,
> ...
> In this case yes, but namespace-qualified attributes cannot use
> the default namespace qualifier:
> <x:Foo x:bar="XXX" xmlns:x=...> <!-- the bar attribute has a namespace
URI -->
> <Foo bar="XXX" xmlns=...> <!-- the bar attribute has no namespace URI -->
> So it is unfortunately not a general solution.

One last try at a workable solution whilst adhering to the c14n
specification:- re-use the same namespace prefix from the SOAP header.

<ns:Envelope xmlns:ns="http://schemas.xmlsoap.org/soap/envelope/">
  <Contract xmlns="&foo;">
   <ns:Signature xmlns:ns="&dsig;">...</ns:Signature>

I think the namespace prefix should ideally be a descriptive name which
makes this solution less than elegant.  But perhaps it satisfies your
current requirement?

Rob Lugt
Received on Wednesday, 16 May 2001 10:11:14 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:10:04 UTC