contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<dc:rights>0</dc:rights>\n" . "<items>\n", "1.0 - channel/copyright == 0" );
contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<dc:rights>0</dc:rights>\n" . "<items>\n", "1.0 - channel/dc/rights == 0" );
contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<dc:title>0</dc:title>\n" . "<items>\n", "1.0 - channel/dc/title == 0" );
contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<syn:updateBase>0</syn:updateBase>\n" . "<items>\n", "1.0 - channel/syn/updateBase == 0" );
contains ($rss, (qq{<image rdf:about="0">\n<title>freshmeat.net</title>\n} . qq{<url>0</url>\n<link>http://freshmeat.net/</link>\n} . qq{<dc:subject>0</dc:subject>\n</image>}), "1.0 - Checking for image/dc/subject == 0");
contains( $rss, "<item rdf:about=\"Yowza\">\n<title>0</title>\n<link>http://rss.mytld/</link>\n<description>Hello There</description>\n<dc:subject>0</dc:subject>\n</item>", "1.0 - item/dc/subject == 0", );
contains( $rss, ("<textinput rdf:about=\"0\">\n" . join("", map {"<$_>0</$_>\n"} (qw(title description name link dc:subject))) . "</textinput>\n"), "1.0 - textinput/dc/subject == 0", );
contains($rss, "<channel>\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<pubDate></pubDate><hello>There&amp;Everywhere</hello></pubDate>\n" . "\n" . "<item>\n", "0.9.1 - channel/pubDate Markup Injection" );
contains($rss, "<channel>\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<lastBuildDate></pubDate><hello>There&amp;Everywhere</hello></lastBuildDate>\n" . "\n" . "<item>\n", "0.9.1 - channel/lastBuildDate Markup Injection" );
contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<dc:date></pubDate><hello>There&amp;Everywhere</hello></dc:date>\n" . "<items>\n", "1.0 - dc/date Markup Injection" );
contains($rss, "<channel>\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<pubDate></pubDate><hello>There&amp;Everywhere</hello></pubDate>\n" . "\n" . "<item>\n", "2.0 - channel/pubDate Markup Injection" );
contains($rss, "<channel>\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<lastBuildDate></pubDate><hello>There&amp;Everywhere</hello></lastBuildDate>\n" . "\n" . "<item>\n", "2.0 - channel/lastBuildDate Markup Injection" );
contains ($rss, qq{<image>\n<title>freshmeat.net</title>\n<url>0</url>\n</image>\n}, "Image with undefined link does not render the Image - RSS version 0.9" );
contains ($rss, qq{<image rdf:about="0">\n<title>freshmeat.net</title>\n} . qq{<url>0</url>\n</image>\n}, "Image with undefined link does not render the Image - RSS version 1.0" );
contains($rss, "<channel rdf:about=\"http://xml-rss-hackers.tld/\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<items>\n", "1.0 - channel/about overrides the rdf:about attribute." );
contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . qq{<taxo:topics>\n <rdf:Bag>\n} . qq{ <rdf:li resource="Foo" />\n} . qq{ <rdf:li resource="Bar" />\n} . qq{ <rdf:li resource="QuGof" />\n} . qq{ <rdf:li resource="Lambda&Delta" />\n} . qq{ </rdf:Bag>\n</taxo:topics>\n} . "<items>\n", "1.0 - taxo topics" );
contains($rss, "<image rdf:about=\"0\">\n" . "<title>freshmeat.net</title>\n" . "<url>0</url>\n" . "<link>http://freshmeat.net/</link>\n" . "<eloq:grow>There</eloq:grow>\n" . "</image>", '1.0 - image/[module] with new module' );
contains($rss, "<image rdf:about=\"0\">\n" . "<title>freshmeat.net</title>\n" . "<url>0</url>\n" . "<link>http://freshmeat.net/</link>\n" . "<admin:generatorAgent rdf:resource=\"Spozilla 5.5\" />\n" . "</image>", '1.0 - image/[module] with known module' );
contains($rss, "<item rdf:about=\"http://jungle.tld/Enter/\">\n" . "<title>In the Jungle</title>\n" . "<link>http://jungle.tld/Enter/</link>\n" . qq{<taxo:topics>\n} . qq{ <rdf:Bag>\n} . qq{ <rdf:li resource="Foo" />\n} . qq{ <rdf:li resource="Loom" />\n} . qq{ <rdf:li resource="<Ard>" />\n} . qq{ <rdf:li resource="Yok&Dol" />\n} . qq{ </rdf:Bag>\n} . qq{</taxo:topics>\n} . "</item>\n", "1.0 - item/taxo:topics (with escaping)" );
contains( $rss, ("<item>\n" . "<title>Foo&Bar</title>\n" . "<link>http://www.mylongtldyeahbaby/</link>\n" . "</item>" ), "2.0 - item - Source and/or Source URL are not defined", );
contains($rss, "<channel rdf:about=\"http://freshmeat.net\">\n" . "<title>freshmeat.net</title>\n" . "<link>http://freshmeat.net</link>\n" . "<description>Linux software</description>\n" . "<dc:rights>Martha</dc:rights>\n" . "<dc:publisher>0</dc:publisher>\n" . "<items>\n", "Unknown version renders as 1.0" );
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 1101:
Unknown directive: =head