Debian Codegraph @

tests/rdfa11/0295.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html>
3 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:air="http://www.daml.org/2001/10/html/airport-ont#"
4 xmlns:bio="http://vocab.org/bio/0.1/"
5 xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"
6 xmlns:cc="http://creativecommons.org/ns#"
7 xmlns:cert="http://www.w3.org/ns/auth/cert#"
8 xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#"
9 xmlns:dc="http://purl.org/dc/terms/"
10 xmlns:dct="http://purl.org/dc/terms/"
11 xmlns:earl="http://www.w3.org/ns/earl#"
12 xmlns:example="http://example.org/"
13 xmlns:ex="http://example.org/"
14 xmlns:foaf="http://xmlns.com/foaf/0.1/"
15 xmlns:google="http://rdf.data-vocabulary.org/#"
16 xmlns:ical="http://www.w3.org/2002/12/cal/icaltzd#"
17 xmlns:openid="http://xmlns.openid.net/auth#"
18 xmlns:owl="http://www.w3.org/2002/07/owl#"
19 xmlns:rdfatest="http://rdfa.info/vocabs/rdfa-test#"
20 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
21 xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
22 xmlns:rel="http://vocab.org/relationship/"
23 xmlns:rsa="http://www.w3.org/ns/auth/rsa#"
24 xmlns:rss="http://web.resource.org/rss/1.0/"
25 xmlns:sioc="http://rdfs.org/sioc/ns#"
26 xmlns:v="http://www.w3.org/2006/vcard/ns#"
27 xmlns:wot="http://xmlns.com/wot/0.1/"
28 xmlns:xhv="http://www.w3.org/1999/xhtml/vocab#"
29 xmlns:xsd="http://www.w3.org/2001/XMLSchema#">
30 <head>
31 <title>RDFa 1.1 Benchmark File #1</title>
32 </head>
33 <body>
34 <p>This photo was taken by <span class="author" about="photo1.jpg" property="dc:creator">Mark Birbeck</span>.</p>
35 <p>
36 This photo was taken by
37 <a about="photo1.jpg" rel="dc:creator" rev="foaf:img"
38 href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
39 </p>
40 <p>This photo was taken by
41 <a about="photo1.jpg" property="dc:title"
42 content="Portrait of Mark" rel="dc:creator"
43 rev="foaf:img" href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
44 </p>
45 <p>This document is licensed under a
46 <a about="" rel="cc:license"
47 href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
48 Creative Commons
49 </a>.
50 </p>
51 <p></p>
52 <p></p>
53 <p></p>
54 <p></p>
55 <p>
56 <span about="http://example.org/foo"
57 property="ex:bar" content="10" datatype="xsd:integer">ten</span>
58 </p>
59 <p></p>
60 <p>
61 <span about="[_:a]" property="foaf:name">Manu Sporny</span>
62 <span about="[_:a]" rel="foaf:knows"
63 resource="[_:b]">knows</span>
64 <span about="[_:b]" property="foaf:name">Ralph Swick</span>.
65 </p>
66 <p>
67 This photo was taken by
68 <a about="photo1.jpg" rel="dc:creator"
69 href="http://www.blogger.com/profile/1109404">Mark Birbeck</a>.
70 </p>
71 <div about="mailto:[email protected]"
72 rel="foaf:knows" href="mailto:[email protected]"></div>
73 <div about="photo1.jpg">
74 <span class="attribution-line">this photo was taken by
75 <span property="dc:creator">Mark Birbeck</span>
76 </span>
77 </div>
78 <div>
79 <span class="attribution-line">this photo was taken by
80 <span property="dc:creator">Mark Birbeck</span>
81 </span>
82 </div>
83 <div id="photo1">
84 This photo was taken by
85 <span property="dc:creator">Mark Birbeck</span>
86 </div>
87 <p>
88 This paper was written by
89 <span rel="dc:creator" resource="#me">
90 <span property="foaf:name">Ben Adida</span>.
91 </span>
92 </p>
93 <p>
94 <span about="http://internet-apps.blogspot.com/"
95 property="dc:creator" content="Mark Birbeck" />
96 </p>
97 <p>
98 <span about="http://internet-apps.blogspot.com/"
99 property="dc:creator" content="Mark Birbeck">Mark B.
100 </span>
101 </p>
102 <p>
103 <span about="http://example.org/foo"
104 property="dc:creator" datatype="xsd:string"><b>M</b>ark <b>B</b>irbeck</span>.
105 </p>
106 <p>This document is licensed under a
107 <a rel="cc:license"
108 href="http://creativecommons.org/licenses/by-nc-nd/2.5/">
109 Creative Commons License
110 </a>.
111 </p>
112 <p about="#wtw">
113 The book <b>Weaving the Web</b> (hardcover) has the ISBN
114 <span rel="dc:identifier" resource="urn:ISBN:0752820907">0752820907</span>.
115 </p>
116 <p about="#wtw">
117 The book <b>Weaving the Web</b> (hardcover) has the ISBN
118 <a rel="dc:identifier" resource="urn:ISBN:0752820907"
119 href="http://www.amazon.com/Weaving-Web-Tim-Berners-Lee/dp/0752820907">0752820907</a>.
120 </p>
121 <p>
122 This paper was written by
123 <span rel="dc:creator">
124 <span property="foaf:name">Ben Adida</span>.
125 </span>
126 </p>
127 <div about="http://sw-app.org/mic.xhtml#i" rel="foaf:img">
128 <img src="http://sw-app.org/img/mic_2007_01.jpg"
129 alt="A photo depicting Michael" />
130 </div>
131 <div>
132 <img about="http://sw-app.org/mic.xhtml#i"
133 rel="foaf:img"
134 src="http://sw-app.org/img/mic_2007_01.jpg"
135 href="http://sw-app.org/img/mic_2006_03.jpg"
136 alt="A photo depicting Michael" />
137 </div>
138 <div>
139 <img about="http://sw-app.org/mic.xhtml#i"
140 rel="foaf:img"
141 src="http://sw-app.org/img/mic_2007_01.jpg"
142 resource="http://sw-app.org/img/mic_2006_03.jpg"
143 alt="A photo depicting Michael" />
144 </div>
145 <div>
146 <img about="http://sw-app.org/mic.xhtml#i"
147 rel="foaf:img"
148 src="http://sw-app.org/img/mic_2007_01.jpg"
149 href="http://sw-app.org/img/mic_2006_03.jpg"
150 resource="http://sw-app.org/mic.xhtml#photo"
151 alt="A photo depicting Michael" />
152 </div>
153 <div about="http://sw-app.org/mic.xhtml#i" rev="foaf:depicts">
154 <img src="http://sw-app.org/img/mic_2007_01.jpg"
155 alt="A photo depicting Michael" />
156 </div>
157 <div>
158 <img about="http://sw-app.org/mic.xhtml#i"
159 rev="foaf:depicts"
160 src="http://sw-app.org/img/mic_2007_01.jpg"
161 href="http://sw-app.org/img/mic_2006_03.jpg"
162 alt="A photo depicting Michael" />
163 </div>
164 <div>
165 <img src="http://sw-app.org/img/mic_2007_01.jpg"
166 rev="alternate"
167 resource="http://sw-app.org/img/mic_2006_03.jpg"
168 alt="A photo depicting Michael" />
169 </div>
170 <div>
171 <img about="http://sw-app.org/mic.xhtml#i"
172 rev="foaf:depicts"
173 src="http://sw-app.org/img/mic_2007_01.jpg"
174 href="http://sw-app.org/img/mic_2006_03.jpg"
175 resource="http://sw-app.org/mic.xhtml#photo"
176 alt="A photo depicting Michael" />
177 </div>
178 <div>
179 <img rel="foaf:img"
180 src="http://sw-app.org/img/mic_2007_01.jpg"
181 alt="A photo depicting Michael" />
182 </div>
183 <div rel="foaf:maker" typeof="foaf:Document">
184 <p property="foaf:name">John Doe</p>
185 </div>
186 <div rel="foaf:maker" typeof="foaf:Document" resource="http://www.example.org/#me">
187 <p property="foaf:name">John Doe</p>
188 </div>
189 <div about="http://www.example.org/#me" rel="foaf:knows" typeof="foaf:Person">
190 <p property="foaf:name">John Doe</p>
191 </div>
192 <div about="http://www.example.org/#me" typeof="foaf:Person">
193 <p property="foaf:name">John Doe</p>
194 </div>
195 <div typeof="foaf:Person">
196 <p property="foaf:name">John Doe</p>
197 </div>
198 <p about="" typeof="foaf:Document" property="foaf:topic">John Doe</p>
199 <p typeof="foaf:Person" resource="http://www.example.org/#me">
200 John Doe
201 </p>
202 <p typeof="foaf:Person" resource="http://www.example.org/#me">
203 <span property="foaf:name">John Doe</span>
204 </p>
205 <p>
206 This document was authored and published by
207 <span about="" property="dc:creator dc:publisher">Fabien Gandon</span>.
208 </p>
209 <p>
210 This document was authored and published by
211 <a about="" rel="dc:creator dc:publisher" href="http://www-sop.inria.fr/acacia/fabien/">Fabien Gandon</a>.
212 </p>
213 <div about="http://www.example.org/#ben" typeof="foaf:Person" rel="foaf:knows">
214 <p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
215 </div>
216 <div about="http://www.example.org/#ben" rel="foaf:knows">
217 <p about="http://www.example.org/#mark" property="foaf:name">Mark Birbeck</p>
218 <p about="http://www.example.org/#ivan" property="foaf:name">Ivan Herman</p>
219 </div>
220 <div about="http://www.example.org/#ben" rel="foaf:knows">
221 <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
222 <p typeof="foaf:Person" property="foaf:name">Ivan Herman</p>
223 </div>
224 <p>This document was authored and published by:</p>
225 <ul rel="dc:creator dc:publisher">
226 <li about="http://www.example.org/#manu" property="foaf:name">Manu Sporny</li>
227 <li about="http://www.example.org/#fabien" property="foaf:name">Fabien Gandon</li>
228 </ul>
229 <div about="http://www.example.org/#matsumoto-kimiko"
230 typeof="foaf:Person">
231 <p property="foaf:name">松本 后子</p>
232 </div>
233 <p>This is the first chapter in a series of chapters.</p>
234 <p>This is unit test #62. The next unit test is #63.</p>
235 <p>This is the 63<sup>rd</sup> test. The next test is #64.</p>
236 <p about="[_:michael]">Michael knows
237 <a rel="foaf:knows" href="http://digitalbazaar.com/people/manu">Manu</a>.
238 </p>
239 <div about="[_:manu]">
240 Manu Sporny can be reached via
241 <a rel="foaf:mbox" href="mailto:[email protected]">email</a>.
242 <span rel="foaf:knows" resource="[_:michael]">He knows Michael.</span>
243 </div>
244
245 <div about="[_:michael]">
246 Michael can be reached via
247 <a rel="foaf:mbox" href="mailto:[email protected]">email</a>.
248 </div>
249 <p>This is test #66.</p>
250 <p>This is test #67.</p>
251 <p about="0067.xml">
252 The previous test was
253 <span property="dc:title">Test 0067</span>.
254 </p>
255 <p>The next test will be
256 <a about="" rel="xhv:next" href="0070.xml">Test 0070</a>.
257 </p>
258 <p>The previous test was
259 <span about="" rel="xhv:prev" resource="0069.xml">Test 0069</span>.
260 </p>
261 <p>This page is under a Creative Commons
262 <a rel="cc:license"
263 href="http://creativecommons.org/licenses/by-nd/3.0/">
264 Attribution-No Derivatives 3.0 license</a>.
265 </p>
266 <p about="faq">
267 Learn more by reading the example.org
268 <span property="dc:title">Example FAQ</span>.
269 </p>
270 <p>
271 This article was written by
272 <span rel="dc:creator" resource="jane">Jane</span>.
273 </p>
274 <p>
275 This article was written by
276 <a rel="dc:creator" href="jane">Jane</a>.
277 </p>
278 <p>
279 This page is under a Creative Commons
280 <a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/">Attribution-No Derivatives 3.0 license</a>.
281 </p>
282 <p>
283 <a rel="alternate" href="http://example.org/alternate">alternate</a>
284 <a rel="appendix" href="http://example.org/appendix">appendix</a>
285 <a rel="bookmark" href="http://example.org/bookmark">bookmark</a>
286 <a rel="cite" href="http://example.org/cite">cite</a>
287 <a rel="chapter" href="http://example.org/chapter">chapter</a>
288 <a rel="contents" href="http://example.org/contents">contents</a>
289 <a rel="copyright" href="http://example.org/copyright">copyright</a>
290 <a rel="glossary" href="http://example.org/glossary">glossary</a>
291 <a rel="help" href="http://example.org/help">help</a>
292 <a rel="icon" href="http://example.org/icon">icon</a>
293 <a rel="index" href="http://example.org/index">index</a>
294 <a rel="last" href="http://example.org/last">last</a>
295 <a rel="license" href="http://example.org/license">license</a>
296 <a rel="meta" href="http://example.org/meta">meta</a>
297 <a rel="next" href="http://example.org/next">next</a>
298 <a rel="p3pv1" href="http://example.org/p3pv1">p3pv1</a>
299 <a rel="prev" href="http://example.org/prev">prev</a>
300 <a rel="role" href="http://example.org/role">role</a>
301 <a rel="section" href="http://example.org/section">section</a>
302 <a rel="subsection" href="http://example.org/subsection">subsection</a>
303 <a rel="start" href="http://example.org/start">start</a>
304 <a rel="stylesheet" href="http://example.org/stylesheet">stylesheet</a>
305 <a rel="up" href="http://example.org/up">up</a>
306 </p>
307 <p>
308 <span about="http://example.org/alternate" rev="alternate"
309 href="0077.xml">alternate</span>
310 <span about="http://example.org/appendix" rev="appendix"
311 href="0077.xml">appendix</span>
312 <span about="http://example.org/bookmark" rev="bookmark"
313 href="0077.xml">bookmark</span>
314 <span about="http://example.org/cite" rev="cite"
315 href="0077.xml">cite</span>
316 <span about="http://example.org/chapter" rev="chapter"
317 href="0077.xml">chapter</span>
318 <span about="http://example.org/contents" rev="contents"
319 href="0077.xml">contents</span>
320 <span about="http://example.org/copyright" rev="copyright"
321 href="0077.xml">copyright</span>
322 <span about="http://example.org/glossary" rev="glossary"
323 href="0077.xml">glossary</span>
324 <span about="http://example.org/help" rev="help"
325 href="0077.xml">help</span>
326 <span about="http://example.org/icon" rev="icon"
327 href="0077.xml">icon</span>
328 <span about="http://example.org/index" rev="index"
329 href="0077.xml">index</span>
330 <span about="http://example.org/first" rev="first"
331 href="0077.xml">first</span>
332 <span about="http://example.org/last" rev="last"
333 href="0077.xml">last</span>
334 <span about="http://example.org/license" rev="license"
335 href="0077.xml">license</span>
336 <span about="http://example.org/meta" rev="meta"
337 href="0077.xml">meta</span>
338 <span about="http://example.org/next" rev="next"
339 href="0077.xml">next</span>
340 <span about="http://example.org/p3pv1" rev="p3pv1"
341 href="0077.xml">p3pv1</span>
342 <span about="http://example.org/prev" rev="prev"
343 href="0077.xml">prev</span>
344 <span about="http://example.org/role" rev="role"
345 href="0077.xml">role</span>
346 <span about="http://example.org/section" rev="section"
347 href="0077.xml">section</span>
348 <span about="http://example.org/subsection" rev="subsection"
349 href="0077.xml">subsection</span>
350 <span about="http://example.org/start" rev="start"
351 href="0077.xml">start</span>
352 <span about="http://example.org/stylesheet" rev="stylesheet"
353 href="0077.xml">stylesheet</span>
354 <span about="http://example.org/up" rev="up"
355 href="0077.xml">up</span>
356 </p>
357 <div about ="http://www.example.org/#somebody" rel="foaf:knows">
358 <p property="foaf:name">Ivan Herman</p>
359 <p rel="foaf:mailbox" resource="mailto:[email protected]">mailto:[email protected]</p>
360 <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
361 </div>
362 <div about ="http://www.example.org/#somebody" rel="foaf:knows">
363 <p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
364 <p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
365 <p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
366 </div>
367 <div about ="http://www.example.org/#somebody" rel="foaf:knows">
368 <p about="http://danbri.org/foaf.rdf#danbri" resource="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
369 </div>
370 <div about ="http://www.example.org/#somebody" rev="foaf:knows">
371 <p property="foaf:name">Ivan Herman</p>
372 <p rel="foaf:mailbox" resource="mailto:[email protected]">mailto:[email protected]</p>
373 <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
374 </div>
375 <div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
376 <p property="foaf:name">Ivan Herman</p>
377 <p rel="foaf:mailbox" resource="mailto:[email protected]">mailto:[email protected]</p>
378 <p typeof="foaf:Person" property="foaf:name">Mark Birbeck</p>
379 </div>
380 <div about="http://www.example.org/#somebody" rel="foaf:knows">
381 <p property="foaf:name">Ivan Herman</p>
382 <p rel="foaf:mailbox" resource="mailto:[email protected]">mailto:[email protected]</p>
383 <p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
384 </div>
385 <div about ="http://www.example.org/#somebody" rev="foaf:knows" rel="foaf:knows">
386 <div>
387 <p property="foaf:name">Ivan Herman</p>
388 <p rel="foaf:mailbox" resource="mailto:[email protected]">mailto:[email protected]</p>
389 <p about="http://danbri.org/foaf.rdf#danbri" typeof="foaf:Person" property="foaf:name">Dan Brickley</p>
390
391 </div>
392 </div>
393 <div about ="http://www.example.org/#somebody" rel="foaf:knows">
394 <div rel="foaf:knows">
395 <p resource="http://www.ivan-herman.org/Ivan_Herman">Ivan Herman</p>
396 <p href="http://www.w3.org/People/Berners-Lee/card#i">Tim Berners Lee</p>
397 <p resource="http://danbri.org/foaf.rdf#danbri" href="http://www.leobard.net/rdf/foaf.xml#me">Dan Brickley</p>
398 </div>
399 </div>
400 <p>
401 <a rel=":alternate" href="http://example.org/alternate">alternate</a>
402 <a rel=":appendix" href="http://example.org/appendix">appendix</a>
403 <a rel=":bookmark" href="http://example.org/bookmark">bookmark</a>
404 <a rel=":cite" href="http://example.org/cite">cite</a>
405 <a rel=":chapter" href="http://example.org/chapter">chapter</a>
406 <a rel=":contents" href="http://example.org/contents">contents</a>
407 <a rel=":copyright" href="http://example.org/copyright">copyright</a>
408 <a rel=":glossary" href="http://example.org/glossary">glossary</a>
409 <a rel=":help" href="http://example.org/help">help</a>
410 <a rel=":icon" href="http://example.org/icon">icon</a>
411 <a rel=":index" href="http://example.org/index">index</a>
412 <a rel=":first" href="http://example.org/first">first</a>
413 <a rel=":last" href="http://example.org/last">last</a>
414 <a rel=":license" href="http://example.org/license">license</a>
415 <a rel=":meta" href="http://example.org/meta">meta</a>
416 <a rel=":next" href="http://example.org/next">next</a>
417 <a rel=":p3pv1" href="http://example.org/p3pv1">p3pv1</a>
418 <a rel=":prev" href="http://example.org/prev">prev</a>
419 <a rel=":role" href="http://example.org/role">role</a>
420 <a rel=":section" href="http://example.org/section">section</a>
421 <a rel=":subsection" href="http://example.org/subsection">subsection</a>
422 <a rel=":start" href="http://example.org/start">start</a>
423 <a rel=":stylesheet" href="http://example.org/stylesheet">stylesheet</a>
424 <a rel=":up" href="http://example.org/up">up</a>
425 </p>
426 <div about ="http://www.example.org/#somebody" rel="foaf:knows">
427 <p about="[_:]" property="foaf:name">Dan Brickley</p>
428 <p about="[_:]" typeof="foaf:Person">Dan Brickley again:-)</p>
429 </div>
430 <div>
431 <img src="http://example.org/example.png" typeof="foaf:Image" alt="example image" />
432 </div>
433 <div>
434 <img src="http://example.org/example.png"
435 rel="license"
436 href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
437 alt="example image" />
438 </div>
439 <p about="[_:human]">
440 A human is
441 <span property=":definition">a bi-pedal primate</span>.
442 They are quite possibly one of the most
443 <span property=":note">confused animal</span>s residing in the
444 <span property=":foo">Milky Way</span>.
445 </p>
446 <div about="">
447 Author: <span property="dc:creator">Albert Einstein</span>
448 <h2 property="dc:title" datatype="ex:XMLLiteral">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
449 </div>
450 <p about="http://www.cwi.nl/~steven/" property="example:likes">
451 We put thirty spokes together and call it a wheel;
452 But it is on the space where there is nothing that the usefulness of the wheel depends.
453 We turn clay to make a vessel;
454 But it is on the space where there is nothing that the usefulness of the vessel depends.
455 We pierce doors and windows to make a house;
456 And it is on these spaces where there is nothing that the usefulness of the house depends.
457 Therefore just as we take advantage of what is, we should recognize the usefulness of what is not.
458
459 Lao Tzu: Tao Te Ching</p>
460 <p>
461 The word "interfenestration" has
462 <span about="#interfenestration" rel="example:size">
463 <span property="rdf:value">17</span>
464 <span property="example:unit">character</span>s.
465 </span>
466 </p>
467 <div about="" rel="dc:creator">
468 <a rel="" href="manu.html">Manu</a> created this page.
469 </div>
470 <div rel="next"></div>
471 <p about="http://example.org/node" property="ex:property"
472 datatype="" xml:lang="el">ελληνικό
473 άσπρο διάστημα
474 </p>
475 <!-- This a NOT a valid XHTML document (due to @xml:base) -->
476 <div xml:base="http://example.org/invalid/">
477 <p about="">This is <span property="dc:title">Test 0109</span>.</p>
478 </div>
479 <div rel="xhv:next">
480 <div rel="xhv:next" />
481 </div>
482 <div rel="xhv:next">
483 <div rel="xhv:next">
484 <div rel="xhv:next" />
485 </div>
486 </div>
487 <p>
488 <span about="http://example.org/node" property="ex:property"
489 datatype="">not an XML Literal,
490 whitespace preserved
491 </span>
492 </p>
493 <span about="#a" property="dc:title"></span>
494 <span about="#b" property="dc:title" />
495 <div>
496 <a rel="xhv:index" href="../../.././#">Test Suite</a>
497 <a rel="xhv:next" href="0115.xml">Test Case 0115</a>
498 <a rel="xhv:up" href="./">Test Case 0114</a>
499 <a rel="cc:attributionURL" href="../../../../">RDFa Website</a>
500 <a rel="rdfatest:cornerCase1" href=".">Corner Case #1</a>
501 <a rel="rdfatest:cornerCase2" href="http://example.org/foo/..">Corner Case #2</a>
502 <a rel="rdfatest:cornerCase3" href="...">Corner Case #3</a>
503 <a rel="rdfatest:cornerCase4" href="?foo=bar../baz">Corner Case #4</a>
504 <a rel="rdfatest:cornerCase5" href="../..../../../.../.htaccess">Corner Case #5</a>
505 </div>
506 <p>Description: XML entities in the RDFa content</p>
507 <p>
508 <span property="ex:entity1">&gt;</span>
509 <span property="ex:entity2">Ben &amp; Co.</span>
510 <span property="ex:entity3">&#x40;</span>
511 <span property="ex:entity4">&#64;</span>
512 </p>
513 <p>
514 <span property="dc:contributor">Mark Birbeck</span>
515 added this triple test.
516 </p>
517 <p>
518 Check to see if parsers get confused when "" is
519 interpreted as NULL in some chaining cases.
520 <a href="http://example.org/ben.html"><span
521 about="" property="dc:creator">Ben</span></a>
522 </p>
523 <div>
524 <p about="[example:]">
525 The
526 <span property="dc:title">Example Website</span>
527 is used in many W3C tutorials.
528 </p>
529 </div>
530 <p about="[:]">
531 The
532 <span property="dc:title">The XHTML Vocabulary Document</span>
533 is the default prefix for XHTML+RDFa 1.0.
534 </p>
535 <div>
536 <p about="http://example.org/">
537 <span about="[]" property="dc:title">Test Case 0121</span>
538 checks to make sure RDFa processors resolve the empty CURIE correctly.
539 <p resource="[]">
540 <span property="dc:contributor">Shane McCarron</span>
541 contributed to this test.
542 </p>
543 </p>
544 </div>
545 <p about="http://example.org/section1.html">
546 This section is contained below <span rel="up" resource="[]">the main site</span>.
547 </p>
548 <div about="http://www.example.org/#article" typeof="foaf:Document sioc:Post">
549 <h1 property="dct:title">My article</h1>
550 </div>
551 <p>Blank Nodes are not allowed to be predicate identifiers in RDF:</p>
552 <p property="_:invalid">Test</p>
553 <p xmlns:xmlzzz="http://example.org/" property="xmlzzz:test">Test</p>
554 <p>
555 This test ensures that single-character prefixes are allowed.
556 My name is:
557 <span about="http://example.org/jd" property="v:fn">John Doe</span>
558 </p>
559 <p about="_:gregg">My name is
560 <em property="http://xmlns.com/foaf/0.1/name">Gregg Kellogg</em>.
561 </p>
562 <div about="_:manu">
563 Manu can be reached via
564 <a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:[email protected]">email</a>.
565 <span rel="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">He knows Gregg.</span>
566 <span rev="http://xmlns.com/foaf/0.1/knows" resource="_:gregg">Who knows Manu.</span>
567 </div>
568
569 <div about="_:gregg">
570 Gregg can be reached via
571 <a rel="http://xmlns.com/foaf/0.1/mbox" href="mailto:[email protected]">email</a>.
572 </div>
573 <div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
574 <p property="foaf:name">Ivan Herman</p>
575 </div>
576 <div about ="#this" prefix="foaf: http://xmlns.com/foaf/0.1/ dc: http://purl.org/dc/terms/" typeof="dc:Agent">
577 <p property="foaf:name">A particular agent</p>
578 </div>
579 <!-- prefix has a higher priority than xmlns -->
580 <div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri" prefix="foaf: http://xmlns.com/foaf/0.1/" >
581 <p property="foaf:name">Ivan Herman</p>
582 </div>
583 <div about ="#me" prefix=": http://xmlns.com/foaf/0.1/" >
584 <p property=":name">Ivan Herman</p>
585 </div>
586 <div about ="http://www.example.org/software">
587 <p rel=":license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
588 </div>
589 <div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
590 <div about ="#this" typeof="dc:Agent" prefix="foaf: http://xmlns.com/foaf/0.1/" >
591 <p property="foaf:name">A particular agent</p>
592 </div>
593 </div>
594 <div prefix="foaf: http://example.org/wrong/foaf/uri/ dc: http://purl.org/dc/terms/" >
595 <div about ="#this" typeof="dc:Agent" xmlns:foaf="http://xmlns.com/foaf/0.1/" >
596 <p property="foaf:name">A particular agent</p>
597 </div>
598 </div>
599 <div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
600 <p property="name">Ivan Herman</p>
601 </div>
602 <div vocab="http://example.org/wrong/foaf/uri/">
603 <div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
604 <p property="name">Ivan Herman</p>
605 </div>
606 </div>
607 <div vocab="http://xmlns.com/foaf/0.1/">
608 <div about ="#me">
609 <p property="name">Ivan Herman</p>
610 </div>
611 </div>
612 <div about ="http://www.example.org/software" vocab="http://www.example.org/vocab#">
613 <p rel="license" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
614 </div>
615 <div about ="http://www.example.org/software">
616 <p rel="liCeNse" resource="http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231">Ivan Herman</p>
617 </div>
618 <div about="http://www.example.org">
619 <p property="ex:xmllit" datatype="rdf:XMLLiteral">This is an XMLLiteral</p>
620 <p property="ex:plainlit">This is a <em>plain</em> literal</p>
621 </div>
622 <p about="" typeof="class/Person" property="pred/name">Gregg Kellogg</p>
623 <p property="dc:language" datatype="pred/lang">Ruby</p>
624 <p rel="pred/rel" resource="http://kellogg-assoc.com/">Kellogg Associates</p>
625 <p rev="pred/rev" resource="http://github.org/gkellogg/rdf_context">Ruby Gem</p>
626 <div id="mark" about="#mark" typeof="foaf:Person">
627 <h2 property="foaf:name" datatype="rdf:XMLLiteral"><span
628 property="foaf:firstName">Mark</span> <span
629 property="foaf:surname">Birbeck</span></h2>
630 </div>
631 <p about ="xsd:maxExclusive" rel="rdf:type" resource="owl:DatatypeProperty">
632 An OWL Axiom: "xsd:maxExclusive" is a Datatype Property in OWL.
633 </p>
634 <p about="#event1" typeof="cal:Vevent">
635 <b property="cal:summary">Weekend off in Iona</b>:
636 <span property="cal:dtstart" content="2006-10-21" datatype="xsd:date">Oct 21st</span>
637 to <span property="cal:dtend" content="2006-10-23" datatype="xsd:date">Oct 23rd</span>.
638 See <a rel="cal:url" href="http://freetime.example.org/">FreeTime.Example.org</a> for
639 info on <span property="cal:location">Iona, UK</span>.
640 </p>
641 <!-- @prefix should be ignored in the RDFa 1.0 case -->
642 <div about ="#me" prefix="foaf: http://xmlns.com/foaf/0.1/" >
643 <p property="foaf:name">Ivan Herman</p>
644 </div>
645 <!-- prefix has a higher priority than xmlns, but should be ignored because version is explicitly set to 1.0 -->
646 <div about ="#me" xmlns:foaf="http://www.example.com/wrong/foaf/uri/" prefix="foaf: http://xmlns.com/foaf/0.1/" >
647 <p property="foaf:name">Ivan Herman</p>
648 </div>
649 <!-- The version statement should be ignored with version set to 1.0 -->
650 <div about ="#me" vocab="http://xmlns.com/foaf/0.1/" >
651 <p property="foaf:name">Ivan Herman</p>
652 </div>
653 <!-- In RDFa 1.0, if a literal contains XML elements, and no explicit datatype is set, the result is XMLLiteral -->
654 <div about="http://www.example.org/">
655 <h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
656 </div>
657 <!-- In RDFa 1.1, by default a plain literal is generated even if it contains XML elements -->
658 <div about="http://www.example.org/">
659 <h2 property="dc:title">E = mc<sup>2</sup>: The Most Urgent Problem of Our Time</h2>
660 </div>
661 <p>This document has a title.</p>
662 <!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
663 in the html element, ie, when the content sniffing to find out the character encoding may not work -->
664 <p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
665 <!-- Tests whether the Unicode (UTF-8 encoded) characters are properly handled even with a large set of properties
666 in the html element, ie, when the content sniffing to find out the character encoding may not work -->
667 <p about="http://www.ivan-herman.net/foaf#me" property="foaf:name">Iván</p>
668 <div about="#me" vocab="http://xmlns.com/foaf/0.1/" >
669 <p property="name">Gregg Kellogg</p>
670 </div>
671 <div about ="">
672 <p rel="rdf:value" inlist=""/>
673 </div>
674 <div about="">
675 <p property="rdf:value" inlist="">Foo</p>
676 </div>
677 <div about="">
678 <a rel="rdf:value" inlist="" href="foo">Foo</a>
679 </div>
680 <div about="">
681 <p property="rdf:value" inlist="">Foo</p>
682 <a rel="rdf:value" inlist="" href="foo">Foo</a>
683 </div>
684 <div about="">
685 <p property="rdf:value" inlist="">Foo</p>
686 <strong><p property="rdf:value" inlist="">Bar</p></strong>
687 </div>
688 <div about="">
689 <p property="rdf:value" inlist="">Foo</p>
690 <strong><p property="rdf:value" inlist="">Bar</p></strong>
691 <p property="rdf:value">Baz</p>
692 </div>
693 <div about="">
694 <ol rel="rdf:value" inlist="">
695 <li><a href="foo">Foo</a></li>
696 <li><a href="bar">Bar</a></li>
697 </ol>
698 </div>
699 <div about="foo">
700 <p property="rdf:value" inlist="">Foo</p>
701 </div>
702 <div about="foo">
703 <p property="rdf:value" inlist="">Bar</p>
704 </div>
705 <div about="">
706 <p property="rdf:value" inlist="">Foo</p>
707 <span rel="rdf:inlist" resource="res">
708 <p property="rdf:value" inlist="">Bar</p>
709 </span>
710 </div>
711 <div about="">
712 <p property="rdf:value" inlist="">Foo</p>
713 <span rel="rdf:inlist">
714 <p about="res" property="rdf:value" inlist="">Bar</p>
715 </span>
716 </div>
717 <div>
718 <img src="http://sw-app.org/img/mic_2007_01.jpg"
719 rev="xhv:alternate"
720 resource="http://sw-app.org/img/mic_2006_03.jpg"
721 alt="A photo depicting Michael" />
722 </div>
723 <div>
724 <img rel="foaf:img"
725 src="http://sw-app.org/img/mic_2007_01.jpg"
726 alt="A photo depicting Michael" />
727 </div>
728 <div>
729 <img
730 src="http://example.org/example.png"
731 rel="license"
732 href="http://creativecommons.org/licenses/by-nc-sa/2.0/"
733 alt="example image" />
734 </div>
735 <div about="http://creativecommons.org/licenses/by-nc-sa/2.0/" rev="license">
736 <img src="http://example.org/example.png" alt="example image" />
737 </div>
738 <div rel="foaf:maker" typeof="foaf:Person">
739 <p property="foaf:name">John Doe</p>
740 </div>
741 <div rel="foaf:maker" typeof="foaf:Person" resource="http://www.example.org/#me">
742 <p property="foaf:name">John Doe</p>
743 </div>
744 <p>
745 <a rel="describedby" href="http://example.org/describedby">describedby</a>
746 <a rel="license" href="http://example.org/license">license</a>
747 <a rel="role" href="http://example.org/role">role</a>
748 </p>
749 <p>
750 The <span property="dc:title">rdfagraph</span> should not generate triples when
751 looking only at the processor graph.
752 </p>
753 <p></p>
754 <p></p>
755 <p about="http://example.org/node" property="ex:property"
756 datatype="" lang="el">ελληνικό
757 άσπρο διάστημα
758 </p>
759 <p></p>
760 <span about="#a" property="dc:title"></span>
761 <p>Ensure that the "_" prefix is ignored.</p>
762 <p xmlns:_="http://example.org/"
763 prefix="_: http://example.org/"
764 xmlns:earl="http://www.w3.org/ns/earl#"
765 rel="earl:testcase" resource="_:test">Test</p>
766 <div>
767 Vocabulary Prefixes
768 <span property="grddl:">GRDDL</span>
769 <span property="ma:">MA</span>
770 <span property="owl:">OWL</span>
771 <span property="rdf:">RDF</span>
772 <span property="rdfa:">RDFa</span>
773 <span property="rdfs:">RDFS</span>
774 <span property="rif:">RIF</span>
775 <span property="skos:">SKOS</span>
776 <span property="skosxl:">SKOS-XL</span>
777 <span property="wdr:">WDR</span>
778 <span property="void:">VOID</span>
779 <span property="wdrs:">WDRS</span>
780 <span property="xhv:">XHV</span>
781 <span property="xml:">XML</span>
782 <span property="xsd:">XSD</span>
783 </div>
784 <div>
785 Widely Used prefixes
786 <span property="cc:">CC</span>
787 <span property="ctag:">CTAG</span>
788 <span property="dc:">DC</span>
789 <span property="dcterms:">DCTERMS</span>
790 <span property="foaf:">FOAF</span>
791 <span property="gr:">GR</span>
792 <span property="ical:">ICAL</span>
793 <span property="og:">OG</span>
794 <span property="rev:">REV</span>
795 <span property="sioc:">SIOC</span>
796 <span property="v:">V</span>
797 <span property="vcard:">VCARD</span>
798 <span property="schema:">Schema</span>
799 </div>
800 <div>
801 Vocabulary Terms
802 <span property="describedby">DescribedBy</span>
803 <span property="license">License</span>
804 <span property="role">Role</span>
805 </div>
806 <div>
807 Vocabulary Terms
808 <span property="alternate">alternate</span>
809 <span property="appendix">appendix</span>
810 <span property="cite">cite</span>
811 <span property="bookmark">bookmark</span>
812 <span property="contents">contents</span>
813 <span property="chapter">chapter</span>
814 <span property="copyright">copyright</span>
815 <span property="first">first</span>
816 <span property="glossary">glossary</span>
817 <span property="help">help</span>
818 <span property="icon">icon</span>
819 <span property="index">index</span>
820 <span property="last">last</span>
821 <span property="license">license</span>
822 <span property="meta">meta</span>
823 <span property="next">next</span>
824 <span property="prev">prev</span>
825 <span property="previous">previous</span>
826 <span property="section">section</span>
827 <span property="start">start</span>
828 <span property="stylesheet">stylesheet</span>
829 <span property="subsection">subsection</span>
830 <span property="top">top</span>
831 <span property="up">up</span>
832 <span property="p3pv1">p3pv1</span>
833 </div>
834 <div about="http://www.example.org">
835 <p property="ex:xmllit" datatype="rdf:XMLLiteral">This is
836 an XMLLiteral</p>
837 </div>
838 <p>This photo was taken by <span class="author" about="photo1.jpg" property=" dc:creator
839 ">Mark Birbeck</span>.</p>
840 <p> </p>
841 <p> </p>
842 <p> </p>
843 <div about="http://www.w3.org/Person/Ivan#me">
844 <a href="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</a>
845 </div>
846 <div about="http://www.w3.org/Person/Ivan#me">
847 <p resource="http://www.ivan-herman.net/foaf#me" typeof="foaf:Person" property="owl:sameAs">Ivan Herman</p>
848 </div>
849 <div about="http://www.ivan-herman.net/foaf#me">
850 <img src="http://www.ivan-herman.net/Images/me2003-small.png" typeof="foaf:Image" property="foaf:depiction" />
851 </div>
852 <p> </p>
853 <p> </p>
854 <p> </p>
855 <time property="rdf:value" datetime="2012-03-18Z">18 March 2012</time>
856 <time property="rdf:value" datetime="00:00:00Z">midnight</time>
857 <time property="rdf:value" datetime="2012-03-18T00:00:00Z">18 March 2012 at midnight</time>
858 <time property="rdf:value">2012-03-18Z</time>
859 <time property="rdf:value">00:00:00Z</time>
860 <time property="rdf:value">2012-03-18T00:00:00Z</time>
861 <time property="rdf:value" datetime="2012-03-18" content="not this">18 March 2012</time>
862 <time property="rdf:value" datetime="2012-03-18T00:00:00Z" datatype="xsd:date">18 March 2012 at midnight</time>
863 <time property="rdf:value" datetime="P2011Y06M28DT00H00M00S">2011 years 6 months 28 days</time>
864 <time property="rdf:value" datetime="2012">Two Thousand Twelve</time>
865 <time property="rdf:value" datetime="2012-03">March, Two Thousand Twelve</time>
866 <time property="rdf:value"> 2012-03-18Z</time>
867 <time property="rdf:value" datatype="xsd:dateTime"> 2012-03-18Z</time>
868 <time property="rdf:value" lang="en" datetime="D-Day">
869 Non matching lexical value with language.
870 </time>
871 <data property="rdf:value" lang="lat" value="veni, vidi, vici" content="I came, I saw, I conquered">
872 @value overrides @content in the 'data' element.
873 </data>
874 <time property="rdf:value" datetime="2012-03-18T00:00:00-08:00">18 March 2012 at midnight in San Francisco</time>
875 <object property="rdf:value" data="http://example.com/"></object>
876 <h1>@href becomes subject when @property and @content are present</h1>
877 <a href="http://example.org/" property="rdf:value" content="value">ignored</a>
878 <h1>@href becomes subject when @property and @datatype are present</h1>
879 <a href="http://example.org/" property="rdf:value" datatype="">value</a>
880 <h1>@href as subject overridden by @about</h1>
881 <a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value">ignored</a>
882 <h1>@about overriding @href as subject is used as parent resource</h1>
883 <a about="http://example.net/" href="http://example.org/" property="rdf:value" content="value one">
884 <span property="rdf:value">value two</span>
885 </a>
886 <h1>Testing the ':' character usage in a CURIE</h1>
887 <div prefix="ex: http://www.example.org/">
888 <p about="http://www.example.org" property="ex:column:test">Test</p>
889 </div>
890 <p>None of these triples should be generated in RDFa 1.0.</p>
891 <div>
892 Vocabulary Prefixes
893 <span property="grddl:">GRDDL</span>
894 <span property="ma:">MA</span>
895 <span property="owl:">OWL</span>
896 <span property="rdf:">RDF</span>
897 <span property="rdfa:">RDFa</span>
898 <span property="rdfs:">RDFS</span>
899 <span property="rif:">RIF</span>
900 <span property="skos:">SKOS</span>
901 <span property="skosxl:">SKOS-XL</span>
902 <span property="wdr:">WDR</span>
903 <span property="void:">VOID</span>
904 <span property="wdrs:">WDRS</span>
905 <span property="xhv:">XHV</span>
906 <span property="xml:">XML</span>
907 <span property="xsd:">XSD</span>
908 </div>
909 <div>
910 Widely Used prefixes
911 <span property="cc:">CC</span>
912 <span property="ctag:">CTAG</span>
913 <span property="dc:">DC</span>
914 <span property="dcterms:">DCTERMS</span>
915 <span property="foaf:">FOAF</span>
916 <span property="gr:">GR</span>
917 <span property="ical:">ICAL</span>
918 <span property="og:">OG</span>
919 <span property="rev:">REV</span>
920 <span property="sioc:">SIOC</span>
921 <span property="v:">V</span>
922 <span property="vcard:">VCARD</span>
923 <span property="schema:">Schema</span>
924 </div>
925 <div>
926 Vocabulary Terms
927 <span property="describedby">DescribedBy</span>
928 </div>
929 </body>
930 </html>