{"id":194,"date":"2003-08-05T21:12:50","date_gmt":"2003-08-06T01:12:50","guid":{"rendered":"https:\/\/www.goer.org\/wordpress\/orthodoxies"},"modified":"2003-08-05T21:12:50","modified_gmt":"2003-08-06T01:12:50","slug":"orthodoxies","status":"publish","type":"post","link":"https:\/\/www.goer.org\/Journal\/2003\/08\/orthodoxies.html","title":{"rendered":"Orthodoxies"},"content":{"rendered":"<p>I keep my RSS subscriptions fixed at a manageable 20; <a href=\"http:\/\/www.zeldman.com\/\">Jeffrey Zeldman<\/a>&#8216;s got a permanent spot on my list. Zeldman is a superb designer and a hell of a writer.  I love Zeldman bunches.<\/p>\n<p>And yet as often as I find his comments on web standards illuminating, occasionally I&#8217;m forcibly reminded that deep down Zeldman is a Technology Evangelist.  Evangelists are great at efficiently spreading new ideas throughout the community&#8230; but the flip side is that they often have trouble departing from certain orthodoxies.<\/p>\n<p>For a prime example of this, see Zeldman&#8217;s Web Design World <a href=\"http:\/\/www.happycog.com\/lectures\/dwws\/\">keynote<\/a>.  There&#8217;s plenty of good stuff in the keynote overall, but this particular slide needs addressing:<\/p>\n<ol>\n<li>\n<p><cite>&#8220;XHTML is XML that acts like HTML in browsers.&#8221;<\/cite><\/p>\n<p>Better to replace &#8220;acts like&#8221; with &#8220;is&#8221;, given that <a href=\"https:\/\/www.goer.org\/2003\/Apr\/index.html#29\">nearly all &#8220;XHTML&#8221; websites<\/a> are actually parsed as HTML by all currently available browsers.  (I suppose there are a <a href=\"https:\/\/www.goer.org\/Markup\/TheXPhiles\/\">rarified few<\/a> sites that actually can be parsed as XML by certain <a href=\"http:\/\/www.mozilla.org\/\">highly advanced browsers<\/a>, but this hardly counts as statistically significant.)<\/p>\n<\/li>\n<li>\n<p><cite>&#8220;It also works as expected in most Internet devices (Palm Pilots, web phones, screen readers).&#8221;<\/cite><\/p>\n<p>There are some who would <a href=\"http:\/\/diveintomark.org\/archives\/2003\/03\/15\/about_the_mobile_edition\">dispute that<\/a>.  Apparently many real-world mobile devices happily support old-skool HTML cruft (table-based layouts, the <code>&lt;font&gt;<\/code> tag) while ignoring the products of our more enlightened era (XHTML Basic, CSS). Weird but true.<\/p>\n<li>\n<p><cite>&#8220;It&#8217;s as easy to learn and use as HTML.&#8221;<\/cite><\/p>\n<p>Except you have to teach people about closing tags, proper nesting, encoding all your ampersands, and so on.  Meanwhile, people who feel like writing tag soup HTML can just whip out a text editor and go. (Then again, considering the tremendous popularity of tag-soup XHTML on the web today, maybe this is a distinction without a difference.)<\/p>\n<\/li>\n<li>\n<p><cite>&#8220;It&#8217;s the current recommended markup standard (replaces HTML 4).&#8221;<\/cite><\/p>\n<p>The <a href=\"http:\/\/www.w3.org\/TR\/xhtml1\/#xhtml\">closest the spec comes to saying this<\/a> is, &#8220;The XHTML family is the next step in the evolution of the Internet. By migrating to XHTML today, content developers can enter the XML world with all of its attendant benefits, while still remaining confident in their content&#8217;s backward and future compatibility.&#8221; That&#8217;s a fine marketing blurb, but it&#8217;s not an official announcement that HTML 4.01 is deprecated.<\/p>\n<\/li>\n<li>\n<p><cite>&#8220;Because it&#8217;s XML, it works better with existing XML languages and XML-based tools (SVG, SOAP, RSS, SMIL, XSL, XSLT, databases, etc.).&#8221;<\/cite><\/p>\n<p>This is pretty hand-wavy. On the server side, you can easily transform your backend data into valid XHTML, but you can also transform it into valid HTML 4.01 Strict just as easily. <a href=\"http:\/\/www.xiven.com\/\">Heck, some people do both<\/a>. On the client side, there are a <a href=\"http:\/\/golem.ph.utexas.edu\/~distler\/blog\/\">tiny, tiny fraction of super-geeks<\/a> who embed SVG or MathML directly in their valid and properly MIME-typed XHTML pages.  These super-geeks are the only people in the world who have to present outward-facing XHTML; the rest of us are just fooling around.<\/p>\n<\/li>\n<li>\n<p><cite>&#8220;It brings consistency to web documents that was missing in HTML.&#8221;<\/cite><\/p>\n<p>I assume this means &#8220;more consistency in coding style.&#8221;  XHTML theoretically enforces more consistency due to its more rigorous syntax&#8230; but since the vast majority of people can&#8217;t be bothered to produce valid XHTML code, this benefit is somewhat obviated.<\/p>\n<\/li>\n<li>\n<p><cite>&#8220;It&#8217;s a bridge to more advanced (future) XML languages and applications and perhaps to more advanced versions of itself (XHTML 2?).&#8221;<\/cite><\/p>\n<p><a href=\"http:\/\/www.zeldman.com\/daily\/0303a.shtml#objectx\">Heh<\/a>.<\/p>\n<\/li>\n<\/ol>\n<p>The presentation then goes on to cite nine websites that are using structured XHTML and CSS, including some big names such as ESPN and Wired.  None of the sites serve up their pages as application\/xhtml+xml to browsers that accept this MIME-type, which means that each site is being treated as&#8230; you guessed it, good old fashioned HTML.  And that&#8217;s a damn good thing, because four of the sites <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/msn.espn.go.com\/\">have<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/www.inc.com\/home\/\">invalid<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/www.wired.com\/\">home<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/www.americanlongevity.net\/\">pages<\/a>, and four others <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/www.quark.com\/products\/xpress\/demos.html\">have<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/search.atomz.com\/search\/?sp-q=design&amp;sp-a=sp1002af42&amp;sp-p=all&amp;sp-f=ISO-8859-1\">invalid<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/www.pga.com\/openchampionship\/course_history.html\">secondary<\/a> <a href=\"http:\/\/validator.w3.org\/check?uri=http:\/\/www.phish.com\/letters\/\">pages<\/a> just one click away. The only site diligent enough to pass the &#8220;Laziness Test&#8221; is the <a href=\"http:\/\/www.csszengarden.com\/\">CSS Zen Garden<\/a>.  (To his further credit, the creator of the Zen Garden is <a href=\"http:\/\/www.mezzoblue.com\/archives\/2003\/08\/01\/forcefeeding\/\">considering the MIME-type issues as we speak<\/a>.)<\/p>\n<p>Anyway.  The point is not that cutting edge designs are bad; they&#8217;re not.  The point is not that &#8220;Evan hates XHTML&#8221;; I don&#8217;t.  XHTML allows you to do some amazing things that you can&#8217;t do with HTML. Unfortunately, due to the dreadfully primitive state of XML browsers and tools, there&#8217;s really nobody using XHTML for anything that you can&#8217;t do with HTML.[<sup><a href=\"#5-1\">1<\/a><\/sup>]<\/p>\n<p>The real problem is that XHTML is being touted as a replacement for HTML.  It&#8217;s not.  XHTML is a different technology that suits different purposes.  There are a lot of influential people who are blurring this distinction, and I&#8217;d like to think that they know better.<\/p>\n<p><small><a name=\"5-1\"><\/a>1. Except for a few oddball physicists, mathematicians, and chemists, but who&#8217;s counting them?<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The real problem is that XHTML is being touted as a <em>replacement<\/em> for HTML.  It&#8217;s not.  XHTML is a different technology that suits different purposes.  There are a lot of influential people who are blurring this distinction, and I&#8217;d like to think that they know better.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-194","post","type-post","status-publish","format-standard","hentry","category-web"],"_links":{"self":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/comments?post=194"}],"version-history":[{"count":0,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/posts\/194\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.goer.org\/Journal\/wp-json\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}