W3C home > Mailing lists > Public > public-qt-comments@w3.org > June 2005

[Bug 1502] [F&O] escape-uri encompasses & s/b split into 2 distinct functions

From: <bugzilla@wiggum.w3.org>
Date: Thu, 16 Jun 2005 18:25:56 +0000
To: public-qt-comments@w3.org
Cc:
Message-Id: <E1Diz3s-0001RU-0H@wiggum.w3.org>

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





------- Additional Comments From mike@saxonica.com  2005-06-16 18:25 -------
I'm inclined to agree. Experience of using this function suggests it's very hard
to remember which way to set the boolean argument, and the resulting code is not
clear to the reader. I think we were over-influenced by pressure to minimize the
number of functions.

Perhaps suitable names might be escape-uri() and escape-uri-part().

I haven't seen use cases for an unescape-uri() function, but I agree there's an
argument for it based on completeness. 

Michael Kay (personal response)
Received on Thursday, 16 June 2005 18:25:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:38 GMT