This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 822 - dynamic source for images is shown as an error
Summary: dynamic source for images is shown as an error
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.7.0
Hardware: Other other
: P2 normal
Target Milestone: ---
Assignee: Terje Bless
QA Contact: qa-dev tracking
URL: http://www.orpi.pl
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 08:58 UTC by plusz
Modified: 2004-07-08 13:31 UTC (History)
0 users

See Also:


Attachments

Description plusz 2004-07-08 08:58:14 UTC
If we have in our code:
<img src="image.php?param=1&param2=2"> validator show this as an error.

If we try get image 
<img src="image.php?param=1&amp;param2=2">

server gives an error.

I think one shoud repair this bug.
Comment 1 David Dorward 2004-07-08 09:31:48 UTC
As the FAQ says, & must be represented as &amp;

If this causes the server to produce as error then:

1. There is a fault with the user agent failing to convert &amp; to & (very unlikely)
2. The server is performing some preprocessing on the HTML before passing it to the client (in which 
case the fault is with the preprocessor)
or
3. The user is testing by copy/pasting the URI from the source code and failing to manually convert 
&amp; to & in the request.

Whichever - the fault is not with the validator.

There could be other explanations, but I can not think of any.