[rt-users] Multiple doctypes/HTML Validation

Dan Mahoney, System Admin danm at prime.gushi.org
Mon Jun 28 01:23:42 EDT 2010


So, for some reason, the HTML produced by RT doesn't seem to validate. 
When I looked at the source, I found two things:

<!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
--><!DOCTYPE html
      PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head>
<title>RT at a glance</title>

(etc)

My HTML checker currently reports 51 errors, 4 warnings.

I'm using this one: http://users.skynet.be/mgueury/mozilla/

First, any idea why that doctype line's showing up twice?

Secondly, if the HTML doesn't validate, why bother setting strict, and not 
transitional?

This RT install goes way back and has been upgraded several times before I 
took it over, so that could be part of it.

-Dan

-- 


--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---------------------------




More information about the rt-users mailing list