On 10 Nov 2004, at 8:20 am, Roy T. Fielding wrote:
Because that is what the proposal formerly said, before it was simplified
by removing that feature.
How is it a simplification? Let's code it (in Cocoa):
Either:
NSURL *baseURL=[NSURL URLWithString:@"http://www.iana.org/assignments/relation/"];
NSURL *relationURL=[NSURL URLWithString:rel baseURL:baseURL];
vs
NSURL *relationURL;
if ([rel rangeOfString:@":"].location==NSNotFound) {
relURL=[NSURL URLWithString:[@"http://www.iana.org/assignments/relation/" stringByAppendingString:rel]];
} else {
relURL=[NSURL URLWithString:rel];
}
There are no relative references of interest here other than the flat namespace of the registry itself, so there is no real value in treating it as a special case of URI reference.
OK, I get that there aren't any valid relative URI refs that aren't part of the registry, so I get your motivation for the change. It doesn't actually lead to a simplification of the spec or the code in any language that has URL classes.
Graham
smime.p7s
Description: S/MIME cryptographic signature
