Re: Absolute BASE

Rob (wlkngowl@unix.asb.com)
Thu, 26 Feb 1998 23:03:11 -0500


Message-Id: <199802270416.XAA25397@unix.asb.com>
From: "Rob" <wlkngowl@unix.asb.com>
To: Alex Fabrikant <afabrikant@smtpgtwy.ausd.k12.ca.us>
Date: Thu, 26 Feb 1998 23:03:11 -0500
CC: www-html@w3.org
In-reply-to: <s4f567a9.088@smtpgtwy.ausd.k12.ca.us>
Subject: Re: Absolute BASE

On 26 Feb 98, Alex Fabrikant <afabrikant@smtpgtwy.ausd.k12.ca.us> 
  replied to:

> >Any paticular reason for requiring the HREF attribute in the BASE element
> >to be an absolute URI?  Why not resolve a relative URI according to the
> >document's URI?
> 
> That would be contrary to the purpose of BASE though, wouldn't it?
> BASE DEFINES what the relative URIs are based on, and make the href
> for *base* relative as well would pretty much defeat the purpose

Another use of base is to define the default target window. So for 
example, a menu frame can have

  <BASE TARGET="rightWindow">

which makes sense to the major browsers but of course doesn't validate, 
since the required HREF is missing. Well, one can put the HREF in there, 
but it's awkward when testing pages on a local machine or a mirroring web 
pages.

Which is why I suspect the question was asked.

Rob

-----
"The word to 'kill' ain't dirty    | Robert Rothenburg wlkngowl@unix.asb.com
 I used it in the last line        | http://www.asb.com/usr/wlkngowl
 but use the short word for lovin' | http://www.wusb.org/mutant
 and Dad you wind up doin' time."  | PGP'd mail welcome (ID 0x5D3F2E99)