- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 06 Feb 2009 03:43:07 +0000
- To: www-validator-cvs@w3.org
http://www.w3.org/Bugs/Public/show_bug.cgi?id=6534
Summary: validator throws error on valid html
Product: Validator
Version: HEAD
Platform: PC
URL: http://validator.w3.org/check
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: check
AssignedTo: dave.null@w3.org
ReportedBy: aguthals@shoom.com
QAContact: www-validator-cvs@w3.org
CC: aguthals@shoom.com
I am using the latest verion of the validator
The problem occurs when I have a link that passes paramters to a server page
For example consider the following:
______________________________________________________________
<a href="Test.aspx?param1=0¶m2=131231234123¶m3=fsdf221"><img
src="AutoImage.aspx?a1=0&ss2=131231234123&h1=fsdf221" /></a>
______________________________________________________________
The above is perfectly valid html. According to w3c standards on page
http://www.w3.org/TR/html4/interact/forms.html#successful-controls
"The control names/values are listed in the order they appear in the
document. The name is separated from the value by `=' and name/value pairs are
separated from each other by `&'"
The validator throws an error.
The validator wants the '&' in the href and src to be encoded as &
This is not correct because the '&' is used by the server to separate the named
paramters, any value containg an '&' should be encoded with the proper ascii
value %26 not &
This error is all wrong. If you use & in your url links, all broweser will
pass the & to the server and the server is expecting '&' to separate named
parameters.
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Friday, 6 February 2009 03:43:17 UTC