According to the error there is something Rome (the standard Java
library to parse RSS) does not like about
http://rss.cnn.com/rss/edition_asia.rss. It's saying that it found a
<link> element without corresponding ending </link>.
Since my browser seems to support it well you should probably create a
bug issue on
http://jira.xwiki.org.
On Wed, Jun 12, 2013 at 5:53 AM, Mohit Gupta <motgupta(a)gmail.com> wrote:
Folks would appreciate if somebody can provide their
valuable thoughts on
below.
---------- Forwarded message ----------
From: Mohit Gupta <motgupta(a)gmail.com>
Date: Tue, Jun 11, 2013 at 6:59 PM
Subject: Issue after including rss feed macro
To: XWiki Users <users(a)xwiki.org>
As per instruction given at
http://extensions.xwiki.org/xwiki/bin/view/Extension/RSS+Macro i created
the page and icluded below macro
{{rss
feed="http://rss.cnn.com/rss/edition_asia.rss" /}}
But getting below error(though i am able to open link
http://rss.cnn.com/rss/edition_asia.rss in browser). I am not getting whats
the issue here?
Failed to execute the [rss] macro
org.xwiki.rendering.macro.MacroExecutionException: Error processing [
http://rss.cnn.com/rss/edition_asia.rss] : Invalid XML: Error on line 18:
The element type "link" must be terminated by the matching end-tag
"</link>".
at
org.xwiki.rendering.internal.macro.rss.DefaultRomeFeedFactory.createFeed(DefaultRomeFeedFactory.java:68)
at
org.xwiki.rendering.internal.macro.rss.RssMacro.execute(RssMacro.java:136)
at
org.xwiki.rendering.internal.macro.rss.RssMacro.execute(RssMacro.java:61)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:187)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:83)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:248)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne