Forum Moderators: open

Message Too Old, No Replies

validation service not reading doctype

w3.org not reading my declared doctype

         

Frasnko

9:47 pm on Apr 23, 2007 (gmt 0)

10+ Year Member



I try to code all of my sites to standards, i am working on a content management system that is coded to xhtml-strict valid standards. the header is set up like this:

<?xml version="1.0"?>
<!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>

and when i go to validate it i am told that the automatically detected doctype is transitional (not strict). Does anyone have any idea what is going on?

Robin_reala

9:59 pm on Apr 23, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The only thing I can think is that there’s some sort of content negotiation going on. Is you CMS coded in ASP.NET by any chance? Older versions are notorious for sending one page to IE, and another to everyone else.