Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360805 - Unwanted XPath references in REST API
Summary: Unwanted XPath references in REST API
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Skalli (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Ochmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 08:06 EDT by Michael Ochmann CLA
Modified: 2022-10-03 10:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Ochmann CLA 2011-10-13 08:06:45 EDT
/api/projects?extensions=... for inherited extensions renders
XPath references of the form
  
    <devInf ... inherited="true"
       reference="../../../project[36]/extensions/devInf"/>
       
instead of the full <devInf> information requiring a sophisticated parsing mechanism. In order to keep the barrier for consumption low, these references should be avoided.
Comment 1 Michael Ochmann CLA 2012-02-13 04:36:42 EST
ResourceRepresentation#getXStream():

added setMode(XStream.NO_REFERENCES)