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

Re: Questions about c14n implementation

From: Christian Geuer-Pollmann <geuer-pollmann@nue.et-inf.uni-siegen.de>
Date: Mon, 30 Jul 2001 15:30:49 +0200
To: "Donald E. Eastlake 3rd" <dee3@torque.pothole.com>
Cc: w3c-ietf-xmldsig@w3.org
Message-ID: <74636634.996507049@clouseau>
Hi Donald,

>> 2. Question: How did you check the 3rd processor requirement:
>> "Implementations MUST NOT be implemented with an XML parser that
>> converts relative URIs to absolute URIs." . How should a parser (like
>> Xerces) convert a URI? Does a parser understands what a URI is?

> Don't know about a parser but a schema verifier would, I think.
> If it knows that some attribute value is a URI, who knows what
> it might do to it... knowledge can be a dangerous thing.

OK, this relates to Schema. My question is:

Do we have some test vectors (like 3.1-3.7 examples in the c14n spec) that 
define the correct behaviour? I'm looking for test vectors (correct and bad 
ones) that allow me to ensure functionality of my implementation. For 
instance I want to ensure that an input like

<absolute:correct      xmlns:absolute='http://www.absolute.org/#likeVodka'>
<relative:incorrect    xmlns:relative='../cheating#away'>

throws an CanonicalizationException because of the use of relative URIs. Do 
we have something like this for the above topic?

Question to IBM and IAIK: How did you test this behaviour?

Regards, Christian
Received on Monday, 30 July 2001 09:35:21 UTC

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