- From: Joseph Reagle <reagle@w3.org>
- Date: Tue, 29 Jul 2003 09:31:48 -0400
- To: "Ignatius Feng" <Ignatius.Feng@healthlink.net>
- Cc: <xml-encryption@w3.org>
On Monday 28 July 2003 19:51, Ignatius Feng wrote: > it seems > that the output of canonicalization of <Document > xmlns="http://example.org/"> > <ToBeEncrypted xmlns="" /> > </Document> > should already include the xmlns="" as follows: > <Document xmlns="http://example.org/"> > <ToBeEncrypted xmlns=""><ToBeEncrypted> > </Document> Hi Ignatius, the tricky bit here is that it's *not* the Document element that is being canonicalized, because it is *not* the Document element being encrypted. Instead, it is the fragment ToBeEncrypted that is being encrypted and consequently isolated from its context and canonicalized. When you isolate ToBeEncrypted from its context the canonicalization will not emit the xmlns="" because as far as it's concerned, ToBeEncrypted is the root element and there's no context to "over-ride".
Received on Tuesday, 29 July 2003 09:31:55 UTC