Re: A minor bug in the OWL 2 XML Schema

Dear Michael,

Thanks for reporting this bug. The bug has now been fixed in [1], which is included in [2]; the diff is [3].

[1] http://www.w3.org/2007/OWL/wiki/OWL_XML_Schema 
[2] http://www.w3.org/2007/OWL/wiki/XML_Serialization
[3] http://www.w3.org/2007/OWL/wiki/index.php?title=OWL_XML_Schema&diff=26203&oldid=25943

Please let me know if this addresses your concerns.

Regards,
Ian Horrocks
on behalf of the W3C OWL Working Group


On 29 Mar 2010, at 16:21, 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

Received on Tuesday, 30 March 2010 11:01:55 UTC