error in OWL-XML example

Hello,

In
http://www.w3.org/TR/2009/WD-owl2-primer-20090611/#Datatypes

********************************************
 <DatatypePropertyDomain>
   <DatatypeProperty IRI="hasAge"/>
   <Class IRI="Person"/>
 </DatatypePropertyDomain>
 <DatatypePropertyRange>
   <DatatypeProperty IRI="hasAge"/>
   <Datatype IRI="http://www.w3.org/2001/XMLSchema#NonNegativeInteger"/>
 </DatatypePropertyRange>
********************************************
IMHO should be:
********************************************
 <DataPropertyDomain>
   <DataProperty IRI="hasAge"/>
   <Class IRI="Person"/>
 </DataPropertyDomain>
 <DataPropertyRange>
   <DataProperty IRI="hasAge"/>
   <Datatype IRI="http://www.w3.org/2001/XMLSchema#NonNegativeInteger"/>
 </DataPropertyRange>
********************************************

Yours sincerely

Dmitry

Received on Thursday, 2 July 2009 06:28:22 UTC