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

Re: On ampersands.

From: Shane P. McCarron <shane@aptest.com>
Date: Wed, 05 Jul 2000 22:44:43 -0500
Message-ID: <396400AA.358480A0@aptest.com>
To: Gerald Oskoboiny <gerald@w3.org>
CC: Paul McGarry <paulm@opentec.com.au>, www-validator@w3.org


Gerald Oskoboiny wrote:
> There are some cases where the ampersands don't need to be
> escaped, like: <p>foo & bar</p>, or <a href="foo&_bar">
> 

I don't think I agree.  In SGML, an ampersand always introduces an
entity reference.  If you want to actually use an ampersand, you are
required to use &amp;. I don't see any way around this requirement.

--
Shane P. McCarron                  phone: +1 763 786-8160
ApTest                               fax: +1 763 786-8180
                                  mobile: +1 612 799-6942
                                  e-mail: shane@aptest.com
Received on Wednesday, 5 July 2000 23:44:46 GMT

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