jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: [jax-rs-spec users] Link toString method

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: Thu, 14 Feb 2013 15:05:57 +0100

On 2013-02-14 14:57, Santiago Pericas-Geertsen wrote:
>
> On Feb 14, 2013, at 6:01 AM, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:
>
>> Hi,
>>
>> The documentation for Link.toString says all parameter values have to be quoted, while RFC 5988 allows for some of them, like 'rel' and 'type' have no quotes,
>>
>> I don't mind much whether Link.toString() quotes all parameter values or not, but would to clarify if it is expected indeed as one might imagine some of Link consumers failing to read say a quoted 'rel' value...
>
> I'm not sure I follow. Shouldn't a consumer of this grammar support both quoted and unquoted flavors to be compliant?

That's the rational thing to implement, but it's not what RFC 5988 says.
That's why I reported the erratum that I mentioned in my previous mail.

Best regards, Julian