Forum Moderators: open

Message Too Old, No Replies

Querystring Param's causing validation problems

Querystring Parameters causing errors in validator

         

anxvariety

6:45 am on Nov 11, 2003 (gmt 0)

10+ Year Member



Hello,

I have the main page on my site as a list of these topics.. Each topic goes something like:

www.mysite.com/topic.asp?topicid=195&topictype=2

When I try and validate this it produces an error at the '&' and '='

The error is:
cannot generate system identifier for general entity

Anyone have input on this?

I am trying to validate to:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

pageoneresults

7:14 am on Nov 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Escaping the ampersand should eliminate the error...

www.mysite.com/topic.asp?topicid=195&amp;topictype=2

P.S. I would also suggest utilizing a full DTD.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">