[Bug 6534] New: validator throws error on valid html

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&param2=131231234123&param3=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 &amp; 

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 &amp;

This error is all wrong.  If you use &amp; in your url links, all broweser will
pass the &amp; 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