W3C home > Mailing lists > Public > www-amaya@w3.org > April to June 1997

Re: Parameters in <img src> interpreted as entities

From: Nick Holloway <Nick.Holloway@alfie.demon.co.uk>
Date: 13 May 1997 23:28:17 +0100
To: list-amaya@alfie.demon.co.uk
Message-ID: <5lapu1$2td@alfie.demon.co.uk>
Vincent.Quint@imag.fr (Vincent QUINT) writes:
> Yes, Amaya complains because, according to RFC 1866, this is not correct
> (refer to a previous message by Sami Lempinen). Amaya complains, but it
> accepts "&y=" and saves it as is.

I can live with it being incorrect, and that you should use "x=1&amp;y=2"
as the value for the "src" tag.

In which case, my bug report is that if I read in a file containing:
	<img src="wibble?x=1&amp;y=2">
When this is saved, Amaya turns this into:
	<img src="wibble?x=1&y=2">

On a related note, should Amaya take your location for inserted images,
and take the "&" as "&amp;", or should it be the responsibility of the
user to enter it correctly?

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk  http://www.alfie.demon.co.uk/
// ^ \\ | Nick.Holloway@parallax.co.uk  http://www.parallax.co.uk/~alfie/
Received on Wednesday, 14 May 1997 08:28:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:21 GMT