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

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