Multiple doctypes/HTML Validation

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">
RT at a glance

(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

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">
RT at a glance

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

http://issues.bestpractical.com/Ticket/Display.html?id=13810&user=guest&pass=guest

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

I suspect that “best intentions” and “the real world” come into it.
When I get a moment, I’ll probably relax our doctype to HTML5. I’m so
happy that XHTML has been thoroughly discredited :wink:

-Jesse

signature.asc (198 Bytes)