W3C home > Mailing lists > Public > public-rif-comments@w3.org > August 2009

XML Schemata for RIF-FLD

From: Nick Bassiliades <nbassili@csd.auth.gr>
Date: Sun, 16 Aug 2009 18:01:45 +0300
Message-ID: <4A881F59.9000105@csd.auth.gr>
To: public-rif-comments@w3.org

I would like to congratulate the WG for a thorough and careful work
on defining a rule standard for the web. It is important that the
current standard is based on previous attempts, such as RuleML, so
that interoperability with existing systems/prototypes is maintained.

Mostly, I would like to comment on the XML Schema for RIF-FLD (this may
be present on other RIF-related Schemata; I didn't check).

Specifically, in the FLDSkyline.xsd file there are two lines:

    <xs:include schemaLocation="FLDBaseline.xsd"/>
    <xs:redefine schemaLocation="FLDBaseline.xsd">

which actually should not co-exist, because xs:redefine implies that an
external schema file is included, but some of the definitions in there
are redefined. As a consequence, the above XML Schema file does not
validate in e.g. XMLSpy. Actually, only the redefine is needed.

Furthermore, I would like to remark that currently the XML Schema
definitions for various elements are not opted for modularity and
extensibility. For example, the definition of the element "Implies"
encapsulates its complex data type, not allowing for redefinition by an
extension of FLD.

For example, I'm working on a defeasible logic extension of RIF-FLD,
where I would like to add some attributes to indicate the rule type
(strict, defeasible, defeater). However, since the complexType of
"Implies" is not named, I cannot redefine it, including an attribute list.

I believe that since RIF is supposed to be a family of languages,
extending one another, this extensibility should be taken into account
for the XML Schemata.

Best Regards,

* Dr. Nick Bassiliades, Assistant Professor                  *
* Dept. of Informatics, Aristotle University of Thessaloniki *
* 54124 Thessaloniki, Greece                                 *
*                                                            *
* Tel: +302310997913   E-mail: nbassili@csd.auth.gr          *
* Fax: +302310998419   URL: http://www.csd.auth.gr/~nbassili *
* ========================================================== *
* ISKP (Intelligent Systems & Knowledge Processing) Group    *
* URL: http://iskp.csd.auth.gr/                              *
Received on Sunday, 16 August 2009 15:18:25 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:59 UTC