Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363339 - Bugzilla adapter gives back invalid XML for query responses
Summary: Bugzilla adapter gives back invalid XML for query responses
Status: CLOSED FIXED
Alias: None
Product: Lyo
Classification: Technology
Component: Server (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Samuel Padgett CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-09 10:59 EST by Samuel Padgett CLA
Modified: 2013-05-23 09:13 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Padgett CLA 2011-11-09 10:59:20 EST
For instance,

http://localhost:8282/bugz/changerequests?productId=2&oslc.where=oslc_cm%3Astatus%3D%22NEW%22&oslc.select=oslc_cm%3Astatus

results in this error parsing the response:

FatalError: The reference to entity "oslc.paging" must end with the ';' delimiter.[Line = 17, Column = 97]

Here is the problematic line:

<oslc:ResponseInfo rdf:about="http://localhost:8282/bugz/changerequests?productId=2&oslc.paging=true">

The '&' should instead be '&amp;'.

As an aside, we should be using Jena to generate our RDF/XML rather than JSPs, which avoids this kind of problem altogether.
Comment 1 Samuel Padgett CLA 2011-11-09 11:03:23 EST
Mike or Steve, can you assign to me?
Comment 2 Samuel Padgett CLA 2011-11-09 13:54:44 EST
I have a fix ready. See

https://github.com/eclipse/lyo.server/pull/1

I am now using Jena for RDF/XML query results.
Comment 4 Michael Fiedler CLA 2011-11-10 19:09:49 EST


Resolved by this additional commit:

http://git.eclipse.org/c/lyo/org.eclipse.lyo.server.git/commit/?id=97ffbcc05a36a7ef9c9dd468dba5b8f0365c02fa
Comment 6 Samuel Padgett CLA 2013-05-23 09:13:22 EDT
Closing...