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

Re: DTD 4.01 for ignoring & in CGI URL

From: Nestor Diaz <nestor@engendro.com>
Date: Mon, 23 Jul 2001 11:36:26 -0500 (COT)
To: www-validator@w3.org
Message-ID: <Pine.LNX.4.21.0107231131190.25660-100000@asterix.intranet.engendro.com>
On Mon, 23 Jul 2001, Jim Correia wrote:

> On 12:14 PM 7/23/01 Nestor Diaz <nestor@engendro.com> wrote:
> > I have installed validator on my web site to check my pages to conform
> > to the 4.01 standard ( i don't like to use w3 validator due to
> > bandwith problems), however i will like to know if i somebody had made
> > a patch for 4.01 transitional dtd to not show an error where & is used
> > as a separator for a URL, does it exist? i am not a experienced dtd
> > programmer.
> When used in an HTML attribute, & must be encoded.  If you do not, you
> will get unexpected results when using conforming user agents.  Fix your
> pages, don't hack the validator to mask your error.
> Try the following in a conforming user agent (the trailing ; is
> optional, but you are well advised to use it *and* encode your entities,
> or else you may get the wrong answer) as the href for an a element:
> http://www.foobar.com/sendMail.pl?fred&copy=false
> http://www.foobar.com/sendMail.pl?fred&amp;copy=false

Ok, i know what you mean, but i am using interchange 4.6 as my ecommerce
platform and as i know the &amp; option to generate cgi url is currently
only on the unstable branch, that's what i want this dtd patched until i
swith to interchange 4.7, so i think patching the dtd is more easy that
patching interchange for a while.


nestor a. diaz
ingeniero de desarrollo
engendro.com - soluciones especializadas en linux
email: nestor@engendro.com - www: http://www.engendro.com
homepage: http://www.engendro.com//Nosotros/Personal/Nestor
Received on Monday, 23 July 2001 12:36:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:22 UTC