Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360805

Summary: Unwanted XPath references in REST API
Product: z_Archived Reporter: Michael Ochmann <michael.ochmann>
Component: SkalliAssignee: Michael Ochmann <michael.ochmann>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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)