XML parsing error in posts.rss

AI-generated summary

XML parsing error in posts.rss

The posts.rss feed on foorumi.linux.fi is experiencing an XML parsing error, preventing RSS programs like Thunderbird from accepting it.

oselotti reported the issue and provided links to the problematic feed and the W3C Feed Validator results.

Mittineague confirmed the issue and identified the problem to be caused by CDATA nesting in the post content, specifically in this post.

Hello

We have a problem with posts.rss on foorumi.linux.fi. The feed gives a “XML parsing error”. For example Thunderbird and other RSS programs will not accept it.

Please see:

Confirmed

Looks like some funky CDATA nesting (onebox related?)

      <item>
        <title>Physical volumen kutistaminen ja komplikaatiot</title>
        <dc:creator><![CDATA[@Anubis Anubis]]></dc:creator>
        <description><![CDATA[ <p>Vastaan itsellleni edelliseen viestiin sen verran että google löysi esim. tämmöisiä<br><a href="https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/mdatarecover.html" class="onebox" target="_blank" rel="nofollow">https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/mdatarecover.html</a><br><a href="https://www.novell.com/coolsolutions/appnote/19386.html" class="onebox" target="_blank" rel="nofollow">https://www.novell.com/coolsolutions/appnote/19386.html</a><br></p><blockquote class="wp-embedded-content"><a href="http://blog.adamsbros.org/2009/05/30/recover-lvm-volume-groups-and-logical-volumes-without-backups/">Recover LVM Volume Groups and Logical Volumes WITHOUT Backups</a></blockquote>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
		!function(a,b){"use strict";function c(){if(!e){e=!0;var a,c,d,f,g=-1!==navigator.appVersion.indexOf("MSIE 10"),h=!!navigator.userAgent.match(/Trident.*rv:11\./),i=b.querySelectorAll("iframe.wp-embedded-content"),j=b.querySelectorAll("blockquote.wp-embedded-content");for(c=0;c<j.length;c++)j[c].style.display="none";for(c=0;c<i.length;c++)if(d=i[c],d.style.display="",!d.getAttribute("data-secret")){if(f=Math.random().toString(36).substr(2,10),d.src+="#?secret="+f,d.setAttribute("data-secret",f),g||h)a=d.cloneNode(!0),a.removeAttribute("security"),d.parentNode.replaceChild(a,d)}else;}}var d=!1,e=!1;if(b.querySelector)if(a.addEventListener)d=!0;if(a.wp=a.wp||{},!a.wp.receiveEmbedMessage)if(a.wp.receiveEmbedMessage=function(c){var d=c.data;if(d.secret||d.message||d.value)if(!/[^a-zA-Z0-9]/.test(d.secret)){var e,f,g,h,i,j=b.querySelectorAll('iframe[data-secret="'+d.secret+'"]'),k=b.querySelectorAll('blockquote[data-secret="'+d.secret+'"]');for(e=0;e<k.length;e++)k[e].style.display="none";for(e=0;e<j.length;e++)if(f=j[e],c.source===f.contentWindow){if(f.style.display="","height"===d.message){if(g=parseInt(d.value,10),g>1e3)g=1e3;else if(200>~~g)g=200;f.height=g}if("link"===d.message)if(h=b.createElement("a"),i=b.createElement("a"),h.href=f.getAttribute("src"),i.href=d.value,i.host===h.host)if(b.activeElement===f)a.top.location.href=d.value}else;}},d)a.addEventListener("message",a.wp.receiveEmbedMessage,!1),b.addEventListener("DOMContentLoaded",c,!1),a.addEventListener("load",c,!1)}(window,document);
//--><!]]>
</script><iframe sandbox="allow-scripts" security="restricted" src="http://blog.adamsbros.org/2009/05/30/recover-lvm-volume-groups-and-logical-volumes-without-backups/embed/" width="600" height="338" title="Embedded WordPress Post" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><br>. Vissiin kokeilen noita ohjeita lähiaikoina. ]]></description>
        <link>https://foorumi.linux.fi/t/physical-volumen-kutistaminen-ja-komplikaatiot/1882/5</link>
        <pubDate>Mon, 14 Mar 2016 20:04:28 +0000</pubDate>
        <guid isPermaLink="false">post-9880</guid>
      </item>

EDIT
It looks to be because the post contains CDATA as post content

「いいね!」 4