Debian Codegraph @

t/data/rdfxml-w3c/rdfms-empty-property-elements/test017.rdf

raw
1 <!--
2 Copyright World Wide Web Consortium, (Massachusetts Institute of
3 Technology, Institut National de Recherche en Informatique et en
4 Automatique, Keio University).
5
6 All Rights Reserved.
7
8 Please see the full Copyright clause at
9 <http://www.w3.org/Consortium/Legal/copyright-software.html>
10
11 $Id: test017.rdf,v 1.1 2002/07/26 04:26:56 jcarroll Exp $
12 -->
13 <!--
14
15 Description:
16 Like test001.rdf but with a comment
17 as the only content of the otherwise empty element.
18
19 Author: Jeremy Carroll
20
21 -->
22 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
23 xmlns:random="http://random.ioctl.org/#">
24
25 <rdf:Description rdf:about="http://random.ioctl.org/#bar">
26 <random:someProperty rdf:resource="http://random.ioctl.org/#foo"><!--
27 A comment
28
29 Even with a comment or a processing instruction within an empty
30 property element, it is still empty because an RDF Parser ignores
31 the processing instruction and comment nodes when not within an
32 XML Literal.
33
34 --></random:someProperty>
35 </rdf:Description>
36
37 </rdf:RDF>
38