Projects ⇒ Bugs ⇒ #982: default theme XHTML 1.0 invalid, simple sollution. Latest CVS. ⇒ CPG Dragonfly™ CMS
Bug #982 default theme XHTML 1.0 invalid, simple sollution. Latest CVS.
Project: Dragonfly 9.0.3 -> 9.2 Themes Category: Themes
Submitted: Sunday, August 26, 2007 (13:58:34) Modified: Sunday, August 26, 2007 (21:47:08)
Status: Bogus Assigned to:
PHP Version: 5.2 HTTPD Server: Apache 2.2

View/Vote Add Comment

by: whatrevolution
I found this first in core stable, and just now in today's CVS Snapshot.

Replace Line 3 with:
<html xmlns="" xml:lang="{S_LANGCODE}" dir="{S_TEXTDIR}" lang="{S_LANGCODE}">

Now. I found this forum thread, which had this problem solved last month. I found it after I wrote this bug report, and the forum solution is the same.

The bug is in the latest CVS Snapshot, in both "default" and "dragonfly" themes, and is not being fixed by most dragonfly themers/users, since the thread is marked [solved] but CVS and stable do not have it.

Reproduce code:

Line 3:
<html dir="{S_TEXTDIR}" xml:lang="{S_LANGCODE}">

Expected result:
"Validation Output" wrote
This Page Is Valid XHTML 1.0 Transitional!

Actual result:
I chose a random member from the "Who Is Where" block, and validated their profile listed website.

The first error:
"Validation Output" wrote
Line 6, Column 1: Missing xmlns attribute for element html. The value should be:

That's the same error I got on my test site.

All themes that are built from the default template probably still contain this bug. I'll forum this, so you can CVS the fix and complete this ticket.

That's the only error I get for my test site, default theme.
by: Phoenix
You're mixing versions without examining and understanding what is going on in cvs.
by: whatrevolution
Taking conversation back to
User Info

Welcome Anonymous


Support for DragonflyCMS in a other languages: