Debian Codegraph @

t/data/rdfxml-w3c/rdf-ns-prefix-confusion/test0011.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: test0011.rdf,v 1.2 2001/09/06 21:23:35 barstow Exp $
12 -->
13 <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
14 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
15 xmlns:eg="http://example.org/">
16
17 <!--
18 Test case for
19 Issue http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion
20
21 Non-prefixed RDF elements (NOT attributes) are allowed when a
22 default XML element namespace is defined with an
23 xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" attribute.
24
25 Dave Beckett - http://purl.org/net/dajobe/
26
27 -->
28
29 <!-- Testing outer bare RDF element (using default namespace) -->
30
31 <!-- Testing bare Seq element (using default namespace)
32 - expect 2 triples -->
33
34 <!-- 6.2 obj; 6.4 container; 6.25 sequence, part 1; idAttr; -->
35 <Seq rdf:ID="container">
36 <!-- 6.28 member; 6.29 inlineItem, part 1 -->
37 <rdf:li>bar</rdf:li>
38 </Seq>
39
40 </RDF>