On Aug 15, 2009, at 10:26 PM, Felipe Gaścho wrote:
> does Jersey supports xi:include ??
>
Only in so far as the XML libraries might support it.
For example:
http://weblogs.java.net/blog/kohsuke/archive/2006/01/xinclude_and_ja.html
xi:include may potentially cause security issues when processing XML.
> does it make sense to include also the href of the resources in the
> responses ?
>
If you want to do hypermedia, which is a very important aspect, then
yes.
I think you may be deciding what to include in a representation that
is information available in other related resources e.g. container/
item. A container representation would list a sub-set of the item
resources links each of each contains a sub-set of the representation
returned from the item resources.
Paul.