W3C home > Mailing lists > Public > www-validator@w3.org > May 2003

Re: MarkUp Validation Service Problem

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Mon, 26 May 2003 21:22:04 +0300 (EEST)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.50.0305262116260.10320-100000@korppi.cs.tut.fi>

On Mon, 26 May 2003, H. Ray Battels wrote:

> In the following "form" data I can't get vlidation for the term: border="0".

It's because the DTD that you validate against does not allow the border
attribute in some context. Simple as that.

Please remember that validation only checks a document against a DTD that
you specify (though some validators make a guess on a DTD if you
incorrectly fail to provide one). Nothing more, nothing less.

If you have problems in validation, you should post the URL, not an
extract of code. Specifically, the URL would reveal the DTD.

> Line 41, column 77: there is no attribute "BORDER" (explain...).
> I am sure there is a border attribute in the image tag, isn't there?

You don't need to guess or ask. You can check the DTD. If you don't know
how to do that, why do you validate? (This is something that I ask very
often. Nothing personal.)

You are using a border attribute in an input element. No published DTD
allows it there. On the practical side, that attribute is used by some
people since some versions of Netscape draw a border around an image
submit button unless you use that attribute.

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Monday, 26 May 2003 14:22:08 UTC

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