toolkit/components/feeds/test/xml/rfc4287/entry_link_random.xml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/components/feeds/test/xml/rfc4287/entry_link_random.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<?xml version="1.0" encoding="iso-8859-1"?>
     1.5 +<!--
     1.6 +
     1.7 +Description: atom entry with random link relations
     1.8 +Expect: feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).link.spec == "http://www.snellspace.com/public/linktests/alternate";
     1.9 +
    1.10 +-->
    1.11 +<feed xmlns="http://www.w3.org/2005/Atom">
    1.12 +  <id>tag:snellspace.com,2006:/atom/conformance/linktest/</id>
    1.13 +  <title>Atom Link Tests</title>
    1.14 +  <updated>2005-01-18T15:10:00Z</updated>
    1.15 +  <author><name>James Snell</name></author>
    1.16 +  <link href="http://www.intertwingly.net/wiki/pie/LinkConformanceTests" />
    1.17 +  <link rel="self" href="http://www.snellspace.com/public/linktests.xml" />
    1.18 +
    1.19 +  <entry>
    1.20 +    <id>tag:snellspace.com,2006:/atom/conformance/linktest/1</id>
    1.21 +    <title>Just a single Alternate Link</title>
    1.22 +    <updated>2005-01-18T15:00:01Z</updated>
    1.23 +    <summary>The aggregator should pick the second link as the alternate</summary>
    1.24 +    <link rel="http://example.org/random"
    1.25 +         href="http://www.snellspace.com/public/wrong" /> 
    1.26 +    <link href="http://www.snellspace.com/public/linktests/alternate" />
    1.27 +    <link rel="http://example.org/random"
    1.28 +         href="http://www.snellspace.com/public/wrong" /> 
    1.29 +  </entry>
    1.30 +
    1.31 +</feed>

mercurial