summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/warn-07.rdf
blob: c187dd1efbe14560a917b9d574db81496c7896b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?> 
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns="http://example.org/ns#">

  <!-- test warning for unknown rdf:parseType values (taken as Literal) -->

  <rdf:Description rdf:about="http://example.org/node">
    <prop1 rdf:parseType="Fake">
      <name>prop1name</name>
    </prop1>

    <!-- this is not a Collection but a bunch of XML -->
    <prop2 rdf:parseType="collection">
      <rdf:Description rdf:about="http://example.org/first" />
      <rdf:Description rdf:about="http://example.org/second" />
      <rdf:Description rdf:about="http://example.org/third" />
    </prop2>
  </rdf:Description>

</rdf:RDF>