W3C home > Mailing lists > Public > public-rif-dev@w3.org > February 2012

Re: args tag in RIF XML serialization

From: Christian De Sainte Marie <csma@fr.ibm.com>
Date: Tue, 14 Feb 2012 18:27:05 +0100
To: Thomas Krekeler <krekeler@ontoprise.de>
Cc: public-rif-dev@w3.org, Jürgen Angele <angele@ontoprise.de>, Eva Maria Kiss <kiss@ontoprise.de>
Message-ID: <OF714638A0.A65C2D62-ONC12577AD.003CCC79-C12579A4.005FE173@fr.ibm.com>
Hi Thomas,

(added today: I find that never-sent reply in my draft box; sorry for the 
huge delay; fortunately Jürgen pinged me about it :-)

Thomas Krekeler wrote on 22/09/2010 16:02:39:
> 
> which of the following (partial) XML code is valid RIF XML?
> 
> 1) No args tag:
> 
> <Atom>
>    <op><Const type="&rif;iri">http://test.org/P</Const></op>
> </Atom>
> 
> 
> 2) Empty args tag:
> 
> <Atom>
>    <op><Const type="&rif;iri">http://test.org/P</Const></op>
>    <args ordered="yes"/>
> </Atom>

The first one is valid RIF/XML: no args tag (in general: no empty role 
elements).

> In [1] there is no question mark characterizing the args tag as 
optional,
> so I would go for 2 and view 1 as invalid.

This is an error. Will be corrected when we publish an erratum.

> By reading the XML schema ([1]) on the other hand I think 1 is valid
> but 2 is not.

The XML Schema is correct.

Cheers,

Christian

IBM
9 rue de Verdun
94253 - Gentilly cedex - FRANCE
Tel./Fax: +33 1 49 08 29 81



Sauf indication contraire ci-dessus:/ Unless stated otherwise above:
Compagnie IBM France
Siège Social : 17 avenue de l'Europe, 92275 Bois-Colombes Cedex
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 639.291.962.10 ?
SIREN/SIRET : 552 118 465 03644 - Code NAF 6202A 
Received on Tuesday, 14 February 2012 17:27:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 14 February 2012 17:27:51 GMT