RFC 2396, "Uniform Resource Identifiers (URI): Generic Syntax", August 1998
Note: This RFC has been obsoleted by RFC 3986Source of RFC: Legacy
Area Assignment: app
Errata ID: 452
Reported By: Henry Zongaro
Date Reported: 2001-11-12
Verifier Name: Alexey Melnikov
Date Verified: 2010-11-11
Section Appendix C says:
C.1. Normal Examples ... ?y = http://a/b/c/?y ...
Appendix C shows an example of a relative URI Reference of "?y" with
respect to the base URI "http://a/b/c/d;p?q". However, according to the
collected syntax that appears in Appendix A, "?y" doesn't appear to be a
valid relative URI reference. The syntactic category URI-reference must
begin with an absoluteURI, a relativeURI or a pound sign. An absoluteURI
begins with a scheme, which cannot begin with a question mark; a
relativeURI begins with a net_path or abs_path, both of which begin with a
slash, or with a rel_path. A rel_path begins with a non-empty
rel_segment, which again cannot begin with a question mark.
Alexey: this was fixed in RFC 3986 (the example is correct).