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

Re: A minor bug in the OWL 2 XML Schema

From: Rinke Hoekstra <hoekstra@few.vu.nl>
Date: Mon, 29 Mar 2010 13:18:08 +0200
Cc: public-owl-wg@w3.org
Message-Id: <737D70C0-7223-49F9-8BF6-810847CD8890@few.vu.nl>
To: Boris Motik <boris.motik@comlab.ox.ac.uk>
Hi Boris,

Here's my +1. This is clearly a bugfix.

-Rinke

On 29 mrt 2010, at 12:14, Boris Motik 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


---
Dr Rinke Hoekstra

AI Department         |   Leibniz Center for Law    
Faculty of Sciences   |   Faculty of Law            
Vrije Universiteit    |   Universiteit van Amsterdam
De Boelelaan 1081a    |   Kloveniersburgwal 48      
1081 HV Amsterdam     |   1012 CX  Amsterdam        
+31-(0)20-5987752     |   +31-(0)20-5253497         
hoekstra@few.vu.nl    |   hoekstra@uva.nl           

Homepage: http://www.few.vu.nl/~hoekstra
Received on Monday, 29 March 2010 11:18:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 29 March 2010 11:18:42 GMT