W3C home > Mailing lists > Public > public-owl-wg@w3.org > March 2010

A minor bug in the OWL 2 XML Schema

From: Boris Motik <boris.motik@comlab.ox.ac.uk>
Date: Mon, 29 Mar 2010 11:14:51 +0100
Message-Id: <CFE182F0-94C2-47CA-8A0D-856F47077DF4@comlab.ox.ac.uk>
To: public-owl-wg@w3.org
Hello,

Michael Wessel from the RACER development team reported a minor bug in the OWL 2 XML Schema, where there should be a choice between the full and the abbreviated IRI in the definitions of the AnnotationPropertyDomain element and the AnnotationPropertyRange element (this choice is available for other elements in the schema).

The definition of the AnnotationPropertyDomain element in the OWL 2 Schema is currently like this:

<xsd:complexType name="AnnotationPropertyDomain">
 <xsd:complexContent>
   <xsd:extension base="owl:AnnotationAxiom">
     <xsd:sequence>
       <xsd:element ref="owl:AnnotationProperty"/>
       <xsd:element ref="owl:IRI"/>
       <xsd:element ref="owl:AbbreviatedIRI"/>
     </xsd:sequence>
   </xsd:extension>
 </xsd:complexContent>
</xsd:complexType>
<xsd:element name="AnnotationPropertyDomain" type="owl:AnnotationPropertyDomain"/>

Note that both owl:IRI and owl:AbbreviatedIRI are listed as mandator. The definition should be as follows:

<xsd:complexType name="AnnotationPropertyDomain">
 <xsd:complexContent>
   <xsd:extension base="owl:AnnotationAxiom">
     <xsd:sequence>
       <xsd:element ref="owl:AnnotationProperty"/>
        <xsd:choice>
          <xsd:element ref="owl:IRI"/>
          <xsd:element ref="owl:AbbreviatedIRI"/>
        </xsd:choice>
     </xsd:sequence>
   </xsd:extension>
 </xsd:complexContent>
</xsd:complexType>
<xsd:element name="AnnotationPropertyDomain" type="owl:AnnotationPropertyDomain"/>

An analogous change is required in the definition of the AnnotationPropertyRange element.


I propose to fix these editorial errors when we republish the OWL specification.

Regards,

Boris
Received on Monday, 29 March 2010 10:15:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 March 2010 10:15:21 GMT