Re: On ampersands.

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 '&' 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 UTC