ratom-instructure 0.6.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. data/History.txt +135 -0
  2. data/LICENSE +20 -0
  3. data/README.rdoc +293 -0
  4. data/Rakefile +59 -0
  5. data/VERSION.yml +5 -0
  6. data/lib/atom.rb +796 -0
  7. data/lib/atom/configuration.rb +24 -0
  8. data/lib/atom/pub.rb +251 -0
  9. data/lib/atom/version.rb +7 -0
  10. data/lib/atom/xml/parser.rb +413 -0
  11. data/ratom.gemspec +95 -0
  12. data/spec/app/member_entry.atom +31 -0
  13. data/spec/app/service.xml +36 -0
  14. data/spec/app/service_xml_base.xml +37 -0
  15. data/spec/atom/pub_spec.rb +517 -0
  16. data/spec/atom_spec.rb +1385 -0
  17. data/spec/conformance/baseuri.atom +19 -0
  18. data/spec/conformance/divtest.atom +32 -0
  19. data/spec/conformance/linktests.xml +103 -0
  20. data/spec/conformance/nondefaultnamespace-baseline.atom +25 -0
  21. data/spec/conformance/nondefaultnamespace-xhtml.atom +25 -0
  22. data/spec/conformance/nondefaultnamespace.atom +25 -0
  23. data/spec/conformance/ordertest.xml +112 -0
  24. data/spec/conformance/title/html-cdata.atom +22 -0
  25. data/spec/conformance/title/html-entity.atom +22 -0
  26. data/spec/conformance/title/html-ncr.atom +22 -0
  27. data/spec/conformance/title/text-cdata.atom +22 -0
  28. data/spec/conformance/title/text-entity.atom +21 -0
  29. data/spec/conformance/title/text-ncr.atom +21 -0
  30. data/spec/conformance/title/xhtml-entity.atom +21 -0
  31. data/spec/conformance/title/xhtml-ncr.atom +21 -0
  32. data/spec/conformance/unknown-namespace.atom +25 -0
  33. data/spec/conformance/xmlbase.atom +133 -0
  34. data/spec/fixtures/complex_single_entry.atom +45 -0
  35. data/spec/fixtures/created_entry.atom +31 -0
  36. data/spec/fixtures/entry.atom +30 -0
  37. data/spec/fixtures/entry_with_custom_extensions.atom +8 -0
  38. data/spec/fixtures/entry_with_simple_extensions.atom +31 -0
  39. data/spec/fixtures/entry_with_single_custom_extension.atom +6 -0
  40. data/spec/fixtures/multiple_entry.atom +0 -0
  41. data/spec/fixtures/simple_single_entry.atom +21 -0
  42. data/spec/fixtures/with_stylesheet.atom +8 -0
  43. data/spec/paging/first_paged_feed.atom +21 -0
  44. data/spec/paging/last_paged_feed.atom +21 -0
  45. data/spec/paging/middle_paged_feed.atom +22 -0
  46. data/spec/property.rb +31 -0
  47. data/spec/spec.opts +1 -0
  48. data/spec/spec_helper.rb +46 -0
  49. metadata +147 -0
@@ -0,0 +1,19 @@
1
+ <feed xmlns="http://www.w3.org/2005/Atom">
2
+ <title>title</title>
3
+ <link href="" rel="self" />
4
+ <link href="alternate" rel="alternate" />
5
+ <updated>2007-09-18T12:12:12-07:00</updated>
6
+ <author><name>James Snell</name></author>
7
+ <id>tag:example.org,2007:/foo</id>
8
+
9
+ <entry>
10
+ <link href="alternate" />
11
+ <title>Title</title>
12
+ <id>tag:example.org,2007:/foo/1</id>
13
+ <updated>2007-09-18T12:12:12-07:00</updated>
14
+ <summary>A feed reader will pass this test if it can properly resolve the
15
+ Base URI for all of the relative references. Because Content-Location is
16
+ not used, the Request URI should be used as the Base URI.</summary>
17
+ <content src="alternate" type="text/plain" />
18
+ </entry>
19
+ </feed>
@@ -0,0 +1,32 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+
4
+ <title>hmm</title>
5
+ <id>http://franklinmint.fm/2006/06/27/divtest</id>
6
+ <link href="http://www.intertwingly.net/wiki/pie/XhtmlContentDivConformanceTests"/>
7
+ <link rel="self" href="http://www.franklinmint.fm/2006/06/divtest.atom"/>
8
+ <updated>2006-06-27T12:26:54+01:00</updated>
9
+ <author>
10
+ <email>hmm@example.com</email>
11
+ <name>foo</name>
12
+ </author>
13
+ <generator version="1.1" uri="http://example.org">Hmm</generator>
14
+ <author>
15
+ <email>bar@example.com</email>
16
+ <name>foo</name>
17
+ </author>
18
+ <rights type="xhtml">
19
+ <div xmlns="http://www.w3.org/1999/xhtml"><i>test</i> rights</div>
20
+ </rights>
21
+
22
+ <entry>
23
+ <title>test</title>
24
+ <updated>2006-06-27T12:26:54+01:00</updated>
25
+ <id>http://franklinmint.fm/2006/06/27/divtest.entry</id>
26
+ <link rel="alternate" href="http://www.intertwingly.net/wiki/pie/XhtmlContentDivConformanceTests"/>
27
+ <content type="xhtml">
28
+ <div xmlns="http://www.w3.org/1999/xhtml"><b>test</b> content</div>
29
+ </content>
30
+ </entry>
31
+
32
+ </feed>
@@ -0,0 +1,103 @@
1
+ <feed xmlns="http://www.w3.org/2005/Atom">
2
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/</id>
3
+ <title>Atom Link Tests</title>
4
+ <updated>2005-01-18T15:10:00Z</updated>
5
+ <author><name>James Snell</name></author>
6
+ <link href="http://www.intertwingly.net/wiki/pie/LinkConformanceTests" />
7
+ <link rel="self" href="http://www.snellspace.com/public/linktests.xml" />
8
+
9
+ <entry>
10
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/1</id>
11
+ <title>Just a single Alternate Link</title>
12
+ <updated>2005-01-18T15:00:01Z</updated>
13
+ <summary>The aggregator should pick the second link as the alternate</summary>
14
+ <link rel="http://example.org/random"
15
+ href="http://www.snellspace.com/public/wrong" />
16
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
17
+ <link rel="http://example.org/random"
18
+ href="http://www.snellspace.com/public/wrong" />
19
+ </entry>
20
+
21
+ <entry>
22
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/2</id>
23
+ <title>Two alternate links</title>
24
+ <updated>2005-01-18T15:00:02Z</updated>
25
+ <summary>The aggregator should pick either the second or third link below as the alternate</summary>
26
+ <link rel="ALTERNATE" href="http://www.snellspace.com/public/linktests/wrong" />
27
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
28
+ <link type="text/plain" href="http://www.snellspace.com/public/linktests/alternate2" />
29
+ <link rel="ALTERNATE" href="http://www.snellspace.com/public/linktests/wrong" />
30
+ </entry>
31
+
32
+ <entry>
33
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/3</id>
34
+ <title>One of each core link rel type</title>
35
+ <updated>2005-01-18T15:00:03Z</updated>
36
+ <summary>The aggregator should pick the first link as the alternate</summary>
37
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
38
+ <link rel="enclosure" href="http://www.snellspace.com/public/linktests/enclosure" length="19" />
39
+ <link rel="related" href="http://www.snellspace.com/public/linktests/related" />
40
+ <link rel="self" href="http://www.snellspace.com/public/linktests/self" />
41
+ <link rel="via" href="http://www.snellspace.com/public/linktests/via" />
42
+ </entry>
43
+
44
+ <entry>
45
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/4</id>
46
+ <title>One of each core link rel type + An additional alternate link</title>
47
+ <updated>2005-01-18T15:00:04Z</updated>
48
+ <summary>The aggregator should pick either the first or last links as the alternate. First link is likely better.</summary>
49
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
50
+ <link rel="enclosure" href="http://www.snellspace.com/public/linktests/enclosure" length="19" />
51
+ <link rel="related" href="http://www.snellspace.com/public/linktests/related" />
52
+ <link rel="self" href="http://www.snellspace.com/public/linktests/self" />
53
+ <link rel="via" href="http://www.snellspace.com/public/linktests/via" />
54
+ <link rel="alternate" type="text/plain" href="http://www.snellspace.com/public/linktests/alternate2" />
55
+ </entry>
56
+
57
+ <entry>
58
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/5</id>
59
+ <title>Entry with a link relation registered by an extension</title>
60
+ <updated>2005-01-18T15:00:05Z</updated>
61
+ <summary>The aggregator should ignore the license link without throwing any errors. The first link should be picked as the alternate.</summary>
62
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
63
+ <link rel="license" href="http://www.snellspace.com/public/linktests/license" />
64
+ </entry>
65
+
66
+ <entry>
67
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/6</id>
68
+ <title>Entry with a link relation identified by URI</title>
69
+ <updated>2005-01-18T15:00:06Z</updated>
70
+ <summary>The aggregator should ignore the second link without throwing any errors. The first link should be picked as the alternate.</summary>
71
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
72
+ <link rel="http://example.org" href="http://www.snellspace.com/public/linktests/example" />
73
+ </entry>
74
+
75
+ <entry>
76
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/7</id>
77
+ <title>Entry with a link relation registered by an extension</title>
78
+ <updated>2005-01-18T15:00:05Z</updated>
79
+ <summary>The aggregator should ignore the license link without throwing any errors. The second link should be picked as the alternate.</summary>
80
+ <link rel="license" href="http://www.snellspace.com/public/linktests/license" />
81
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
82
+ </entry>
83
+
84
+ <entry>
85
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/8</id>
86
+ <title>Entry with a link relation identified by URI</title>
87
+ <updated>2005-01-18T15:00:06Z</updated>
88
+ <summary>The aggregator should ignore the first link without throwing any errors. The second link should be picked as the alternate.</summary>
89
+ <link rel="http://example.org" href="http://www.snellspace.com/public/linktests/example" />
90
+ <link href="http://www.snellspace.com/public/linktests/alternate" />
91
+ </entry>
92
+
93
+ <entry>
94
+ <id>tag:snellspace.com,2006:/atom/conformance/linktest/8</id>
95
+ <title>Entry with links in different languages</title>
96
+ <updated>2005-01-18T15:00:06Z</updated>
97
+ <summary>The aggregator should pick the second link as alternate.</summary>
98
+ <link rel="alternate" hreflang="es" href="http://www.snellspace.com/es/public/linktests/alternate" />
99
+ <link rel="alternate" href="http://www.snellspace.com/public/linktests/alternate" />
100
+ <link rel="alternate" hreflang="cat" href="http://www.snellspace.com/cat/public/linktests/alternate" />
101
+ </entry>
102
+
103
+ </feed>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <title>Non-default namespace test baseline</title>
4
+ <updated>2006-01-18T12:26:54+01:00</updated>
5
+ <link href="http://example.org/tests/namespace/result.html"/>
6
+ <author>
7
+ <name>Aristotle Pagaltzis</name>
8
+ <email>pagaltzis@gmx.de</email>
9
+ </author>
10
+ <id>urn:uuid:f8195e66-863f-11da-9fcb-dd680b0526e0</id>
11
+ <entry>
12
+ <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
13
+ <title>If you can read the content of this entry, checking the test case will be meaningful.</title>
14
+ <link href="http://example.org/tests/namespace/result.html"/>
15
+ <updated>2006-01-18T12:26:54+01:00</updated>
16
+ <content type="xhtml"><div xmlns="http://www.w3.org/1999/xhtml">
17
+ <p>For information, see:</p>
18
+ <ul>
19
+ <li><a href="http://plasmasturm.org/log/376/">Who knows an <abbr title="Extensible Markup Language">XML</abbr> document from a hole in the ground?</a></li>
20
+ <li><a href="http://plasmasturm.org/log/377/">More on Atom aggregator <abbr title="Extensible Markup Language">XML</abbr> namespace conformance tests</a></li>
21
+ <li><a href="http://www.intertwingly.net/wiki/pie/XmlNamespaceConformanceTests"><abbr title="Extensible Markup Language">XML</abbr> Namespace Conformance Tests</a></li>
22
+ </ul>
23
+ </div></content>
24
+ </entry>
25
+ </feed>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom" xmlns:h="http://www.w3.org/1999/xhtml">
3
+ <title>Non-default XHTML namespace test</title>
4
+ <updated>2006-01-18T12:26:54+01:00</updated>
5
+ <link href="http://example.org/tests/namespace/result.html"/>
6
+ <author>
7
+ <name>Aristotle Pagaltzis</name>
8
+ <email>pagaltzis@gmx.de</email>
9
+ </author>
10
+ <id>urn:uuid:f8195e66-863f-11da-9fcb-dd680b0526e0</id>
11
+ <entry>
12
+ <id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
13
+ <title>If you can read the content of this entry, and it has a list and links, your aggregator works fine.</title>
14
+ <link href="http://example.org/tests/namespace/result.html"/>
15
+ <updated>2006-01-18T12:26:54+01:00</updated>
16
+ <content type="xhtml"><h:div>
17
+ <h:p>For information, see:</h:p>
18
+ <h:ul>
19
+ <h:li><h:a href="http://plasmasturm.org/log/376/">Who knows an <h:abbr title="Extensible Markup Language">XML</h:abbr> document from a hole in the ground?</h:a></h:li>
20
+ <h:li><h:a href="http://plasmasturm.org/log/377/">More on Atom aggregator <h:abbr title="Extensible Markup Language">XML</h:abbr> namespace conformance tests</h:a></h:li>
21
+ <h:li><h:a href="http://www.intertwingly.net/wiki/pie/XmlNamespaceConformanceTests"><h:abbr title="Extensible Markup Language">XML</h:abbr> Namespace Conformance Tests</h:a></h:li>
22
+ </h:ul>
23
+ </h:div></content>
24
+ </entry>
25
+ </feed>
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <a:feed xmlns:a="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/1999/xhtml">
3
+ <a:title>Non-default namespace test</a:title>
4
+ <a:updated>2006-01-18T12:26:54+01:00</a:updated>
5
+ <a:link href="http://example.org/tests/namespace/result.html"/>
6
+ <a:author>
7
+ <a:name>Aristotle Pagaltzis</a:name>
8
+ <a:email>pagaltzis@gmx.de</a:email>
9
+ </a:author>
10
+ <a:id>urn:uuid:f8195e66-863f-11da-9fcb-dd680b0526e0</a:id>
11
+ <a:entry>
12
+ <a:id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</a:id>
13
+ <a:title>If you can read the content of this entry, your aggregator works fine.</a:title>
14
+ <a:link href="http://example.org/tests/namespace/result.html"/>
15
+ <a:updated>2006-01-18T12:26:54+01:00</a:updated>
16
+ <a:content type="xhtml"><div>
17
+ <p>For information, see:</p>
18
+ <ul>
19
+ <li><a href="http://plasmasturm.org/log/376/">Who knows an <abbr title="Extensible Markup Language">XML</abbr> document from a hole in the ground?</a></li>
20
+ <li><a href="http://plasmasturm.org/log/377/">More on Atom aggregator <abbr title="Extensible Markup Language">XML</abbr> namespace conformance tests</a></li>
21
+ <li><a href="http://www.intertwingly.net/wiki/pie/XmlNamespaceConformanceTests"><abbr title="Extensible Markup Language">XML</abbr> Namespace Conformance Tests</a></li>
22
+ </ul>
23
+ </div></a:content>
24
+ </a:entry>
25
+ </a:feed>
@@ -0,0 +1,112 @@
1
+ <feed xmlns="http://www.w3.org/2005/Atom">
2
+ <id>tag:example.org,2006:atom/conformance/element_order</id>
3
+ <title>Order Matters</title>
4
+ <subtitle>Testing how feed readers handle the order of entry elements</subtitle>
5
+ <updated>2006-01-26T09:16:00Z</updated>
6
+ <author><name>James Snell</name></author>
7
+ <link href="http://www.snellspace.com/wp/?p=255" />
8
+ <link rel="self" href="http://www.snellspace.com/public/ordertest.xml" />
9
+ <entry>
10
+ <id>tag:example.org,2006:atom/conformance/element_order/1</id>
11
+ <title>Simple order, nothing fancy</title>
12
+ <summary>Simple ordering, nothing fancy</summary>
13
+ <updated>2006-01-26T09:20:01Z</updated>
14
+ <link href="http://www.snellspace.com/public/alternate" />
15
+ </entry>
16
+ <entry>
17
+ <updated>2006-01-26T09:20:02Z</updated>
18
+ <summary>Same as the first, only mixed up a bit</summary>
19
+ <id>tag:example.org,2006:atom/conformance/element_order/2</id>
20
+ <link href="http://www.snellspace.com/public/alternate" />
21
+ <title>Same as the first, only mixed up a bit</title>
22
+ </entry>
23
+ <entry>
24
+ <id>tag:example.org,2006:atom/conformance/element_order/3</id>
25
+ <title>Multiple alt link elements, which one does your reader show?</title>
26
+ <summary>Multiple alt link elements, which does your reader show?</summary>
27
+ <updated>2006-01-26T09:20:03Z</updated>
28
+ <link href="http://www.snellspace.com/public/alternate" />
29
+ <link type="text/plain" href="http://www.snellspace.com/public/alternate2" />
30
+ </entry>
31
+ <entry>
32
+ <id>tag:example.org,2006:atom/conformance/element_order/4</id>
33
+ <title>Multiple link elements, does your feed reader show the "alternate" correctly?</title>
34
+ <summary>Multiple link elements, does your feed reader show the "alternate" correctly? (also checks to see if the reader is paying attention to link rel values)</summary>
35
+ <updated>2006-01-26T09:20:04Z</updated>
36
+ <link href="http://www.snellspace.com/public/alternate" />
37
+ <link rel="related" href="http://www.snellspace.com/public/related" />
38
+ <link rel="urn:foo" href="http://www.snellspace.com/public/foo" />
39
+ </entry>
40
+ <entry>
41
+ <source>
42
+ <id>tag:example.org,2006:atom/conformance/element_order</id>
43
+ <title>Order Matters</title>
44
+ <subtitle>Testing how feed readers handle the order of entry elements</subtitle>
45
+ <updated>2006-01-26T09:16:00Z</updated>
46
+ <author><name>James Snell</name></author>
47
+ <link href="http://www.snellspace.com/wp/?p=255" />
48
+ <link rel="self" href="http://www.snellspace.com/public/ordertest.xml" />
49
+ </source>
50
+ <id>tag:example.org,2006:atom/conformance/element_order/5</id>
51
+ <title>Entry with a source first</title>
52
+ <summary>Entry with a source first.. does your feed reader show the right title, updated, and alt link?</summary>
53
+ <updated>2006-01-26T09:20:05Z</updated>
54
+ <link href="http://www.snellspace.com/public/alternate" />
55
+ </entry>
56
+ <entry>
57
+ <id>tag:example.org,2006:atom/conformance/element_order/6</id>
58
+ <title>Entry with a source last</title>
59
+ <summary>Entry with a source first.. does your feed reader show the right title, updated, and alt link?</summary>
60
+ <updated>2006-01-26T09:20:06Z</updated>
61
+ <link href="http://www.snellspace.com/public/alternate" />
62
+ <source>
63
+ <id>tag:example.org,2006:atom/conformance/element_order</id>
64
+ <title>Order Matters</title>
65
+ <subtitle>Testing how feed readers handle the order of entry elements</subtitle>
66
+ <updated>2006-01-26T09:16:00Z</updated>
67
+ <author><name>James Snell</name></author>
68
+ <link href="http://www.snellspace.com/wp/?p=255" />
69
+ <link rel="self" href="http://www.snellspace.com/public/ordertest.xml" />
70
+ </source>
71
+ </entry>
72
+ <entry>
73
+ <id>tag:example.org,2006:atom/conformance/element_order/7</id>
74
+ <title>Entry with a source in the middle</title>
75
+ <source>
76
+ <id>tag:example.org,2006:atom/conformance/element_order</id>
77
+ <title>Order Matters</title>
78
+ <subtitle>Testing how feed readers handle the order of entry elements</subtitle>
79
+ <updated>2006-01-26T09:16:00Z</updated>
80
+ <author><name>James Snell</name></author>
81
+ <link href="http://www.snellspace.com/wp/?p=255" />
82
+ <link rel="self" href="http://www.snellspace.com/public/ordertest.xml" />
83
+ </source>
84
+ <summary>Entry with a source in the middle.. does your feed reader show the right id, title, updated, and alt link?</summary>
85
+ <updated>2006-01-26T09:20:07Z</updated>
86
+ <link href="http://www.snellspace.com/public/alternate" />
87
+ </entry>
88
+ <entry>
89
+ <x:foo xmlns:x="urn:foo">
90
+ <id>tag:example.org,2006:atom/conformance/element_order/9</id>
91
+ <title>Something is wrong if you're seeing this</title>
92
+ <updated>2006-01-26T09:20:00Z</updated>
93
+ </x:foo>
94
+ <id>tag:example.org,2006:atom/conformance/element_order/8</id>
95
+ <title>Atom elements in an extension element</title>
96
+ <summary>Atom elements in an extension element</summary>
97
+ <updated>2006-01-26T09:20:08Z</updated>
98
+ <link href="http://www.snellspace.com/public/alternate" />
99
+ </entry>
100
+ <entry>
101
+ <id>tag:example.org,2006:atom/conformance/element_order/9</id>
102
+ <title>Atom elements in an extension element</title>
103
+ <summary>Atom elements in an extension element</summary>
104
+ <updated>2006-01-26T09:20:09Z</updated>
105
+ <link href="http://www.snellspace.com/public/alternate" />
106
+ <x:foo xmlns:x="urn:foo">
107
+ <id>tag:example.org,2006:atom/conformance/element_order/8</id>
108
+ <title>Something is wrong if you're seeing this</title>
109
+ <updated>2006-01-26T09:20:00Z</updated>
110
+ </x:foo>
111
+ </entry>
112
+ </feed>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom</id>
4
+ <title>Atom item title html cdata</title>
5
+ <updated>2005-12-18T00:13:00Z</updated>
6
+ <author>
7
+ <name>Phil Ringnalda</name>
8
+ <uri>http://weblog.philringnalda.com/</uri>
9
+ </author>
10
+ <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom"/>
11
+ <entry>
12
+ <id>http://atomtests.philringnalda.com/tests/item/title/html-cdata.atom/1</id>
13
+ <title type="html"><![CDATA[&lt;title>]]></title>
14
+ <updated>2005-12-18T00:13:00Z</updated>
15
+ <summary>An item with a type="html" title consisting of a less-than
16
+ character, the word 'title' and a greater-than character, where
17
+ the character entity reference for the less-than is escaped by being
18
+ in a CDATA section.</summary>
19
+ <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
20
+ <category term="item title"/>
21
+ </entry>
22
+ </feed>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <id>http://atomtests.philringnalda.com/tests/item/title/html-entity.atom</id>
4
+ <title>Atom item title html entity</title>
5
+ <updated>2005-12-18T00:13:00Z</updated>
6
+ <author>
7
+ <name>Phil Ringnalda</name>
8
+ <uri>http://weblog.philringnalda.com/</uri>
9
+ </author>
10
+ <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/html-entity.atom"/>
11
+ <entry>
12
+ <id>http://atomtests.philringnalda.com/tests/item/title/html-entity.atom/1</id>
13
+ <title type="html">&amp;lt;title></title>
14
+ <updated>2005-12-18T00:13:00Z</updated>
15
+ <summary>An item with a type="html" title consisting of a less-than
16
+ character, the word 'title' and a greater-than character, where the
17
+ character entity reference for the less-than character is escaped by
18
+ replacing the ampersand with a character entity reference.</summary>
19
+ <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
20
+ <category term="item title"/>
21
+ </entry>
22
+ </feed>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <id>http://atomtests.philringnalda.com/tests/item/title/html-ncr.atom</id>
4
+ <title>Atom item title html NCR</title>
5
+ <updated>2005-12-18T00:13:00Z</updated>
6
+ <author>
7
+ <name>Phil Ringnalda</name>
8
+ <uri>http://weblog.philringnalda.com/</uri>
9
+ </author>
10
+ <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/html-ncr.atom"/>
11
+ <entry>
12
+ <id>http://atomtests.philringnalda.com/tests/item/title/html-ncr.atom/1</id>
13
+ <title type="html">&#38;lt;title></title>
14
+ <updated>2005-12-18T00:13:00Z</updated>
15
+ <summary>An item with a type="html" title consisting of a less-than
16
+ character, the word 'title' and a greater-than character, where
17
+ the HTML's character entity reference is escaped by replacing the
18
+ ampersand with a numeric character reference.</summary>
19
+ <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
20
+ <category term="item title"/>
21
+ </entry>
22
+ </feed>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <id>http://atomtests.philringnalda.com/tests/item/title/text-cdata.atom</id>
4
+ <title>Atom item title text in CDATA</title>
5
+ <updated>2005-12-18T00:13:00Z</updated>
6
+ <author>
7
+ <name>Phil Ringnalda</name>
8
+ <uri>http://weblog.philringnalda.com/</uri>
9
+ </author>
10
+ <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/text-cdata.atom"/>
11
+ <entry>
12
+
13
+ <id>http://atomtests.philringnalda.com/tests/item/title/text-cdata.atom/1</id>
14
+ <title type="text"><![CDATA[<title>]]></title>
15
+ <updated>2005-12-18T00:13:00Z</updated>
16
+ <summary>An item with a type="text" title consisting of a less-than
17
+ character, the word 'title' and a greater-than character, where
18
+ the less-than is escaped by being in a CDATA section.</summary>
19
+ <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
20
+ <category term="item title"/>
21
+ </entry>
22
+ </feed>
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <feed xmlns="http://www.w3.org/2005/Atom">
3
+ <id>http://atomtests.philringnalda.com/tests/item/title/text-entity.atom</id>
4
+ <title>Atom item title text entity</title>
5
+ <updated>2005-12-18T00:13:00Z</updated>
6
+ <author>
7
+ <name>Phil Ringnalda</name>
8
+ <uri>http://weblog.philringnalda.com/</uri>
9
+ </author>
10
+ <link rel="self" href="http://atomtests.philringnalda.com/tests/item/title/text-entity.atom"/>
11
+ <entry>
12
+ <id>http://atomtests.philringnalda.com/tests/item/title/text-entity.atom/1</id>
13
+ <title type="text">&lt;title></title>
14
+ <updated>2005-12-18T00:13:00Z</updated>
15
+ <summary>An item with a type="text" title consisting of a less-than
16
+ character, the word 'title' and a greater-than character, where the
17
+ less-than is escaped with its character entity reference.</summary>
18
+ <link href="http://atomtests.philringnalda.com/alt/title-title.html"/>
19
+ <category term="item title"/>
20
+ </entry>
21
+ </feed>