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

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <?xml version="1.0" encoding="utf-8"?>
     2 <!--
     4 Description: HTML title w/ CDATA
     5 Expect: var title = feed.items.queryElementAt(0, Components.interfaces.nsIFeedEntry).title.plainText(); title == "<title>";
     7 -->
     8 <feed xmlns="http://www.w3.org/2005/Atom">
     9 <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom</id>
    10 <title>Atom item title html cdata</title>
    11 <updated>2005-12-18T00:13:00Z</updated>
    12 <author>
    13   <name>Phil Ringnalda</name>
    14   <uri>http://weblog.philringnalda.com/</uri>
    15 </author>
    16 <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom"/>
    17 <entry>
    18   <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom/1</id>
    19   <title type="html"><![CDATA[&lt;title>]]></title>
    20   <updated>2005-12-18T00:13:00Z</updated>
    21   <summary>An item with a type="html" title consisting of a less-than 
    22 character, the word 'title' and a greater-than character, where 
    23 the character entity reference for the less-than is escaped by being
    24 in a CDATA section.</summary>
    25   <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
    26   <category term="item title"/>
    27 </entry>
    28 </feed>

mercurial