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

Re: Parser Error?

From: Lloyd Wood <L.Wood@surrey.ac.uk>
Date: Mon, 14 Jun 1999 21:40:09 +0100 (BST)
To: Brian Gilkison <gilkison@one.net>
cc: www-validator@w3.org
Message-ID: <Pine.SOL.4.02.9906142134410.14483-100000@petra.ee.surrey.ac.uk>
On Mon, 14 Jun 1999, Brian Gilkison wrote:

> 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

since 'amazon' in the location bar gets parsed as http://www.amazon.com/
and 'gnu' gets parsed as http://www.gnu.org/ in popular browsers, it
strikes me that handling CDATA correctly in the location bar to ease
copying/pasting between mixed html and text environments is probably a
Good Idea. And rather less processing overhead than the dns matches
mentioned.

L.

wondering if &tilde; has already appeared in some printed article's
list of recommended online links.

> -- 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...    <
> 
> 

<L.Wood@surrey.ac.uk>PGP<http://www.ee.surrey.ac.uk/Personal/L.Wood/>
Received on Monday, 14 June 1999 16:42:17 GMT

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