cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (CXF-4116) Equal URI templates should use a string comparison as the last step
Date Thu, 16 Feb 2012 16:42:59 GMT


Sergey Beryozkin resolved CXF-4116.

    Resolution: Fixed
> Equal URI templates should use a string comparison as the last step
> -------------------------------------------------------------------
>                 Key: CXF-4116
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.4.7, 2.5.3, 2.6
> JAX-RS 1.1 Selection algorithm does not say what needs to be done when 2 URI templates
are equal after 3 checks (number of 1. literals, 2. vars & 3. custom vars) are done. CXF
assumes both are equal candidates, Jersey finishes with the string comparison. 
> Note, this 4th step (string comparison) does not make sense in all but few cases where
only custom regular expressions are involved due to the fact that steps 1-3 are sufficient
in most cases and when it needs to be done we are at the stage where the choice between 2
candidates is completely random... For the interop & portability purposes, it makes sense
to add a string comparison...JAX-RS 2.0 requesting the clarification in the spec is to be
created too.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message