summaryrefslogtreecommitdiffstats
path: root/toolkit/components/feeds/test/xml/rfc4287/entry_xmlBase_on_link.xml
blob: 0ead142558b8382ad71c8082208729dace58607e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?xml version="1.0" encoding="iso-8859-1"?>
<!--

Description: atom entry with xml:base
Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).link.spec == "http://www.example.org/bar/foo";

-->
<feed xmlns="http://www.w3.org/2005/Atom">

  <id>tag:example.com,2006:/atom/conformance/linktest/</id>
  <title>Atom Link Tests</title>
  <updated>2005-06-18T16:13:00Z</updated>
  <link href="http://www.example.org" />
  
  <entry xml:base="http://www.example.org">
    <id>tag:example.org,2006:/linkreltest/1</id>
    <title>Does your reader support xml:base properly? </title>
    <updated>2006-06-23T12:12:12Z</updated>
    <link xml:base="/bar/" href="foo"/>
  </entry>
  
</feed>