1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/components/feeds/test/xml/rss2/item_enclosure_mixed2.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +<?xml version="1.0" encoding="iso-8859-1"?> 1.5 +<!-- 1.6 + 1.7 +Description: feed that doesn't have at least one enclosure per entry should be TYPE_FEED (0) 1.8 +Expect: ((feed.type == 0) && (feed.enclosureCount == 1)); 1.9 + 1.10 +--> 1.11 +<rss version="2.0" > 1.12 +<channel> 1.13 + 1.14 +<item> 1.15 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author> 1.16 +<comments>http://example.org</comments> 1.17 +<title>no video this week!</title> 1.18 + 1.19 +<category domain="foo">bar</category> 1.20 + 1.21 +<description>I'm on a trip to the moon this week for this year's Spaceshot Vlogger 1.22 +conference. No video this week!</description> 1.23 +</item> 1.24 + 1.25 +<item> 1.26 +<enclosure length="3000000" type="video/mpeg" url="http://dallas.example.com/joebob_pants.mpeg" /> 1.27 +<author>jbb@dallas.example.com (Joe Bob Briggs)</author> 1.28 +<comments>http://example.org</comments> 1.29 +<title>orange keyboard</title> 1.30 + 1.31 +<category domain="foo">bar</category> 1.32 + 1.33 +<description>Crazy things happen when you paint your keyboard orange.</description> 1.34 +</item> 1.35 +</channel> 1.36 +</rss>