W3C home > Mailing lists > Public > www-validator@w3.org > April 2001

Re: Bug: non-working page validates successfully

From: Terje Bless <link@tss.no>
Date: Thu, 26 Apr 2001 12:01:52 +0200
To: Richard Bingham <R.Bingham@ed.ac.uk>
Cc: www-validator@w3.org
Message-ID: <20010426123234-b01010701-bfeaf14c@>
On 24.04.01 at 06:32, Richard Bingham <R.Bingham@ed.ac.uk> wrote:

>AFAIK the use of a space character in a URI is illegal, and although
>Internet Explorer copes with pages containing space characters in links,
>Netscape doesn't.  So I might have expected the Validator to spot pages
>containing these space characters and report them as an error.  However
>http://www.scottish-photographic-federation.org/ validates as "no errors",
>yet contains <IMG SRC="spf heading colour.GIF" (etc.) which results in
>Netscape failing to display that image, although IE can see it.

URIs in various HTML attributes are opaque to a SGML-based Validator;
they're defined as "#CDATA" with no further constraints. The reference to
the URI RFC is given in prose in the HTML Reccommendation and is not
something an SGML Parser can check. To do so would actually be wrong!

That said, optional checking of URIs, as a separate feature, is something I
think would be a usefull addition to the Validator and which might show up
at some point.

Thanks for your feedback on this.
Received on Thursday, 26 April 2001 06:32:37 UTC

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