W3C home > Mailing lists > Public > public-rif-dev@w3.org > September 2010

args tag in RIF XML serialization

From: Thomas Krekeler <krekeler@ontoprise.de>
Date: Wed, 22 Sep 2010 16:02:39 +0200
Message-ID: <4C9A0C7F.3000301@ontoprise.de>
To: public-rif-dev@w3.org
Hello,

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>


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

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

Thanks for your help.

[1] http://www.w3.org/TR/rif-fld/#Mapping_of_the_Non-annotated_RIF-FLD_Language
[2] http://www.w3.org/TR/rif-fld/#Baseline_Schema_Module

Yours,
Thomas

- - -
Thomas Krekeler
Development
ontoprise GmbH – know how to use Know-how
- - -

General Electric selects SemanticGuide from ontoprise as a corporate standard for providing intelligent advisory systems for Jenbacher

http://www.ontoprise.de/en/home/news/news-en/general-electric-uses-semanticguide/

- - -
An der RaumFabrik 29; 76227 Karlsruhe; Germany
Tel.: +49 721 509809-51; Fax: +49 721 509809-11
mailto:krekeler@ontoprise.de, www: http://www.ontoprise.com
Registered Office: Karlsruhe, Germany, HRB 109540

Managing Directors: Prof. Dr. Jürgen Angele, Hans-Peter Schnurr
- - -
Received on Wednesday, 22 September 2010 14:03:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 September 2010 14:03:08 GMT