summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-48.rdf
blob: 88f469b32f1255b91fdf2abbe93afe4a1d18d2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:ex="http://example.com/properties/">

  <!-- Check that the core SGML/XML entities are properly encoded when 
       building the XML string -->

  <rdf:Description rdf:about="http://example.org/node0">
     <ex:prop1 rdf:parseType="Literal"> &amp; </ex:prop1>
     <ex:prop2 rdf:parseType="Literal"> &lt; </ex:prop2>
     <ex:prop3 rdf:parseType="Literal"> &gt; </ex:prop3>
     <ex:prop4 rdf:parseType="Literal">&gt;&amp;&lt;</ex:prop4>
     <ex:prop5 rdf:parseType="Literal">&lt;ex:notaprop&gt;</ex:prop5>
  </rdf:Description>

</rdf:RDF>