TEAM-ADA Archives

Team Ada: Ada Programming Language Advocacy


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
"W. Wesley Groleau x4923" <[log in to unmask]>
Tue, 5 Dec 2000 11:05:05 -0500
text/plain (23 lines)
> ><a href=www.x.y/a/b.c">
> >tend to surprise me, but not surprise popular browsers.
> The general scheme for Uniform Resource Identifiers is contained in
> <>RFC<>
> 2396 (and others). But what you are seeing above is a non-standard (I
> think) extension that reflects most common usage, i.e. "http:" is assumed
> as the scheme qualifier.

It would not surprise me to hear that some browser interprets that link as
<A href="http://www.x.y/a/b.c"> which means b.c in dir a on host www.x.y

But what the sample really means (according to spec) is the file b.c, in
subdir a, in a _subdir_ named www.x.y which happens to be a subdir of the
directory containing the link.

And most browsers can handle forgetting to put the URI in quotes, but they
will get hopelessy confused when only one of the quote marks is missing.

Wes Groleau