SMOLNET PORTAL home about changes
content_linebreak_end_tags.xml - sfeed_tests - sfeed tests and RSS and Atom files
(URL) git clone git://git.codemadness.org/sfeed_tests (git://git.codemadness.org)
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
content_linebreak_end_tags.xml (817B)
---
1 <?xml version="1.0" encoding="UTF-8"?>
2 <feed>
3 <entry
4 ><title
5 type="text" bla="2"
6 >Chess puzzle book generator</title
7 >
8 <content type="html"
9 >test content<b>bold</b
10 ></content
11 >
12 </entry
13 >
14
15 <entry>
16 <title>#2</title>
17 <content type="html">
18 test content<b>bold</b>
19 </content>
20 </entry>
21
22 <!-- Officially an empty XML tag should end with "/>" without whitespace, so
23 this is invalid. However this XML parser is not strict and will support it,
24 since the alternative is rejecting all the input.
25 See: https://www.w3.org/TR/REC-xml/#dt-empty
26
27 When parsing it as HTML it is also an error, but browsers will process the tag
28 anyway.
29 -->
30 <entry>
31 <title>#3</title>
32 <content type="html">
33 test content
34 <shorttag1 />
35 <shorttag2 />
36 <shorttag3 />
37 <shorttag4/>
38 <shorttag5
39 />
40
41 <!-- invalid: -->
42 <shorttag6/
43 >
44 </content>
45 </entry>
46
47 </feed>
Response: application/gopher-menu
Original URLgopher://codemadness.org/1/git/sfeed_tests/file/input/sfe...
Content-Typeapplication/gopher-menu; charset=utf-8