Forum Moderators: open

Message Too Old, No Replies

html valiation problems

unidentified entities in links

         

Receptional Andy

9:31 pm on Mar 20, 2003 (gmt 0)



If I have a link on a page to a url with variables in a query string (like http*//www.madeup.com/notreal.htm?some=stuff&other=things

A get this error:

line 6: reference to entity "some" for which no system identifier could be generated.

Anyone know what I can do (if anything) to avoid this? Do I need to change the doctype or something?

mfagan

10:17 pm on Mar 20, 2003 (gmt 0)

10+ Year Member



I'm pretty sure your problem is the ampersand. Escape it. Change & to &

DrDoc

10:18 pm on Mar 20, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You need to replace all &'s with "&", which the HTML entity for &. The browser will convert & to & before requesting the URL.

Edit: Yeah, what he said

Receptional Andy

11:11 pm on Mar 20, 2003 (gmt 0)



Excellent, thanks guys :) nice valid pages again!