W3C home > Mailing lists > Public > xml-encryption@w3.org > July 2003

a question regarding section "http://www.w3.org/TR/xmlenc-core/#sec-Serializing-XML"

From: Ignatius Feng <Ignatius.Feng@healthlink.net>
Date: Tue, 29 Jul 2003 11:51:53 +1200
Message-ID: <9A5F68D761891E4C9810D2894E3C6A660DA929@mail2.orion.internal>
To: <dee3@torque.pothole.com>, <reagle@w3.org>
Cc: <xml-encryption@w3.org>
Hi,
I am reading the section of 4.3.3 Serializing XML (Non-normative) (http://www.w3.org/TR/xmlenc-core/#sec-Serializing-XML).  I have a question regarding the canonicalization of empty default name space (xml="").   According to the  3.4 Specification of Exclusive XML Canonicalization( http://www.w3.org/TR/xml-exc-c14n/#sec-Specification) and 4.7 Propagation of Default Namespace Declaration in Document Subsets <http://www.w3.org/TR/2001/REC-xml-c14n-20010315> [XML-C14N].), 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>
I'd appreciate if  you guys could review and correct me if I am wrong.
Thanks,
Ignatius Feng

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 24/07/2003
 
Received on Monday, 28 July 2003 19:56:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:42:22 GMT