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
Message-Id: <E1Diz3s-0001RU-0H@wiggum.w3.org>


------- 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 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:45:24 UTC