Bug in SWRL XML schema

swrlx:dataRangeAtom refers to a owlx:datarange group, but the latter
does not exist.

<xsd:element name="datarangeAtom">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:group ref="owlx:datarange"/>
      <xsd:group ref="swrlx:dObject"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

I think the best solution is to replace the definition above with this:

<xsd:element name="datarangeAtom">
  <xsd:complexType>
    <xsd:sequence>
      <xsd:element name="datarange" type="owlx:DataRangeType"
minOccurs="1"/>
      <xsd:group ref="swrlx:dObject"/>
    </xsd:sequence>
  </xsd:complexType>
</xsd:element>

Cheers,
Daniel

Received on Wednesday, 30 May 2007 23:27:24 UTC