<?xml version='1.0'?>
<!-- Typed Literal Value Indication -->

<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     ="http://www.daml.org/validator/examples/dt3.daml#"
>

<daml:Class rdf:ID="Person"/>

<daml:DatatypeProperty rdf:ID="age"/>

<!-- OK -->
<Person rdf:ID="Charles">
  <age><xsd:integer rdf:value="10"/></age>
</Person>

<!-- The value needs to be in the rdf:value attribute -->
<!-- is this peculiar to RDF-API? -->
<Person rdf:ID="Lucy">
  <age><xsd:integer>12</xsd:integer></age>
</Person>

<!-- Missing the rdf:value attribute -->
<Person rdf:ID="Linus">
  <age><xsd:integer/></age>
</Person>

</rdf:RDF>
