W3C home > Mailing lists > Public > www-validator@w3.org > July 2000

Re: On ampersands.

From: Gerald Oskoboiny <gerald@w3.org>
Date: Wed, 5 Jul 2000 14:38:22 -0400
To: Paul McGarry <paulm@opentec.com.au>
Cc: www-validator@w3.org
Message-ID: <20000705143822.A860@w3.org>
On Wed, Jul 05, 2000 at 03:39:25AM -0400, Paul McGarry wrote:
> Hello,
> 
> I've been trying to determine whether unentified ampersands really
> are invalid in attributes in html 4. I've come to the conclusion
> that it isn't invalid, just heavily frowned upon.

No, it really is invalid.

> Nothing particularly interesting or new there to you guys I imagine,
> but in my experiments my fevered brain discovered that while the html
> validator marks unentified ampersands invalid, it is happy to
> generate such URLs itself and then display the W3 tick on it's page.
> 
> Talk about double standards!
> 
> In case you find this vaguely interesting you can see for yourself
> by visiting links from here:
> http://homepages.tig.com.au/~mcgarry/opera/ampersand/index.html

That's a known bug, #6 on the current todo list:

    http://validator.w3.org/todo.html
    $Date: 2000/04/28 09:20:01 $ 

  | 6. bug fix: escape '&' to '&amp;' in URI: item in validator
  |    results (sample) 

-- 
Gerald Oskoboiny       <gerald@w3.org>  +1 617 253 2920
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Wednesday, 5 July 2000 14:38:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:54 GMT