W3C home > Mailing lists > Public > public-rif-wg@w3.org > May 2009

Re: [RIF] XML syntax ofr lists

From: Christian De Sainte Marie <csma@fr.ibm.com>
Date: Mon, 4 May 2009 17:06:13 +0200
To: RIF <public-rif-wg@w3.org>
Message-ID: <OF0D860573.6E96CF73-ONC12575AC.0052D518-C12575AC.0052F80B@fr.ibm.com>
********* NOTICE **********
My new email address at IBM is: csma@fr.ibm.com
My ILOG email address will not be forwarded after June 8
*****************************

Harold,


"Boley, Harold" <Harold.Boley@nrc-cnrc.gc.ca> wrote on 04/05/2009 
16:53:05:
> 
> Christian de Sainte Marie wrote:
>> 
>> "Boley, Harold" <Harold.Boley@nrc-cnrc.gc.ca> wrote on 04/05/2009 
14:41:27: 
>>> 
>>> Michael, Adrian, and I have implemented in our Actions what was 
>>> specified here: 
>>> http://www.w3.org/2005/rules/wiki/Lists 
>> 
>> You are right. I had seen that. 
>> 
>> The problem I had is that it violates the "stripping" we have 
>> enforced everywhere else: there is no "role" element between the 
>> <List> element and the elements in the list; whereas there is one 
>> for the tail (the <rest> element). Hence my proposed addition of a 
>> <elements rif:ordered="yes"> role element. 
>>
>
> We have always known that when we developed Lists over the last 
> couple of years.
> Lists are an XML-like, sequential, 'unstriped' data structure by 
> their very nature.
 
This becomes more than "just" an editorial decision, since it touches to 
the principles of RIF XML => I move the discussion to the main list.

All: I also attach, below, the message that started that discussion

Cheers,

Christian 

> > From: Christian De Sainte Marie [mailto:csma@fr.ibm.com] 
> > Sent: May 4, 2009 8:46 AM
> > To: Boley, Harold; gary.hallmark@oracle.com; Changhai Ke
> > Subject: [RIF] XML syntax ofr lists 
> > 
> > ********* NOTICE **********
> > My new email address at IBM is: csma@fr.ibm.com
> > My ILOG email address will not be forwarded after June 8
> > *****************************
> > 
> > Harold, Gary, Changhai, 
> > 
> > I do not know if you already proposed an XML synatx ofr lists. Just 
> > in case, here is what I wrote in PRD, provisionally: 
> > --------------------------------------- 
> > In RIF, the List element is used to serialize a list. 
> > The List element contains either nothing, or: 
> > one elements sub-element, that contains one or more TERMs that 
> > serialise the elements of the list. The order of the elements is 
> > significant and MUST be preserved, as emphasized by the required 
> > rif:ordered="yes" attribute; 
> > followed by zero or one rest sub-element, that contains one TERM 
> > that serializes the tail of the list. 
> >     <List>
> >       [ <elements rif:ordered="yes">
> >            TERM+
> >         </elements>
> >         <rest> TERM </rest>?
> >       ]?
> >    </List> 
> > Example 2.2. 
> > <List>
> >  <elements rif:ordered="yes">
> >     <Const type="xsd:string> New </Const>
> >     <Const type="xsd:string> Bronze </Const>
> >     <Const type="xsd:string> Silver </Const>
> >     <Const type="xsd:string> Gold </Const>
> >  </elements>
> > </List>
> > --------------------- 
> > Cheers 
> > Christian
> > 
> > ILOG, an IBM Company
> > 9 rue de Verdun
> > 94253 - Gentilly cedex - FRANCE
> > Tel. +33 1 49 08 35 00
> > Fax +33 1 49 08 35 10
> > 
> > 
> > Sauf indication contraire ci-dessus:/ Unless stated otherwise above:
> > Compagnie IBM France
> > Siège Social : Tour Descartes, 2, avenue Gambetta, La Défense 5, 
> > 92400 Courbevoie
> > RCS Nanterre 552 118 465
> > Forme Sociale : S.A.S.
> > Capital Social : 609.751.783,30 ?
> > SIREN/SIRET : 552 118 465 02430



Sauf indication contraire ci-dessus:/ Unless stated otherwise above:
Compagnie IBM France
Siège Social : Tour Descartes, 2, avenue Gambetta, La Défense 5, 92400 
Courbevoie
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 609.751.783,30 ?
SIREN/SIRET : 552 118 465 02430
Received on Monday, 4 May 2009 15:07:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 18:34:08 GMT