users@jsr311.java.net

Re: _at_MatrixParam

From: Marc Hadley <Marc.Hadley_at_Sun.COM>
Date: Tue, 18 Mar 2008 15:58:20 -0700

On Mar 18, 2008, at 2:23 PM, Stephan Koops wrote:

>
>> [...] if you have the same matrix param on the current path segment
>> as on a previous one, the current one overrides the previous.
> what, if you have path;m1=1;m1=2 (on one path segment) which is the
> value for @MatrixParam("m1")? 1 or 2?
>
> I think this both cases should also be specified in the spec.
>
Agreed, I'd propose m1=1, i.e. the first value found.

Marc.

---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.