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

Re: [VE][394] Error Message Feedback

From: Nick Kew <nick@webthing.com>
Date: Sat, 27 May 2006 14:39:25 +0100
To: "henri aruküla" <henriarukyla@gmail.com>, www-validator@w3.org
Message-Id: <200605271439.31805.nick@webthing.com>

On Saturday 27 May 2006 00:09, you wrote:
> Hello!
>
> I tried to validate my site and i had problem with "&" symbol.
> I fixed that by $return = str_replace( '&', '&amp;', $return );
> But now i get errors:
>
> http://www.dix.pri.ee/index.php?option=com_content&task=blogcategory&id=13&
>Itemid=34&lang=est
>
> I think that, the semicolon is exists end of the &amp;
>
> What shall i do to fix it?

escape your ampersands, of course.  You already have some other
ampersands correctly escaped, so you presumably know how.

There's a serious bug in the validator here: it proclaims the page
valid and highlights the unterminated entity refs as warnings
rather than errors.  That would be correct for an HTML page
(under SGML rules).  But this is an XHTML page, and under
XML rules it is of course not even wellformed, let alone valid.

-- 
Nick Kew
Received on Saturday, 27 May 2006 13:39:41 GMT

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