Welcome to WebmasterWorld Guest from 54.159.190.106

Forum Moderators: incrediBILL

Message Too Old, No Replies

html valiation problems

unidentified entities in links

   
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?

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 &
10:18 pm on Mar 20, 2003 (gmt 0)

WebmasterWorld Senior Member drdoc is a WebmasterWorld Top Contributor of All Time 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

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



Excellent, thanks guys :) nice valid pages again!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month