Need help on canonicalization issue

Hello,
I would like to kindly ask you for help as the authors of the digital signature and canonicalization specifications on w3c. We are implementing a canonicalization function for our digital signature tool and we need answer to the following question.

Given the following XML data:

<xzep:a xmlns="root_a" xmlns:xzep="xades_zep" xmlns:ds="xmldsig">
	<b xmlns="ns_b" xmlns:e="ns_e">
		<ds:c>
			<d>text D</d>
		</ds:c>
		<e:e>
			cast E
		</e:e>
	</b>
</xzep:a>

What are canonical forms of subsets with root elements c, d, e respectively?

The point is which namespaces should be added to canonical forms of c, d and e. We studied specifications:
- Canonical XML, version 1.0 http://www.w3.org/TR/xml-c14n
- XML Signature Syntax And Processing http://www.w3.org/TR/xmldsig-core/
But we find it quite complex and unclear concerning this issue.

Best regards,

Mgr. Róbert Vittek
 
DITEC, a.s.
Bratislava Business Center V
Plynárenská 7/C
821 09 Bratislava
 
voice: +421 2 58 222 487
fax: +421 2 58 222 777
cell: +421 908 797 827
mailto:vittek@ditec.sk

Received on Thursday, 17 February 2011 13:06:05 UTC