Re: A minor bug in the OWL 2 XML Schema

Hi Boris,

+1 on these.
-Alan

On Mon, Mar 29, 2010 at 11:21 AM, Boris Motik
<boris.motik@comlab.ox.ac.uk> wrote:
> 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 18:02:31 UTC