W3C home > Mailing lists > Public > www-validator@w3.org > June 2011

Re: Validation Result Question

From: Jobst Schmalenbach <jobst@barrett.com.au>
Date: Tue, 14 Jun 2011 14:54:43 +1000
Message-ID: <4DF6E993.909@barrett.com.au>
To: DerekSEO <derek@seo-sa.com>
CC: www-validator@w3.org
I think one can safely assume that the content of each website differs, thus 
it is possible that some strange character or the content itself changes the 
flow of the validator ... leading to an error. Can you post both website url's 


On 12/06/2011 19:00, DerekSEO wrote:
> I have two websites using exactly the same theme. The one passes the 
> validation test and the other gives me one error. The error is in this piece 
> of code and specifically the area highlighted:
> function my_breadcrumbs() {
>  global $post, $wp_query, $author;
>  $home = "Home";
>  $separator = "&rarr;";
> $before = "<span class=current>";
>  $after = "</span>";
> Here is the error message:
> Error /Line 136, Column 52/: an attribute value specification must be an 
> attribute value literal unless SHORTTAG YES is specified
> |…p://seo-sa.com">Home</a>   <span class=*c*urrent>SEO Search Engine Optimization S…|
> However, the exact same code is contained in both sites and in both themes 
> in exactly the same way, syntax and all, without any difference.  Yet the 
> one shows an error and the other passes.  Could you please help me with this?
> Thanks
> Derek Prinsloo
> --
> Mail created using EssentialPIM Free - www.essentialpim.com 
> <http://www.essentialpim.com/>
Received on Tuesday, 14 June 2011 06:29:20 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:37 UTC