[xwiki-users] Issue after including rss feed macro
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)
Folks would appreciate if somebody can provide their valuable thoughts on below. ---------- Forwarded message ---------- From: Mohit Gupta <[email protected]> Date: Tue, Jun 11, 2013 at 6:59 PM Subject: Issue after including rss feed macro To: XWiki Users <[email protected]> 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)
It works great on MSSQL server but throw below error in MySQL when i am including RSS macro 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) Is it because of MySQL or some other issue? ---------- Forwarded message ---------- From: Mohit Gupta <[email protected]> Date: Tue, Jun 11, 2013 at 6:59 PM Subject: Issue after including rss feed macro To: XWiki Users <[email protected]> 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)
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 <[email protected]> wrote:
Folks would appreciate if somebody can provide their valuable thoughts on below.
---------- Forwarded message ---------- From: Mohit Gupta <[email protected]> Date: Tue, Jun 11, 2013 at 6:59 PM Subject: Issue after including rss feed macro To: XWiki Users <[email protected]>
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas I tried to include same macro( i.e {{rss feed=" http://rss.cnn.com/rss/edition_asia.rss" /}} ) under same xwiki version but with MS SQL server it worked fine but somehow not working with My SQL. I used same browser version i.e IE 9. Does it have any relation with My SQL DB? On Wed, Jun 12, 2013 at 11:51 AM, Thomas Mortagne <[email protected]
wrote:
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 <[email protected]> wrote:
Folks would appreciate if somebody can provide their valuable thoughts on below.
---------- Forwarded message ---------- From: Mohit Gupta <[email protected]> Date: Tue, Jun 11, 2013 at 6:59 PM Subject: Issue after including rss feed macro To: XWiki Users <[email protected]>
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I don't see how the error you get could have anything to do with the database. Again it's failing when reading the content of http://rss.cnn.com/rss/edition_asia.rss. On Wed, Jun 12, 2013 at 8:33 AM, Mohit Gupta <[email protected]> wrote:
Thomas
I tried to include same macro( i.e {{rss feed=" http://rss.cnn.com/rss/edition_asia.rss" /}} ) under same xwiki version but with MS SQL server it worked fine but somehow not working with My SQL. I used same browser version i.e IE 9.
Does it have any relation with My SQL DB?
On Wed, Jun 12, 2013 at 11:51 AM, Thomas Mortagne <[email protected]
wrote:
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 <[email protected]> wrote:
Folks would appreciate if somebody can provide their valuable thoughts on below.
---------- Forwarded message ---------- From: Mohit Gupta <[email protected]> Date: Tue, Jun 11, 2013 at 6:59 PM Subject: Issue after including rss feed macro To: XWiki Users <[email protected]>
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Thomas , you are right its not related to database . As you mentioned,I have raised the ticket. Number is XWIKI-9226<http://jira.xwiki.org/browse/XWIKI-9226> . In the meantime if you know some workaround it would be very helpful. I tried different RSS feed link also , but same exception. Thanks in advance. On Wed, Jun 12, 2013 at 12:19 PM, Thomas Mortagne <[email protected]
wrote:
I don't see how the error you get could have anything to do with the database. Again it's failing when reading the content of http://rss.cnn.com/rss/edition_asia.rss.
On Wed, Jun 12, 2013 at 8:33 AM, Mohit Gupta <[email protected]> wrote:
Thomas
I tried to include same macro( i.e {{rss feed=" http://rss.cnn.com/rss/edition_asia.rss" /}} ) under same xwiki version but with MS SQL server it worked fine but somehow not working with My SQL. I used same browser version i.e IE 9.
Does it have any relation with My SQL DB?
On Wed, Jun 12, 2013 at 11:51 AM, Thomas Mortagne < [email protected]
wrote:
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 <[email protected]> wrote:
Folks would appreciate if somebody can provide their valuable thoughts on below.
---------- Forwarded message ---------- From: Mohit Gupta <[email protected]> Date: Tue, Jun 11, 2013 at 6:59 PM Subject: Issue after including rss feed macro To: XWiki Users <[email protected]>
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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (2)
-
Mohit Gupta -
Thomas Mortagne