Re: Bug: non-working page validates successfully

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