kde-extraapps/syndication/tests/atom/atom10_entry_title.xml

30 lines
No EOL
1.4 KiB
XML

<!-- Copyright: Mark Pilgrim (feed parser test suite). See LICENSE.UNITTESTS for details. -->
<feed xmlns="http://www.w3.org/2005/Atom">
<entry>
<title>A &amp; B. The history of the &lt;blink> tag.</title>
</entry>
<entry>
<title type="text">A &amp; B. The history of the &lt;blink> tag.</title>
</entry>
<entry>
<title type="html">A &amp;amp; B. The history of the &amp;lt;blink> tag. And a &lt;a href=&quot;http://www.example.com/&quot;>link&lt;/a>.</title>
</entry>
<entry>
<title type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">History of the &lt;blink&gt; tag</div></title>
</entry>
<entry>
<title type="text/plain">A &amp; B. The history of the &lt;blink> tag.
This one is actually invalid in Atom 1.0.</title>
<content>title with type=text/plain. This is not valid in Atom 1.0, where type must be one of text|html|xhtml.
So libsyndication does not parse it for now. If this becomes a problem with real-world feeds,
we might parse less strict in future.</content>
</entry>
<entry>
<title type="application/octet-stream">
RXhhbXBsZSA8Yj5BdG9tPC9iPg==
</title>
<content>Invalid. base64-encoded title with type=application/octet-stream. Types other than text,
html, xhtml are invalid in Atom 1.0.</content>
</entry>
</feed>