Re: Validating a page

by "J.J.SOLARI" <jjsolari(at)pobox.com>

 Date:  Sat, 9 Dec 2000 11:35:52 +0100
 To:  hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
On Fri, 08 Dec 2000 17:38:48 +0530, Harshdeep S Jawanda
<harsh(at)pspl.co.in> wrote:

>> Change your &'s to this: &amp;
>
>There's been a slight misunderstanding here :-) - perhaps I didn't
explain
>clearly enough. What I am talking about is code of the form:
>
><a href="http://www.something.com/status?username=xyz&abc=pqr"><img
>src="something"></a>
>
>In this type of code, the W3C validator calls "&abc" an undefined
entity
>:-)...

Harshdeep,

you need to escape the ampersand at least.

Some reference from the W3C itself:
<http://www.w3.org/TR/REC-html40/appendix/notes.html#ampersands-in-uris>

and from Alan Flavell's page:
<http://ppewww.ph.gla.ac.uk/~flavell/www/formgetbyurl.html>

hih,

JJS.
-- 
/* public key id: 9eb99ddb <http://www.keyserver.net/> */
/* homepage <http://www.yoyodesign.org/> */

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA