| 1 |
# Feed begin ###################### |
| 2 |
title: #This test feeds contains relative URIs of all kinds, which should be completed using xml:base. |
| 3 |
Affected are: Attributes: generator uri, content src, link href. Elements: <uri> and <logo>. |
| 4 |
XHTML in text constructs and content. Exceptions: category scheme, and the <id> element, |
| 5 |
they are expected to contain absolute IRIs.# |
| 6 |
# Category begin ################## |
| 7 |
term: #some category# |
| 8 |
scheme: #schemes/localSchemeName# |
| 9 |
label: #This is a category from scheme schemes/localSchemeName. We do not complete the scheme IRI, being an IRI, not an IRI reference.# |
| 10 |
# Category end #################### |
| 11 |
# Image begin ##################### |
| 12 |
url: #http://example.com/feed/someicon.png# |
| 13 |
# Image end ####################### |
| 14 |
# Item begin ###################### |
| 15 |
id: #hash:bd4516ecc547c1ebd7a8de66d2fecdde# |
| 16 |
title: #<div xmlns="http://www.w3.org/1999/xhtml" base="http://example.com/test/">Example <a xmlns="http://www.w3.org/1999/xhtml" href="test.html">test</a>. |
| 17 |
The link must point to http://example.com/test/test.html.</div># |
| 18 |
# Item end ######################## |
| 19 |
# Item begin ###################### |
| 20 |
id: #hash:9f0eeceb1f715ad7f813cc61c13fcfd1# |
| 21 |
title: #<div xmlns="http://www.w3.org/1999/xhtml" base="http://example.com/test/">Example <a xmlns="http://www.w3.org/1999/xhtml" href="test.html">test</a>. The link must point to http://example.com/test/test.html. (not .../parent/test.html)</div># |
| 22 |
# Item end ######################## |
| 23 |
# Item begin ###################### |
| 24 |
id: #hash:a7f3a0ecc5c32d76a07948a88ac0dae4# |
| 25 |
title: #This is item's <content> has a src attribute pointing to http://example.com/feed/somesrc.html# |
| 26 |
# Item end ######################## |
| 27 |
# Item begin ###################### |
| 28 |
id: #hash:47df83e9fe3434795c12c4dbf988a96b# |
| 29 |
title: #This entry's link and author uri point to test.html. Both must be completed to http://example.com/test/test.html# |
| 30 |
link: #http://example.com/test/test.html# |
| 31 |
# Person begin #################### |
| 32 |
name: #Test# |
| 33 |
uri: #http://example.com/test/test.html# |
| 34 |
# Person end ###################### |
| 35 |
# Item end ######################## |
| 36 |
# Item begin ###################### |
| 37 |
id: #test/someRelativeUri.html# |
| 38 |
title: #Although this entry's id contains a relative URL, libsyndication should not complete it, as |
| 39 |
IDs are expected to be absolute IRIs.# |
| 40 |
# Item end ######################## |
| 41 |
# Feed end ######################## |