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

RE: Ampersands + "Last modified:" Malfunctions

From: Jim Correia <correia@barebones.com>
Date: Thu, 29 Jun 2000 13:01:04 -0400
To: www-validator@w3.org
cc: "Alan C. Baird" <ia@apc.net>
Message-ID: <20000629130105-f01010601-83a13df5@204.107.232.110>
On 11:49 AM 6/29/00 "Alan C. Baird" <ia@apc.net> wrote:

> Of course.  For example:
> 
> >
http://www.xlibris.com/XL/container.asp?element=display.asp&show=b&sku=784
> 
> displays my book, "9TimeZones.com" - while the proposed remedy:
> 
> >
http://www.xlibris.com/XL/container.asp?element=display.asp&amp;show=b&amp;sku=784
> 
> shows a book called "The Seeker"!  While this difference may not occur
> in your browser, it does happen for 80% of my business associates, and
> for 100% of the browsers in the Glendale Public Library system.

But how are you using the second form?  If you paste it into the
location field of the browser *IT WILL NOT WORK*.

But if you put it as the attribute value of an a tag, the only place
where you need to entity encode the &, it should work in all modern
browsers.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
        "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
    <title>Untitled</title>
</head>
<body>
<a
href="http://www.xlibris.com/XL/container.asp?element=display.asp&amp;show=b&amp;sku=784">
book
</a>
</body>
</html>


What browser, version, and platform is this failing on?

-- 
Jim Correia                                Bare Bones Software, Inc.
correia@barebones.com                     <http://web.barebones.com>
Received on Thursday, 29 June 2000 13:01:06 GMT

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