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

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial