Re: args tag in RIF XML serialization

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 UTC