W3C home > Mailing lists > Public > www-validator@w3.org > May 2005

Re: entities

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Fri, 13 May 2005 20:42:53 +0300 (EEST)
To: CyberGhost <cyberghost636@yahoo.co.uk>
Cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0505132040160.6254@korppi.cs.tut.fi>

On Fri, 13 May 2005, CyberGhost wrote:

> There may be a bug in validation websites regarding to
> parsing possible entity errors.

There isn't.

> On my website, for example, after parsing were found
> many errors of this type simply because the parser has
> found an AND character in the LINK.

You mean the ampersand, "&". When followed by a letter, it starts an
entity reference. Thus, you should fix these errors by replacing the "&"
by "&amp;", as suggested in the validator's FAQ.

> In other words, when parsing HREFs in a website
> referring to another website, passing variables in
> URL, a HTML ENTITY ERROR is automatically generated if
> the parser finds one (or more) AND(s) along the HREF
> URL.

Whether an entity appears within an href attribute value is completely
immaterial in validation. As far as validation is concerned, there is
nothing special about such attributes.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Friday, 13 May 2005 17:43:00 GMT

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