Alex O'Ree created JSPWIKI-1226:
-----------------------------------
Summary: rss.jsp produces slightly invaldate output
Key: JSPWIKI-1226
URL: https://issues.apache.org/jira/browse/JSPWIKI-1226
Project: JSPWiki
Issue Type: Bug
Environment: with the following input
{noformat}
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0">
<channel>
<title>Department: Main</title>
<link>/department</link>
<description>Oh poor me, my owner has not set a channel description at all.
Pity me.</description>
<language>en-us</language>
<generator>JSPWiki 3.0.0-git-04</generator>
<item>
<link>/department/Wiki.jsp?page=Main&version=2</link>
<title>Main, version 2</title>
<description>Admin changed this page on Sat Nov 08 12:50:45 EST
2025:<br /><hr /><br /><table class="diff" border="0"
cellspacing="0" cellpadding="0">
<tr><td class="diff">At line 2 added 2
lines</td></tr>
<tr><td class="diffadd"></td></tr>
<tr><td class="diffadd">test2</td></tr>
</table></description>
<pubDate>Sat, 08 Nov 2025 17:50:45 GMT</pubDate>
</item>
<item>
<link>/department/Wiki.jsp?page=Main&version=1</link>
<title>Main, version 1</title>
<description>Admin created this page on Sat Nov 08 12:44:51 EST
2025:<br /><hr /><br /><p>test
</p><p>test2
</p></description>
<pubDate>Sat, 08 Nov 2025 17:44:51 GMT</pubDate>
</item>
</channel>
</rss>
{noformat}
getting the following validation errors
{noformat}
This feed does not validate.
line 6, column 21: link must be a full and valid URL: /department [help]
<link>/department</link>
^
line 11, column 56: link must be a full and valid URL:
/department/Wiki.jsp?page=Main&version=2 (2 occurrences) [help]
<link>/department/Wiki.jsp?page=Main&version=2</link>
^
In addition, interoperability with the widest range of feed readers
could be improved by implementing the following recommendations.
line 19, column 4: item should contain a guid element (2 occurrences) [help]
</item>
^
line 28, column 2: Missing atom:link with rel="self" [help] </channel>
^
{noformat}
Reporter: Alex O'Ree
--
This message was sent by Atlassian Jira
(v8.20.10#820010)