[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Strict DOCTYPEs are wrong, use them only for debugging


Re:  Strict DOCTYPEs are wrong
On Jun 17, 2006, at 18:47, Frans Englich wrote:

> According to this guy:
>
> "I see more and more websites using strict DOCTYPES, apparently  
> webdevelopers
> have some misguided notion that this is most correct thing to do and
> guaranties the most consistent result. Nothing could be more wrong!"
>
> http://www.kdedevelopers.org/node/2097
>
> But what do you think?

First, I think this is off-topic for this list.
See http://hsivonen.iki.fi/doctype/#xml

I strongly disagree with the conclusions about the Standards Mode.  
(Please don't call it "strict mode". It gives people wrong ideas.)

If you are using IE 5 / Netscape 4-era features only, the Quirks  
Modes in various browsers may be relatively stable for you. However,  
assuming that using new features in the Quirks Mode is somehow  
smarter than using them in the Standards Mode is just bogus. There's  
no reason to believe that new CSS features work consistently in the  
Quirks Modes of various browsers.

The author is right that your stuff breaks if you rely on bugs in the  
Standards Mode. Indeed, that is correct. However, the right solution  
is not to use the Quirks Mode but the get a clue so that you know  
what you are doing, so that you don't rely on bugs.

(Yes, I am biased, because I've been promoting the Standards Mode for  
something like six years now.)

-- 
Henri Sivonen
hsivonen@i...
http://hsivonen.iki.fi/



PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.