W3C home > Mailing lists > Public > public-xmlsec-maintwg@w3.org > August 2007

Re: FW: Clarification sought re C14N11

From: Konrad Lanz <Konrad.Lanz@iaik.tugraz.at>
Date: Wed, 22 Aug 2007 17:59:59 +0200
Message-ID: <46CC5D7F.70500@iaik.tugraz.at>
To: Sean Mullan <Sean.Mullan@Sun.COM>
CC: Thomas Roessler <tlr@w3.org>, XMLSec <public-xmlsec-maintwg@w3.org>, public-xml-core-wg <public-xml-core-wg@w3.org>
Hi Sean,

Sean Mullan wrote:
> Very good example, but I'm not sure I understand the rationale behind
>  fixing it: [...] I agree that it would be much better if xml:lang
> was not inherited in the e3 element,

The rationale behind fixing it in a version post c14n 1.1 is that it
would be the result one would naturally expect.

> but I don't understand how this is related to xml:base fixup.

Well the xml:base in c14n 1.1 fixup will not suffer this idiosyncrasy,
but maybe it should to be consistent with c14n 1.0 .

You are right future versions of c14n could benefit from text like the
following (I slightly modified your proposal).

"A simple inheritable attribute (A) in the xml namespace is ignored if
the nearest ancestor element of A's parent element that is in the
node-set has an attribute in the node-set with the same name and value."

I agree to consider this for a version post c14n 1.1.

> Maybe this text needs to be in section 2.3 in the Attribute Nodes 
> section.

> Even with the suggested fix to section 2.4:
>>> The processing of an element node E MUST be modified slightly 
>>> when an XPath node-set is given as input and the element's parent
>>>  is omitted from the node-set.

> ... I think you can still end up with redundant redeclarations when 
> there is more than one element in the node-set with an omitted parent
>  and some common ancestor contains a simple inheritable attribute.
> What do you think?

With the current text yes, but this is consistent with c14n 1.0 .

Four future versions it might be sufficient to change the clause
"(whether or not they are in the node set)" to "(if they are not in the
node set)".


Konrad Lanz, IAIK/SIC - Graz University of Technology
Inffeldgasse 16a, 8010 Graz, Austria
Tel: +43 316 873 5547
Fax: +43 316 873 5520

Certificate chain (including the EuroPKI root certificate):

Received on Wednesday, 22 August 2007 16:00:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:42 UTC