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

Re: [Fwd: C14N 1.1 CR draft [was: Agenda for XML Core WG telcon of 2007 May 9]]

From: Konrad Lanz <Konrad.Lanz@iaik.tugraz.at>
Date: Tue, 08 May 2007 21:13:17 +0200
Message-ID: <4640CBCD.5080705@iaik.tugraz.at>
To: frederick.hirsch@nokia.com
CC: public-xml-core-wg@w3.org, public-xmlsec-maintwg@w3.org

Hi Frederick,

... it seems as if some of the changes are included already ...

Maybe the following text could benefit from using the term "document 
order" because the ancestor axis is in reverse document order and 
confusion may arise ...
> Given this "join URI" function for |xml:base| fix up the processing of 
> the attribute axis of an element */E/* in the node-set will be 
> enhanced further. The element nodes along */E/*'s ancestor axis are 
> now examined for all occurrences of |xml:base|, that have been omitted 
> (i.e. they are not in the node-set). Let */E/* be an element in the 
> node set whose ancestor axis contains successive elements 
> */E1/*...*/En/* that are omitted and */E/*=*/En/*+1 is included. Then 
> fix-up is only performed if one of */E1/* ... */En/* has an |xml:base| 
> attribute. In that case let */Xm/* ... */X1/* be the values of the 
> |xml:base| attributes on */En/*...*/E1/* (in order from outermost to 
> innermost). The sequence of values is reduced to a single value by 
> first combining */Xm/* with */Xm-1/*, then the result with */Xm-2/*, 
> and so on by calling the "join URI" function described previously 
> until the new value for */E/*'s |xml:base| attribute remains. The 
> result may also be null or empty (|xml:base=""|) in which case 
> |xml:base| MUST NOT be rendered.

A draft ....

Given this "join URI" function for xml:base fix up the processing of the 
attribute axis of an element E in the node-set will be enhanced further. 
The element nodes along E's ancestor axis are now examined for all 
occurrences of xml:base, that have been omitted (i.e. they are not in 
the node-set). Let E be an element in the node set whose ancestor axis 
contains successive elements En...E1 (in reverse document order) that 
are omitted and E=En+1 is included. Then fix-up is only performed if at 
lest one of E1 ... En has an xml:base attribute. In that case let X1 ... 
Xm be the values of the xml:base attributes on E1 ... En+1 (in document 
order, from outermost to innermost, m <= n+1). The sequence of values is 
reduced in reverse document order to a single value by first combining 
Xm with Xm-1, then the result with Xm-2, and so on by calling the "join 
URI" function described previously until the new value for E's xml:base 
attribute remains. The result may also be null or empty (xml:base="") in 
which case xml:base MUST NOT be rendered.


Advantages:
 - index now aligned with document order
 - clearly expresses that E = En+1's value is to be considered too (if 
exists it has the index m)
 - m <= n+1 clarifies that index 1..n may not correlate with 1..m

Thoughts ?

Konrad

Konrad Lanz schrieb:
> Hi Frederick,
>
> maybe you want to get in touch with the XML Core WG ...
>
> ... it seems as if Paul is progressing with C14n already ...
>
> regards
> Konrad
>
> P.S.: Is there anything I should mention in tomorrows XML Core WG 
> telco ...
>
> -------- Original-Nachricht --------
> Betreff:     C14N 1.1 CR draft [was: Agenda for XML Core WG telcon of 
> 2007 May 9]
> Weitersenden-Datum:     Mon, 07 May 2007 21:53:45 +0000
> Weitersenden-Von:     public-xml-core-wg@w3.org
> Datum:     Mon, 7 May 2007 17:51:14 -0400
> Von:     Grosso, Paul <pgrosso@ptc.com>
> An:     <public-xml-core-wg@w3.org>
> Referenzen: 
> <CF83BAA719FD2C439D25CBB1C9D1D3020749153F@HQ-MAIL4.ptcnet.ptc.com> 
> <OF62053EED.22604106-ON852572D4.0071872D-852572D4.0076E99A@us.ibm.com>
>
>
>
>     From: public-xml-core-wg-request@w3.org On Behalf Of Glenn Marcy
>     Sent: Monday, 2007 May 07 16:39
>     To: public-xml-core-wg@w3.org
>     Subject: Re: Agenda for XML Core WG telcon of 2007 May 9
>           > ACTION to Glenn:  Produce a CR draft     
>     Coming soon.     
>     Regards,     Glenn     
> ________________________________
>
> Glenn's latest draft is at
> http://www.w3.org/XML/Group/2007/05/CR-xml-c14n11-20070509
>
> paul
>
>
>
Received on Tuesday, 8 May 2007 19:13:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:21:59 GMT