W3C home > Mailing lists > Public > www-rdf-rules@w3.org > May 2007

Bug in SWRL XML schema

From: Daniel Elenius <elenius@csl.sri.com>
Date: Wed, 30 May 2007 16:25:28 -0700
To: www-rdf-rules@w3.org
Message-Id: <1180567528.3553.9.camel@localhost.localdomain>

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

This archive was generated by hypermail 2.3.1 : Wednesday, 2 March 2016 11:10:18 UTC