Re: Editorial for Web Address in HTML 5

Hello Yui, Julian,

On 2009/09/10 2:47, Julian Reschke wrote:
> NARUSE, Yui wrote:
>> Hi,
>> I originally posted on whatwg and am introduced here.
>> http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-September/022777.html
>>
>> This is about Web addresses in HTML 5.
>> http://www.w3.org/html/wg/href/draft
>>
>> In 2 Parsing Web addresses at 2. Percent-encode all non-URI characters in w,
>> percent-encoding many characters includeing U+0025 percent sign.
>> But by this spec, if a Web address w is already escaped URL,
>> this process double-escape those characters.
>>
>> For example, w is http://www.example.org/D%C3%BCrst,
>> on step 2, w comes to be http://www.example.org/D%25C3%25BCrst.
>> And on step 5, w is broken.
>>
>> So it shouldn't escape percent sign,
>> and if you want to give percent sign, it must be already escaped.
>> ...
>
> That spec is already obsolete; work is now going on in
> <http://tools.ietf.org/html/draft-duerst-iri-bis-06>.

Yes, and I think we will work more based on
   http://www.w3.org/TR/2009/WD-html5-20090423/infrastructure.html#urls
than on
   http://www.w3.org/html/wg/href/draft.

> (I think I asked the same question some time ago, and it turned out
> there's another un-escaping step undoing this; however I agree that this
> is totally confusing and needs to be changed or at least explained much
> better)

I agree that it's confusing, and I hope we can avoid it.

Regards,    Martin.

-- 
#-# Martin J. Dürst, Professor, Aoyama Gakuin University
#-# http://www.sw.it.aoyama.ac.jp   mailto:duerst@it.aoyama.ac.jp

Received on Friday, 11 September 2009 09:50:09 UTC