Wednesday, February 02, 2005

URI dereferencing

For more than the first time, I'd forgotten and had to go through URI Equivalence. My feeling is that deferencing should be done by calling code. It's not the responsibility of say Java's URI object to dereference them (basically only doing string comparison). If you you are doing Scheme-based Normalization you apply it externally - mapping them consistently to the same URI. In Kowari our models can mapped from "rmi://localhost:1099/server1#..." to "rmi://localhost/server1#...". However, if the server starts on port 1199 instead then that's mapped and 1099 will be left. Tim Bray wrote something about it "Good Practice When Generating URIs".
Post a Comment