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