W3C home > Mailing lists > Public > uri@w3.org > November 2002

Re: Ambiguity of Allowed/Recommended URI Syntax and Escaping

From: Roy T. Fielding <fielding@apache.org>
Date: Sun, 17 Nov 2002 22:02:35 -0800
Cc: URI List <uri@w3.org>
To: Terje Bless <link@pobox.com>
Message-Id: <5585B940-FABB-11D6-8A85-000393753936@apache.org>

The specification requires things that are necessary for interoperability,
and suggests things that are desirable for good practice/robustness.
None of the issues you mentioned are necessary for interoperability,
and in fact you will find that implementations don't care one way or
the other.  That is why "?" in query is reserved instead of disallowed,
since it is more robust for parsers to expect it to be present (and
treat it as data) rather than not expect it and think of it as an error.
URI generators, OTOH, are encouraged to use such characters only when
they are used according to a reserved purpose, which in the case of
"?" inside a query means never.  That is not a contradiction, and
certainly isn't ambiguous, since the specification both defines
parsing and makes recommendations to URI generators.

....Roy
Received on Monday, 18 November 2002 01:02:54 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:05 UTC