toolkit/components/feeds/test/xml/rfc4287/entry_html_cdata.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_html_cdata.xml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<?xml version="1.0" encoding="utf-8"?>
     1.5 +<!--
     1.6 +
     1.7 +Description: HTML title w/ CDATA
     1.8 +Expect: var title = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).title.plainText(); title == "<title>";
     1.9 +
    1.10 +-->
    1.11 +<feed xmlns="http://www.w3.org/2005/Atom">
    1.12 +<id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom</id>
    1.13 +<title>Atom item title html cdata</title>
    1.14 +<updated>2005-12-18T00:13:00Z</updated>
    1.15 +<author>
    1.16 +  <name>Phil Ringnalda</name>
    1.17 +  <uri>http://weblog.philringnalda.com/</uri>
    1.18 +</author>
    1.19 +<link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom"/>
    1.20 +<entry>
    1.21 +  <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom/1</id>
    1.22 +  <title type="html"><![CDATA[&lt;title>]]></title>
    1.23 +  <updated>2005-12-18T00:13:00Z</updated>
    1.24 +  <summary>An item with a type="html" title consisting of a less-than 
    1.25 +character, the word 'title' and a greater-than character, where 
    1.26 +the character entity reference for the less-than is escaped by being
    1.27 +in a CDATA section.</summary>
    1.28 +  <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
    1.29 +  <category term="item title"/>
    1.30 +</entry>
    1.31 +</feed>

mercurial