W3C home > Mailing lists > Public > www-validator@w3.org > September 1999

A question/point of interest

From: Staff <staff@pnl.gov>
Date: Tue, 14 Sep 1999 13:02:48 -0400 (EDT)
To: www-validator@w3.org
Message-id: <37DE7D2F.59CC09A7@pnl.gov>

When validating some of our pages which included the code <BASE
target="main"> I went through the W3C validator and passed with flying
colors.  However running the pages through a HomeSite validator pointed
out that BASE has href as a required attribute.  Checking the HTML 4
spec I find:

<!ELEMENT BASE - O EMPTY               -- document base URI -->
   href        %URI;          #REQUIRED -- URI that acts as base URI --

So my understanding of the situtation is that the validator is allowing
the href attribute to be(incorrectly) left out, and we really ought to
have code such as
<BASE href="http://www.emsl.pnl.gov:2080/homepage.html" target="main">,
for instance.  Or am I(and the HomeSite validator) misunderstanding the
#REQUIRED portion in the spec?

Replies to email(I'm not on the list) would be appreciated.


Received on Tuesday, 14 September 1999 13:22:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:13 UTC