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

Re: Parser Error?

From: Brian Gilkison <gilkison@one.net>
Date: Mon, 14 Jun 1999 16:25:46 -0400 (EDT)
To: Lloyd Wood <L.Wood@surrey.ac.uk>
cc: www-validator@w3.org
Message-ID: <Pine.LNX.4.04.9906141619160.28398-100000@shell.one.net>
On Mon, 14 Jun 1999, Lloyd Wood wrote:
>In theory. Practice can be a different thing.
>
>http://www.mg.co.za/mg/m&e/archive.htm
> 
>Okay, yes, that's an ampersand in the URL and directory name, and
>they're running Apache 1.3.4 (unix).
> 
>What I'd dearly like to know is why:
> 
>http://www.mg.co.za/mg/m&amp;e/archive.htm
> 
>doesn't work. Yes, it's probably due to Netscape 4.5 not parsing &amp;
>correctly...

Well, probably because there is no directory with a name of "m&amp;e" at
that location, while there is one named "m&e"... URLs that are typed
into your browser's location bar are not CDATA, and therefore not open to
interpretation/parsing -- it is when you plan to use "&" in-between <HTML>
and </HTML> that you need to use "&amp;" for valid HTML...

Brian

>  Brian Gilkison           | http://w3.one.net/~gilkison/ <
>  gilkison@one.net         | finger for PGP Public key    <
>                                                          <
>    Quantum Mechanics:  The dreams stuff is made of...    <
Received on Monday, 14 June 1999 16:26:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:52 GMT