Re: Problem with long URL?

On Mon, 12 Jul 2004 11:30:08 +0100 "Jon Hill" <jon.hill@glg.ed.ac.uk> wrote:
> 
> Dear all,

> The following URL is for a page that validates fine.
> http://www.geologyrocks.co.uk/diagrams.php?page=1

there is no '&' there...

> Error:
> ----snip----
> Line 93, column 70: cannot generate system identifier for general entity
> "type"
> 
> ...e="redirect"
> value="index.php?page=2&type=d&keywords=&location=&taken_by=&sub

'&' is simply a reserved character in html (sgml,xml...)
(for entitity references) and may not appear unencoded anywhere.
(which indeed conflicts with the usual way to encode cgi parameters)

i didn't believe it myself, but i have yet to see a browser that doesn't
handle
 "index.php?page=2&amp;type=d&amp;keywords=&amp;location=" ...
correctly.
(yet i also have yet to see a larger site that does it like that)

> Jon

-- Thorben

(who just wanted to see if he can post to this list now or not...)

Received on Monday, 12 July 2004 08:17:58 UTC