Re: bug in syntax of rif:List

Sandro, Harold, all,

We had an email discussion about that bug in the syntax of rif:List (no 
IRIMETA) [1], but we never discussed it at a telecon, nor did we make a 
decision on how to correct it or acted to actually correct it.

There were two proposed corrections:

1. Just add the missing IRIMETA in the XML schema, changing it to (change 
GROUNDTERM to LISTELEMENT for BLD):
 <xs:element name="List">
   <xs:complexType>
     <xs:sequence>
       <xs:group ref="IRIMETA" minOccurs="0" maxOccurs="1"/>
       <xs:group ref="GROUNDTERM" minOccurs="0" maxOccurs="unbounded"/>
     </xs:sequence>
   </xs:complexType>
 </xs:element> 

2. Take the opportunity and align the syntax of <List> with that of Atom 
and Expr, adding an <items ordered="yes"> role element, and changing the 
schema to the same effect as (change GROUNDTERM to LISTELEMENT for BLD):
 <xs:element name="List">
   <xs:complexType>
     <xs:sequence>
       <xs:group ref="IRIMETA" minOccurs="0" maxOccurs="1"/>
       <xs:element name="items">
         <xs:complexType>
           <xs:sequence>
             <xs:group ref="GROUNDTERM" minOccurs="0" 
maxOccurs="unbounded"/>
           </xs:sequence>
           <xs:attribute name="ordered" type="xs:string" fixed="yes"/>
         </xs:complexType>
       </xs:element> 
     </xs:sequence>
   </xs:complexType>
 </xs:element> 

Harold and Sandro stated their preference for solution 2. 

Shall we decide to go by it, and change Core, BLD and PRD accordingly?

Cheers,

Christian

[1] http://lists.w3.org/Archives/Public/public-rif-wg/2010Jan/0028.html 
and following thread

PS: Just in case you check the schema in PRD, and wonder why it has 
solution 1: I noticed the absence of IRIMETA sometimes ago when doing 
tests with our implementation, and I made myself a note to correct that. 
It is only after I made the correction in PRD, today, and I checked that 
it was aligned with Core and BLD, that I remembered that no decision had 
been made wrt the above discussion.

IBM
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
Siege Social : 17 avenue de l'Europe, 92275 Bois-Colombes Cedex
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 611.451.766,20 ?
SIREN/SIRET : 552 118 465 03644

Received on Wednesday, 21 April 2010 19:45:01 UTC