W3C home > Mailing lists > Public > public-qt-comments@w3.org > April 2006

[Bug 2457] Rules for URI encoding don't match RFC 3986/3987

From: <bugzilla@wiggum.w3.org>
Date: Thu, 13 Apr 2006 09:00:23 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1FTxgd-00070m-60@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2457


mike@saxonica.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




------- Comment #4 from mike@saxonica.com  2006-04-13 09:00 -------
Norm Walsh's proposal in comment #2 includes the example:

    *
fn:encode-for-uri("http://www.example.com/00/Weather/CA/Los%20Angeles#ocean") 
      returns 
"http%3A%2F%2Fwww.example.com%2F00%2FWeather%2FCA%2FLos%2520Angeles#ocean".
      This is probably not what the user intended because all of the delimiters
      have been encoded.

which rather contradicts the intent, clearly stated in comment #1:

"Escaping the # seems like the right thing"

I think this is just an editorial error in the proposed example, rather than
anything deeper.

Pointed out on the Saxon list by Kevin Rodgers:
https://sourceforge.net/forum/message.php?msg_id=3683924
Received on Thursday, 13 April 2006 09:00:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:11 UTC