[Bug 4847] Error occurs with a hyper-link that has GET informacion in it

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4847


ot@w3.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from ot@w3.org  2007-07-11 10:15 -------
(In reply to comment #0)
> I want to know if my code really contains errors or it's a BUG in the
> validator.

In general, if the validator says your code is wrong, you can trust that it
*is* wrong. In this case in particular:

> I have the following hyper-link code on my page:
> <a href="?css=css1&page=0">style1</a>

Have you read the explanation that comes with the error message?
http://validator.w3.org/docs/errors.html#ve-338
[[ If you want to use a literal ampersand in your document you must encode it
as "&amp;" (even inside URLs!). ]]
In other words, replace "&" with "&amp;", even in your links.

Received on Wednesday, 11 July 2007 10:15:35 UTC