From: Marc-Andre Lafortune Date: 2010-03-26T12:54:33+09:00 Subject: [ruby-core:29023] Re: [Feature #2542] URI lib should be updated to RFC 3986 Hi, On Thu, Mar 25, 2010 at 3:35 AM, NARUSE, Yui wrote: > 2010/3/25 "Martin J. D�rst" : >> Is there a list of incompatibilities, or can you make one? > > Some structures of the syntax is changed in RFC 3986. > This breaks URI::REGEXP::PATTERN::TOPLABEL and some constants. I would recommend isolating these obsolete constants in a separate file which would, if autoloaded issue a warning that they are obsolete. If an option :TOPLABEL or similar is detected in the constructor of Parser, it would be ignored and a warning would be issued. Maybe someone can explain to me under which circumstances someone would want to use a these Regex or a different parser than the one corresponding to the RFC? Are there any example of actual usage of these? In any case, does the desire to support these Regex/constants that have been obsolete for 5 years supercede the need for the library to parse URIs properly? Are there other incompatibilities?