| Base | Relative | Resolved | Number |
EASY:
|
a |
"http://example.org/dir/file" | "../relfile"
| http://example.org/relfile
|
007
|
b | "http://example.org/dir/file" | "/absfile"
| http://example.org/absfile
|
009
|
c | "http://example.org/dir/file" | "//another.example.org/absfile"
| http://another.example.org/absfile
|
010
|
GETTING HARDER: |
d | "http://example.org/dir/file" | "../../../relfile"
| http://example.org/../../absfile
|
012
|
e | "http://example.org/dir/file" | ""
| http://example.org/dir/file
|
008
|
f | "http://example.org/dir/file" | "#frag"
| http://example.org/dir/file#frag
|
001
|
MASTER CLASS: |
g | "http://example.org" | "relfile"
| http://example.org/relfile |
011
|
h | "http://example.org/dir/file#frag" | "relfile"
| http://example.org/dir/relfile
|
013
|
i | "http://example.org/dir/file#frag" | "#foo"
| http://example.org/dir/file#foo
|
013
|
j | "http://example.org/dir/file#frag" | ""
| http://example.org/dir/file
|
013
|
k | "mailto:Jeremy_Carroll@hp.com" | "#foo"
| mailto:Jeremy_Carroll@hp.com#foo
|
015
|
l | "mailto:Jeremy_Carroll@hp.com" | ""
| mailto:Jeremy_Carroll@hp.com |
016
|
No Consensus: |
m | "mailto:Jeremy_Carroll@hp.com" | "relfile"
| mailto:relfile |
001
|