Hi, I'm sorry, maybe I can't use this list correctly. The Business theme validation is wrong after that I deleted theme and created a clean theme install.

There are three problem. First is xmlns attribute problem, second is header element (hgroup) problem what I can fix it and third is a bad "rel" attribute on element a. Here is validation output:

Error Line 11, Column 48: Attribute xmlns:content not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:content is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:dc not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:dc is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:foaf not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:foaf is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:og not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:og is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:rdfs not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:rdfs is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:sioc not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:sioc is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:sioct not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:sioct is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:skos not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:skos is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 11, Column 48: Attribute xmlns:xsd not allowed here.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Warning Line 11, Column 48: Attribute with the local name xmlns:xsd is not serializable as XML 1.0.
xmlns:xsd="http://www.w3.org/2001/XMLSchema#">

Error Line 121, Column 34: Element hgroup not allowed as child of element div in this context. (Suppressing further errors from this subtree.)

Content model for element div:
Flow content.

Error Line 121, Column 34: The hgroup element is obsolete. To mark up subheadings, consider either just putting the subheading into a p element after the h1-h6 element containing the main heading, or else putting the subheading directly within the h1-h6 element containing the main heading, but separated from the main heading by punctuation and/or within, for example, a span class="subheading" element with differentiated styling. To group headings and subheadings, alternative titles, or taglines, consider using the header or div elements.

Error Line 171, Column 36: Bad value 1 for attribute rel on element a: The string 1 is not a registered keyword or absolute URL.
1
Syntax of link type valid for and :
A whitespace-separated list of link types, with no duplicate keywords in the list. Each link type must be listed as allowed on and in the HTML specification, or must be listed as allowed on and on the Microformats wiki, or must be an absolute URL. You can register link types on the Microformats wiki yourself.

Error Line 172, Column 36: Bad value 2 for attribute rel on element a: The string 2 is not a registered keyword or absolute URL.
2
Syntax of link type valid for and :
A whitespace-separated list of link types, with no duplicate keywords in the list. Each link type must be listed as allowed on and in the HTML specification, or must be listed as allowed on and on the Microformats wiki, or must be an absolute URL. You can register link types on the Microformats wiki yourself.

Error Line 173, Column 36: Bad value 3 for attribute rel on element a: The string 3 is not a registered keyword or absolute URL.
3
Syntax of link type valid for and :
A whitespace-separated list of link types, with no duplicate keywords in the list. Each link type must be listed as allowed on and in the HTML specification, or must be listed as allowed on and on the Microformats wiki, or must be an absolute URL. You can register link types on the Microformats wiki yourself.

Please help me. Thanks.

CommentFileSizeAuthor
#5 sliding-showdesc.patch473 bytesdrzraf
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tibezh’s picture

Version: 7.x-1.10 » 7.x-1.11
Assigned: isipi » tibezh

  • Commit f5bb882 on 7.x-1.x by tibezh:
    Issue #2122125 by isipi: theme continuously failed on validator. w3c.org...
tibezh’s picture

Status: Active » Reviewed & tested by the community
tibezh’s picture

Status: Reviewed & tested by the community » Closed (fixed)
drzraf’s picture

Status: Closed (fixed) » Active
FileSize
473 bytes

Reopening:
SInce this commit the "rel" attribute disappeared but one place of the js/sliding_effect.js kept
relying on it to show image description:
$(".desc").eq( $('.paging a.active').attr("rel") - 1 ).slideDown("slow");
=
$(".desc").eq( undefined - 1 ).slideDown("slow");
=
$(".desc").eq(-1).slideDown("slow");

which show up the last description (what obviously hides any other).
Consequence is that the description do not match the image shown.

The attached patch fixes this.

beararthur’s picture

Status: Active » Needs review

Looks good, worked for me.