Re: IRI regex quiz!

At 06:37 06/01/24, Jeremy Carroll wrote:

 >A further area of doubt in the first line is allowing the "-" in the 
scheme name. RFC 2717 reserves "-" in scheme names for non-IANA trees, and 
as far as I can tell none have been registered, and until there is such a 
registration - should not be found in a scheme name. (No provision is made 
in RFC 3986 for the use of schemes that do not conform with RFC 2717).

This is a very good example of the possible dangers of overly agressive
checking: "currently, there are no scheme names with '-'" ->
"let's check for that". This is very dangerous, because once
deployed, it is very difficult to upgrade such implementations.

I'm sure that at least the URI spec contains some language in this
direction, but I wasn't able to find it just now.

Regards,   Martin. 

Received on Tuesday, 24 January 2006 04:49:36 UTC