W3C home > Mailing lists > Public > www-validator@w3.org > February 2002

Validator bug for HTML 4.01 Strict DTD?

From: Davydd Cook <davydd@mnsi.net>
Date: Sun, 10 Feb 2002 21:06:35 -0500 (EST)
Message-ID: <000701c1b2a0$667045f0$0100000a@zerthimon>
To: <www-validator@w3.org>
Hello all.

I was just running a validation on some PHP-generated code to make sure
everything was being spit out properly, and came across this one error which
prevented validation:

   ... a href=http://some.link.here/ target="_blank">link text ...
Error: there is no attribute "TARGET" for this element (in this HTML

Wondering about this and how anybody would manage to write a framed site
using the strict HTML 4.01 DTD, I popped over to
http://www.w3.org/TR/html401/present/frames.html#adef-target and found this
in the spec:

"By assigning a name to a frame via the name attribute, authors can refer to
it as the "target" of links defined by other elements. The target attribute
may be set for elements that create links (A, LINK), image maps (AREA), and
forms (FORM)."

A quick check through Appendix A of the spec doesn't show any errors
referring to that particular passage.  Is there something I'm missing, or is
this possibly just an oversight in the validator's parser?


-Davydd Cook
Received on Wednesday, 20 February 2002 21:47:29 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:32 UTC