W3C home > Mailing lists > Public > public-webont-comments@w3.org > March 2003

OWL Guide 2003-02-10 wine ontology error

From: Dave Beckett <dave.beckett@bristol.ac.uk>
Date: Tue, 18 Mar 2003 12:01:46 +0000
To: public-webont-comments@w3.org
Message-ID: <2613.1047988906@hoth.ilrt.bris.ac.uk>


In http://www.w3.org/TR/2003/WD-owl-guide-20030210/

the Wine example ontology OWL document
  http://www.w3.org/TR/2003/WD-owl-guide-20030210/wine.owl
is not legal RDF/XML.

It fails to validate with the RDF validator and it reports the error:

229:   <VintageYear rdf:ID="Year1998">
230:     <yearValue rdf:type="&xsd;positiveInteger">1998</yearValue>
231:   </VintageYear>

You can't give a literal a type like that.  You can give it a RDF
datatype with the rdf:datatype attribute - I expect that is what you
meant.  The RDF validator may not pick that up since it is out of
date; there are several separate tools you can use to check this.

Dave
Received on Tuesday, 18 March 2003 07:04:47 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:43:27 GMT