title.xml - sfeed_tests - sfeed tests and RSS and Atom files | |
git clone git://git.codemadness.org/sfeed_tests | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
title.xml (3995B) | |
--- | |
1 <rss> | |
2 <channel> | |
3 | |
4 <!-- NOTE: unlike Atom, RSS has no type attribute, test it anyway --> | |
5 | |
6 <item> | |
7 <title>HTML default (no type attribute)</title> | |
8 </item> | |
9 | |
10 <item> | |
11 <title type="">empty type</title> | |
12 </item> | |
13 | |
14 <item> | |
15 <title type="text">text</title> | |
16 </item> | |
17 | |
18 <item> | |
19 <title type="html">html</title> | |
20 </item> | |
21 | |
22 <item> | |
23 <title type="xhtml">xhtml</title> | |
24 </item> | |
25 | |
26 <item> | |
27 <title type="text"><b>test</b></title> | |
28 </item> | |
29 | |
30 <item> | |
31 <title type="html"><b>test</b></title> | |
32 </item> | |
33 | |
34 <item> | |
35 <title type="html"><b>test</b> abc</title> | |
36 </item> | |
37 | |
38 <item> | |
39 <title><div><b>test</b> abc</div></title> | |
40 </item> | |
41 | |
42 <item> | |
43 <title type="text"><div><b>test</b> abc</div></title> | |
44 </item> | |
45 | |
46 <item> | |
47 <title type="html"><div><b>test</b> abc</div></title> | |
48 </item> | |
49 | |
50 <item> | |
51 <title type="xhtml"><div><b>test</b> abc</div></title> | |
52 </item> | |
53 | |
54 <!-- double encoded div section in XHTML title as CDATA --> | |
55 <item> | |
56 <title type="xhtml"><![CDATA[<div><b>test</b> abc</div>]]></title> | |
57 </item> | |
58 | |
59 <item> | |
60 <title type="html"><![CDATA[<b>test</b>]]></title> | |
61 </item> | |
62 | |
63 <!-- test if HTML code is used and tags are stripped or not --> | |
64 <item> | |
65 <title type="html"><![CDATA[<b>test</b> abc]]></title> | |
66 </item> | |
67 | |
68 <item> | |
69 <title type="text"><b>test</b></title> | |
70 </item> | |
71 | |
72 <item> | |
73 <title type="text"><b>test</b> abc</title> | |
74 </item> | |
75 | |
76 <item> | |
77 <title type="html"><b>test</b></title> | |
78 </item> | |
79 | |
80 <item> | |
81 <title type="html"><b>test</b> abc</title> | |
82 </item> | |
83 | |
84 <item> | |
85 <title type="xhtml"><div><b>test</b> abc</div></… | |
86 </item> | |
87 | |
88 <item> | |
89 <title type="html"><![CDATA[<b>test</b> & abc]]></title> | |
90 </item> | |
91 | |
92 <item> | |
93 <title type="html"><![CDATA[<b>test</b> & abc]]></title> | |
94 </item> | |
95 | |
96 <item> | |
97 <title type="html"><b>test</b> &< abc</title> | |
98 </item> | |
99 | |
100 <item> | |
101 <title type="html"><b>test</b> &lt; abc</title> | |
102 </item> | |
103 | |
104 <!-- HTML named entity: unsupported --> | |
105 <item> | |
106 <title type="html"><b>test</b> ­ abc</title> | |
107 </item> | |
108 <item> | |
109 <title type="html"><b>test</b> &shy; abc</title> | |
110 </item> | |
111 | |
112 <!-- control char in entity--> | |
113 <item> | |
114 <title type="html"><b>test</b> 	 abc</title> | |
115 </item> | |
116 <item> | |
117 <title type="html"><b>test</b> &#x09; abc</title> | |
118 </item> | |
119 <item> | |
120 <title type="html"><![CDATA[<b>test</b> 	 abc]]></title> | |
121 </item> | |
122 <item> | |
123 <title type="html"><![CDATA[<b>test</b> &#x09; abc]]></title> | |
124 </item> | |
125 | |
126 <!-- gt in attribute --> | |
127 <item> | |
128 <title type="text"><em>bla</em> <a href=">">test</a></title> | |
129 </item> | |
130 <item> | |
131 <title type="html"><em>bla</em> <a href=">">test</a></title> | |
132 </item> | |
133 <item> | |
134 <title type="xhtml"><em>bla</em> <a href=">">test</a></title> | |
135 </item> | |
136 <item> | |
137 <title type="html"><![CDATA[<em>bla</em> <a href=">">test</a>]]></title> | |
138 </item> | |
139 <item> | |
140 <!-- "abc" --> | |
141 <title type="html"><a href="test>">abc</a></title> | |
142 </item> | |
143 <item> | |
144 <title type="html"><a href="test>">abc</a></title> | |
145 </item> | |
146 <item> | |
147 <title type="html"><a href="test>">abc</a></title> | |
148 </item> | |
149 | |
150 <!-- invalid numeric entity: has uppercase X --> | |
151 <item> | |
152 <title type="html">A &#X42; C</title> | |
153 </item> | |
154 | |
155 <!-- valid numeric entity --> | |
156 <item> | |
157 <title type="html">A &#x42; C</title> | |
158 </item> | |
159 | |
160 <!-- whitespace entity --> | |
161 <item> | |
162 <title type="text">a b
c</title> | |
163 </item> | |
164 <item> | |
165 <title type="html">a b
c</title> | |
166 </item> | |
167 <item> | |
168 <title type="xhtml">a b
c</title> | |
169 </item> | |
170 <item> | |
171 <title type="html"><![CDATA[a b
c]]></title> | |
172 </item> | |
173 | |
174 <item> | |
175 <title><![CDATA[test & test 2 <stuff>]]></title> | |
176 </item> | |
177 <item> | |
178 <title type="text"><![CDATA[test & test 2 <stuff>]]></title> | |
179 </item> | |
180 <item> | |
181 <title type="html"><![CDATA[test & test 2 <stuff>]]></title> | |
182 </item> | |
183 <item> | |
184 <title type="xhtml"><![CDATA[test & test 2 <stuff>]]></title> | |
185 </item> | |
186 | |
187 <item> | |
188 <title><![CDATA[<b>bold</b> and stuff]]></title> | |
189 </item> | |
190 <item> | |
191 <title type="text"><![CDATA[<b>bold</b> and stuff]]></title> | |
192 </item> | |
193 <item> | |
194 <title type="html"><![CDATA[<b>bold</b> and stuff]]></title> | |
195 </item> | |
196 <item> | |
197 <title type="xhtml"><![CDATA[<b>bold</b> and stuff]]></title> | |
198 </item> | |
199 | |
200 </channel> | |
201 </rss> |