It may be a good time to repost this from Russ on 5th July 2003: <repost>
Peter and I have been (endlessly) discussing the pro's and cons of XHTML over HTML4.01. We made the move from HTML4.01 transitional to XHTML 1.0 transitional mid last year, and while the transition was quick, we have been aware of two major issues with XHTML that make it not-so-good choice. WORRIES ABOUT XHTML 1. Some people say that if you are using XHTML you should be serving "application/xml" as a mime type rather than "text/html". Here are some articles on the subject: http://www.hixie.ch/advocacy/xhtml http://www.goer.org/Journal/2003/Apr/index.html#20 http://www.goer.org/Journal/2003/Apr/index.html#29 http://golem.ph.utexas.edu/~distler/blog/archives/000150.html 2. The verity search engine (shipped with ColdFusion and used extensively by us) seems to have trouble correctly indexing XHTML documents, and requires filters to be applied to the results to remove ">" characters that have been escaped by the preceding "/"> (this is likely to be a mime type issue). ON THE OTHER HAND There have been many people putting forward reasons for making the switch to XHTML such as Zeldman and Tantek: http://tantek.com/log/2003/01.html#L20030114t1345 QUESTION So, the question is, (keeping in mind the mime type issue especially) can anyone provide me with a good solid reason (no warm and fuzzy ones) why XHTML 1.0 is better than HTML 4.01? Thanks Russ </repost> Peter > I don't believe you have to do anything in ColdFusion for > XHTML. You just > put the appropriate Doctype at the top of the page, just as > you would with a > static page. CF will output XHTML out of the box with no > modifications or > special handling at all. You just tell it what you want, as > you do with > html. ***************************************************** The discussion list for http://webstandardsgroup.org/ *****************************************************
