Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » A XML error when creating a query for sourceforge repository
A XML error when creating a query for sourceforge repository [message #52158] Mon, 07 July 2008 20:02 Go to next message
En Ye is currently offline En YeFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

I use Eclipse 3.4 with Mylyn 3.0. I created a task repository for
sourceforge.net using "Web Template (advanced)", and then created a query
for a sourceforge project by following the instructions provided in
http://wiki.eclipse.org/Using_Sourceforge_with_Mylyn. I got an "query
synchronization failed" error: "Invalid XML: Error on line 167: The
referene to entity "group_artifact_id" must end with the ';' delimiter".
When I right clicked the query and selected "open with browser", I could
open the sourforge page correctly. Also if I changed the "Query Pattern"
pattern" to "<a
href=" /tracker/index.php\?func=detail&amp;aid=({Id}[0-9]+)& ;amp;group_id=${group_id}&amp;atid=${atid} ">[\s]*<!--
google_ad_section_start->({Description}[^<]+)<!-- google_ad_section_end
-->[\s]*</a>[\s]*</td>" provided in
http://thenazg.blogspot.com/2008/04/eclipse-mylyn-sync-to-so urceforge.html,
the preview table could also show the expected list, but I still had the
same error when I click the "finish" button in the "Edit Repository
Dialog". Is there anyone who know how to fix it? Thank you in advance for
any help.
Re: A XML error when creating a query for sourceforge repository [message #52186 is a reply to message #52158] Mon, 07 July 2008 21:05 Go to previous messageGo to next message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
En Ye wrote:
> I use Eclipse 3.4 with Mylyn 3.0. I created a task repository for
> sourceforge.net using "Web Template (advanced)", and then created a
> query for a sourceforge project by following the instructions provided
> in http://wiki.eclipse.org/Using_Sourceforge_with_Mylyn. I got an
> "query synchronization failed" error: "Invalid XML: Error on line 167:
> The referene to entity "group_artifact_id" must end with the ';'
> delimiter". When I right clicked the query and selected "open with
> browser", I could open the sourforge page correctly. Also if I
> changed the "Query Pattern" pattern" to "<a
> href=" /tracker/index.php\?func=detail&amp;aid=({Id}[0-9]+)& ;amp;group_id=${group_id}&amp;atid=${atid} ">[\s]*<!--
> google_ad_section_start->({Description}[^<]+)<!--
> google_ad_section_end -->[\s]*</a>[\s]*</td>" provided in
> http://thenazg.blogspot.com/2008/04/eclipse-mylyn-sync-to-so urceforge.html,
> the preview table could also show the expected list, but I still had
> the same error when I click the "finish" button in the "Edit
> Repository Dialog". Is there anyone who know how to fix it? Thank you
> in advance for any help.
>
What is the query url for your sourceforge project? Have you ever
tried the same project with Mylyn 2.2?

Also make sure that query pattern is present on the query
configuration preferences, otherwise web connector would assume that
resource at the specified url is actually an rss feed and it will parse
it as an rss.

regards,
Eugene
Re: A XML error when creating a query for sourceforge repository [message #52212 is a reply to message #52186] Mon, 07 July 2008 22:15 Go to previous messageGo to next message
En Ye is currently offline En YeFriend
Messages: 4
Registered: July 2009
Junior Member
The query url I used is
${serverUrl}/tracker/?group_id=${group_id}&atid=${atid}& amp;set=custom&_status=1.
And the query pattern was also present on the query configuration
preferences. I tried using different group_id and atid, but all had the
same error under Mylyn 3.0.

I also tried the same project with Mylyn 2.2, and the query can be created
succesfully without any error. Any thoughts? Thanks

En
Re: A XML error when creating a query for sourceforge repository [message #52238 is a reply to message #52212] Mon, 07 July 2008 22:50 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
En Ye wrote:
> The query url I used is
> ${serverUrl}/tracker/?group_id=${group_id}&atid=${atid}& amp;set=custom&_status=1.
> And the query pattern was also present on the query configuration
> preferences. I tried using different group_id and atid, but all had
> the same error under Mylyn 3.0.
> I also tried the same project with Mylyn 2.2, and the query can be
> created succesfully without any error. Any thoughts? Thanks
Sounds like regression introduced when connector been ported to the
new API.

Please submit a bug report for this and also specify what values for
group_id and atid you are using, or export query from the task list and
attach export archive to the bug report.

regards,
Eugene
Re: A XML error when creating a query for sourceforge repository [message #590945 is a reply to message #52158] Mon, 07 July 2008 21:05 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
En Ye wrote:
> I use Eclipse 3.4 with Mylyn 3.0. I created a task repository for
> sourceforge.net using "Web Template (advanced)", and then created a
> query for a sourceforge project by following the instructions provided
> in http://wiki.eclipse.org/Using_Sourceforge_with_Mylyn I got an
> "query synchronization failed" error: "Invalid XML: Error on line 167:
> The referene to entity "group_artifact_id" must end with the ';'
> delimiter". When I right clicked the query and selected "open with
> browser", I could open the sourforge page correctly. Also if I
> changed the "Query Pattern" pattern" to "<a
> href=" /tracker/index.php\?func=detail&amp;aid=({Id}[0-9]+)& ;amp;group_id=${group_id}&amp;atid=${atid} ">[\s]*<!--
> google_ad_section_start->({Description}[^<]+)<!--
> google_ad_section_end -->[\s]*</a>[\s]*</td>" provided in
> http://thenazg.blogspot.com/2008/04/eclipse-mylyn-sync-to-so urceforge.html,
> the preview table could also show the expected list, but I still had
> the same error when I click the "finish" button in the "Edit
> Repository Dialog". Is there anyone who know how to fix it? Thank you
> in advance for any help.
>
What is the query url for your sourceforge project? Have you ever
tried the same project with Mylyn 2.2?

Also make sure that query pattern is present on the query
configuration preferences, otherwise web connector would assume that
resource at the specified url is actually an rss feed and it will parse
it as an rss.

regards,
Eugene
Re: A XML error when creating a query for sourceforge repository [message #590958 is a reply to message #52186] Mon, 07 July 2008 22:15 Go to previous message
En Ye is currently offline En YeFriend
Messages: 4
Registered: July 2009
Junior Member
The query url I used is
${serverUrl}/tracker/?group_id=${group_id}&atid=${atid}& amp;set=custom&_status=1.
And the query pattern was also present on the query configuration
preferences. I tried using different group_id and atid, but all had the
same error under Mylyn 3.0.

I also tried the same project with Mylyn 2.2, and the query can be created
succesfully without any error. Any thoughts? Thanks

En
Re: A XML error when creating a query for sourceforge repository [message #590970 is a reply to message #52212] Mon, 07 July 2008 22:50 Go to previous message
Eugene Kuleshov is currently offline Eugene KuleshovFriend
Messages: 504
Registered: July 2009
Senior Member
En Ye wrote:
> The query url I used is
> ${serverUrl}/tracker/?group_id=${group_id}&atid=${atid}& amp;set=custom&_status=1.
> And the query pattern was also present on the query configuration
> preferences. I tried using different group_id and atid, but all had
> the same error under Mylyn 3.0.
> I also tried the same project with Mylyn 2.2, and the query can be
> created succesfully without any error. Any thoughts? Thanks
Sounds like regression introduced when connector been ported to the
new API.

Please submit a bug report for this and also specify what values for
group_id and atid you are using, or export query from the task list and
attach export archive to the bug report.

regards,
Eugene
Previous Topic:Mantis 1.1 integration
Next Topic:An internal error occurred during: "Synchronizing Tasks" with JIRA
Goto Forum:
  


Current Time: Tue Apr 23 17:22:00 GMT 2024

Powered by FUDForum. Page generated in 0.03651 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top