[jax-rs-spec users] [jsr339-experts] Re: Matching Algorithm in Spec

From: Sergey Beryozkin <>
Date: Thu, 23 May 2013 11:02:28 +0100

Hi Santiago
On 22/05/13 15:27, Santiago Pericas-Geertsen wrote:
> Hello Experts,
> See attachment. Steps (2h) and (2i) have been fixed based on the recent discussions. Step (2h) had a rather obvious condition missing. Step (2i) was missing the (less obvious) part about invoking the locator.

This is what the updated 2.h says:

Set M to be the set of sub-resource methods (excluding sub-resource
locators) as follows:
M = {sub-resource methods D of all classes in C where Rmatch = R(TD )}
and go to step 3 if M = {}.

I don't see how it fixes a BC issue identified in

The way 2.h is written now still loses the locator even though, in
JAX_RS_SPEC-405 example, it comes in front of the resource method.

Sorry, I may be slow a bit.
Thanks, Sergey

> -- Santiago