This theme passes the basic W3C XHTML 1.0 Strict test and fails the TV XHTML schema validation on two points. There should not be any white space at the start or end of an attribute's value. There is white space at the end of the class attribute in the following line.

<body class="not-front not-logged-in page-node node-type-page no-sidebars page-painted_wall section-painted_wall withprimary ">
<div id="node-158" class="full node ">

ref: http://d-theme.com/painted_wall

Comments

Anonymous’s picture

Assigned: Unassigned »
Category: feature » task

sure... even though I don't think it matters really, but I'll delete the extra spaces.

peterx’s picture

XHTML is the XML version of HTML. XML is defined by a schema. The W3C wrote a schema to define XHTML so that XML based programs can produce well formed XHTML. The schema says no spaces which means an XML based application should reject anything with spaces. Most XML applications stick to the schema when creating XML and are less exact when reading XML.

The Total Validator validation uses the schema because it is the official definition. The W3C ignore their own official definition. In fact the W3C validator does not seem have any logic behind what they check and do not check, which means you have to use the TV validation. The spaces are trivial but the TV validation picks up really serious XML errors that the W3C validation misses. For that reason, many people use both the W3C and TV tests and only accept code that passes both tests.

Anonymous’s picture

Priority: Normal » Minor
Status: Active » Postponed

very interesting... and as I said, I'll delete the extra spaces.

Anonymous’s picture

Version: 6.x-1.3 » 6.x-2.x-dev
Status: Postponed » Fixed

commited to version 2 (dev)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.