<?xml version='1.0'?>

<!-- Incorrect Range Indication - Expect Class, get a typed literal -->

<rdf:RDF
  xmlns:rdf ="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:xsd ="http://www.w3.org/2000/10/XMLSchema#"
  xmlns:daml="http://www.daml.org/2001/03/daml+oil#"
  xmlns:ont1="http://www.daml.org/validator/examples/ont1.daml#"
  xmlns     ="http://www.daml.org/validator/examples/st6.daml#"
>

<!-- OK -->
<ont1:Man rdf:ID="dave">
  <ont1:name>Dave</ont1:name>
</ont1:Man>

<!-- In this case 'dave' is a literal of type xsd:Name, not the object -->
<ont1:Man rdf:ID="justin">
  <ont1:name>Justin</ont1:name>
  <ont1:hasParent><xsd:Name rdf:value="dave"/></ont1:hasParent>
</ont1:Man>

</rdf:RDF>


