dev@jsr311.java.net

Re: URI Escaping and Unescaping

From: Mark Hansen <mark_at_javector.com>
Date: Fri, 22 Jun 2007 09:10:14 -0400

Good point Bill. I agree that we need to differentiate between behavior
that is appropriate for a tool vs. an API. Tools for handling encoding
seem fine to me. Having the API hide the encoding seems wrong to me.

-- Mark


Bill de hOra wrote:

> Dhanji R. Prasanna wrote:
>
>>
>>
>> On 6/22/07, *Bill de hOra* <bill_at_dehora.net <mailto:bill_at_dehora.net>>
>> wrote:
>>
>>
>> Indeed. For me to add
>>
>> @UriTemplate("hello%20world")
>>
>> means I need to know the escape sequence as I type. The doing this
>>
>> @UriTemplate("hello world")
>>
>>
>> We're not talking about changing the URI template to auto-code. Just
>> the URI parameter that is extracted after the jsr311 algorithm has
>> *already* run on the URI and extracted the params.
>
>
> I'm not understanding the difference (which isn't to say i don't
> belive there is one). But the point is that what I type into my editor
> isn't what I will send/receive over HTTP. As a user of the API, I have
> to know that, or I'm buying into a "tools will save me" position.
>
> cheers
> Bill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jsr311.dev.java.net
> For additional commands, e-mail: dev-help_at_jsr311.dev.java.net
>


-- 
Mark Hansen
Author of "SOA Using Java Web Services"
http://soabook.com
mark_at_javector.com
cell:   914-924-3398
office: 914-595-5407
skype:  khookguy