W3C home > Mailing lists > Public > w3c-ietf-xmldsig@w3.org > January to March 2002

questions about exc-c14n

From: Aleksey Sanin <aleksey@aleksey.com>
Date: Sun, 03 Mar 2002 00:16:09 -0800
Message-ID: <3C81DBC9.2030506@aleksey.com>
To: XML Signature <w3c-ietf-xmldsig@w3.org>
Hello, List!

I am working on C14N and Exc-C14N standards implementation 
based on gnome-xml library and I have few questions about ext-c14n. 
It'll be great if someone can help me with it.

Thank you in advance,


Questions about Exc-C14N:
1) Do we need to exclude default "xml" namespace "xml"
with href="http://www.w3.org/XML/1998/namespace" when 
a node has an attribute in this namespace (for example, 
"xml:space") as it is done in C14N? I suspect that the answer
is "yes" but want to confirm it.
2) The same as above but the default namespace is in the 
InclusiveNamespaces PrefixList?
3) From the documentation it is not clear should the 
namespace utilized by an "invisible" attribute (i.e.
the attribute not in the XPath subset). I guess the answer
is "no" but it'll be better to make it more clear.
4) one of exc-c14n tests I found in this mailing lists
processes attached document test.xml with following 
results (spaces and line breaks are corrupted):
>policy: xmlsec-python> test_c14n.py -e -i eg3.xml -x 
> '(//. | //@* | //namespace::*)[ancestor-or-self::e6]'
><e6 test="../baz">
>	<e7>
>		<e8 xmlns:a="http://www.w3.org" a:foo="bar">
> 			<e9 attr="default"></e9>
>		</e8>
>	</e7>

However, I am not sure I understand why there is no namespace definition 
xmlns="http://www.ietf.org" in <e7> node. AFAIK, this node utilizes
this attribute itself since it has following definition in original 
	<e7 xmlns="http://www.ietf.org">  	
and according to specification:
 "A similar definition applies for an element E in a document subset 
 that visibly utilizes the default namespace declaration, which occurs 
 if E has no namespace prefix."
Will you clarify this, please?

Received on Sunday, 3 March 2002 03:14:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:21:37 UTC