Warning, /frameworks/syndication/autotests/atom/atom10_relative_uris.xml.expected is written in an unsupported language. File is not indexed.
0001 # Feed begin ###################### 0002 title: #This test feeds contains relative URIs of all kinds, which should be completed using xml:base. 0003 Affected are: Attributes: generator uri, content src, link href. Elements: <uri> and <logo>. 0004 XHTML in text constructs and content. Exceptions: category scheme, and the <id> element, 0005 they are expected to contain absolute IRIs.# 0006 # Category begin ################## 0007 term: #some category# 0008 scheme: #schemes/localSchemeName# 0009 label: #This is a category from scheme schemes/localSchemeName. We do not complete the scheme IRI, being an IRI, not an IRI reference.# 0010 # Category end #################### 0011 # Image begin ##################### 0012 url: #http://example.com/feed/someicon.png# 0013 # Image end ####################### 0014 # Item begin ###################### 0015 id: #hash:bd4516ecc547c1ebd7a8de66d2fecdde# 0016 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>. 0017 The link must point to http://example.com/test/test.html.</div># 0018 # Item end ######################## 0019 # Item begin ###################### 0020 id: #hash:9f0eeceb1f715ad7f813cc61c13fcfd1# 0021 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># 0022 # Item end ######################## 0023 # Item begin ###################### 0024 id: #hash:a7f3a0ecc5c32d76a07948a88ac0dae4# 0025 title: #This is item's <content> has a src attribute pointing to http://example.com/feed/somesrc.html# 0026 # Item end ######################## 0027 # Item begin ###################### 0028 id: #hash:47df83e9fe3434795c12c4dbf988a96b# 0029 title: #This entry's link and author uri point to test.html. Both must be completed to http://example.com/test/test.html# 0030 link: #http://example.com/test/test.html# 0031 # Person begin #################### 0032 name: #Test# 0033 uri: #http://example.com/test/test.html# 0034 # Person end ###################### 0035 # Item end ######################## 0036 # Item begin ###################### 0037 id: #test/someRelativeUri.html# 0038 title: #Although this entry's id contains a relative URL, libsyndication should not complete it, as 0039 IDs are expected to be absolute IRIs.# 0040 # Item end ######################## 0041 # Feed end ########################