<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: xhtml</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/xhtml.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2025-06-05T10:23:31+00:00</updated><author><name>Simon Willison</name></author><entry><title>Cracking The Dave &amp; Buster’s Anomaly</title><link href="https://simonwillison.net/2025/Jun/5/cracking-the-dave-busters-anomaly/" rel="alternate"/><published>2025-06-05T10:23:31+00:00</published><updated>2025-06-05T10:23:31+00:00</updated><id>https://simonwillison.net/2025/Jun/5/cracking-the-dave-busters-anomaly/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://rambo.codes/posts/2025-05-12-cracking-the-dave-and-busters-anomaly"&gt;Cracking The Dave &amp;amp; Buster’s Anomaly&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Guilherme Rambo reports on a weird iOS messages bug:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The bug is that, if you try to send an audio message using the Messages app to someone who’s also using the Messages app, and that message happens to include the name “Dave and Buster’s”, the message will never be received.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Guilherme captured the logs from an affected device and spotted an XHTMLParseFailure error.&lt;/p&gt;
&lt;p&gt;It turned out the iOS automatic transcription mechanism was recognizing the brand name and converting it to the official restaurant chain's preferred spelling "Dave &amp;amp; Buster’s"... which was then incorrectly escaped and triggered a parse error!


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xml"&gt;xml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ios"&gt;ios&lt;/a&gt;&lt;/p&gt;



</summary><category term="xhtml"/><category term="xml"/><category term="ios"/></entry><entry><title>What is the difference between XHTML 1.0 strict and transitional?</title><link href="https://simonwillison.net/2012/Jan/14/what-is-the-difference/" rel="alternate"/><published>2012-01-14T13:09:00+00:00</published><updated>2012-01-14T13:09:00+00:00</updated><id>https://simonwillison.net/2012/Jan/14/what-is-the-difference/</id><summary type="html">
    &lt;p&gt;&lt;em&gt;My answer to &lt;a href="https://www.quora.com/What-is-the-difference-between-XHTML-1-0-strict-and-transitional/answer/Simon-Willison"&gt;What is the difference between XHTML 1.0 strict and transitional?&lt;/a&gt; on Quora&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Not a lot. XHTML transitional lets you use a few presentational attributes and elements that aren't available in XHTML strict. Here's a more detailed overview from back in 2005: &lt;span&gt;&lt;a href="http://24ways.org/2005/transitional-vs-strict-markup"&gt;http://24ways.org/2005/transitio...&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;These days you're much better off using HTML5 and ignoring XHTML entirely.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-development"&gt;web-development&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xml"&gt;xml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/quora"&gt;quora&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="html"/><category term="web-development"/><category term="xhtml"/><category term="xml"/><category term="quora"/></entry><entry><title>Quoting Andrew Clover</title><link href="https://simonwillison.net/2009/Nov/16/regex/" rel="alternate"/><published>2009-11-16T10:32:15+00:00</published><updated>2009-11-16T10:32:15+00:00</updated><id>https://simonwillison.net/2009/Nov/16/regex/</id><summary type="html">
    &lt;blockquote cite="http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454"&gt;&lt;p&gt;Every time you attempt to parse HTML with regular expressions, the unholy child weeps the blood of virgins, and Russian hackers pwn your webapp. Parsing HTML with regex summons tainted souls into the realm of the living. HTML and regex go together like love, marriage, and ritual infanticide.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://stackoverflow.com/questions/1732348/regex-match-open-tags-except-xhtml-self-contained-tags/1732454#1732454"&gt;Andrew Clover&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/andrew-clover"&gt;andrew-clover&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/funny"&gt;funny&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/parsing"&gt;parsing&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/regular-expressions"&gt;regular-expressions&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/stackoverflow"&gt;stackoverflow&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="andrew-clover"/><category term="funny"/><category term="html"/><category term="parsing"/><category term="regular-expressions"/><category term="stackoverflow"/><category term="xhtml"/></entry><entry><title>Django ponies: Proposals for Django 1.2</title><link href="https://simonwillison.net/2009/Sep/28/ponies/" rel="alternate"/><published>2009-09-28T23:32:04+00:00</published><updated>2009-09-28T23:32:04+00:00</updated><id>https://simonwillison.net/2009/Sep/28/ponies/</id><summary type="html">
    &lt;p&gt;I've decided to step up my involvement in Django development in the run-up to Django 1.2, so I'm currently going through several years worth of accumulated pony requests figuring out which ones are worth advocating for. I'm also ensuring I have the code to back them up - my innocent &lt;a href="http://code.djangoproject.com/wiki/AutoEscaping"&gt;AutoEscaping proposal&lt;/a&gt; a few years ago resulted in an enormous amount of work by Malcolm and I don't think he'd appreciate a repeat performance.&lt;/p&gt;

&lt;p&gt;I'm not a big fan of branches when it comes to exploratory development - they're fine for doing the final implementation once an approach has been agreed, but I don't think they are a very effective way of discussing proposals. I'd much rather see working code in a separate application - that way I can try it out with an existing project without needing to switch to a new Django branch. Keeping code out of a branch also means people can start using it for real development work, making the API much easier to evaluate. Most of my proposals here have accompanying applications on GitHub.&lt;/p&gt;

&lt;p&gt;I've recently got in to the habit of including an "examples" directory with each of my experimental applications. This is a full Django project (with settings.py, urls.py and manage.py files) which serves two purposes. Firstly, it allows developers to run the application's unit tests without needing to install it in to their own pre-configured project, simply by changing in to the examples directory and running &lt;samp&gt;./manage.py test&lt;/samp&gt;. Secondly, it gives me somewhere to put demonstration code that can be viewed in a browser using the runserver command - a further way of making the code easier to evaluate. &lt;a href="http://github.com/simonw/django-safeform"&gt;django-safeform&lt;/a&gt; is a good example of this pattern.&lt;/p&gt;

&lt;p&gt;Here's my current list of ponies, in rough order of priority.&lt;/p&gt;

&lt;h4&gt;Signing and signed cookies&lt;/h4&gt;

&lt;p&gt;Signing strings to ensure they have not yet been tampered with is a crucial technique in web application security. As with all cryptography, it's also surprisingly difficult to do correctly. &lt;a href="http://vnhacker.blogspot.com/2009/09/flickrs-api-signature-forgery.html"&gt;A vulnerability in the signing implementation&lt;/a&gt; used to protect the Flickr API was revealed just today.&lt;/p&gt;

&lt;p&gt;One of the many uses of signed strings is to implement signed cookies. Signed cookies are fantastically powerful - they allow you to send cookies safe in the knowledge that your user will not be able to alter them without you knowing. This dramatically reduces the need for sessions - most web apps use sessions for security rather than for storing large amounts of data, so moving that "logged in user ID" value to a signed cookie eliminates the need for session storage entirely, saving a round-trip to persistent storage on every request.&lt;/p&gt;

&lt;p&gt;This has particularly useful implications for scaling - you can push your shared secret out to all of your front end web servers and scale horizontally, with no need for shared session storage just to handle simple authentication and "You are logged in as X" messages.&lt;/p&gt;

&lt;p&gt;The latest version of my &lt;a href="http://github.com/simonw/django-openid"&gt;django-openid&lt;/a&gt; library uses signed cookies to store the OpenID you log in with, removing the need to configure Django's session storage. I've extracted that code in to &lt;a href="http://github.com/simonw/django-signed"&gt;django-signed&lt;/a&gt;, which I hope to evolve in to something suitable for inclusion in &lt;samp&gt;django.utils&lt;/samp&gt;.&lt;/p&gt;

&lt;p&gt;Please note that django-signed has not yet been vetted by cryptography specialists, something I plan to fix before proposing it for final inclusion in core.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://github.com/simonw/django-signed"&gt;django-signed&lt;/a&gt; on GitHub&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://code.djangoproject.com/wiki/Signing"&gt;Details of the Signing proposal&lt;/a&gt; on the Django wiki&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://groups.google.com/group/django-developers/browse_thread/thread/133509246caf1d91"&gt;Signing discussion&lt;/a&gt; on the django-developers mailing list&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;Improved CSRF support&lt;/h4&gt;

&lt;p&gt;This is mainly Luke Plant's pony, but I'm very keen to see it happen. Django has shipped with CSRF protection for &lt;a href="http://code.djangoproject.com/changeset/2868"&gt;more than three years now&lt;/a&gt;, but the approach (using middleware to rewrite form HTML) is relatively crude and, crucially, the protection isn't turned on by default. Hint: if you aren't 100% positive you are protected against &lt;a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery"&gt;CSRF&lt;/a&gt;, you should probably go and turn it on.&lt;/p&gt;

&lt;p&gt;&lt;a href="http://bitbucket.org/spookylukey/django-trunk-lukeplant/src/05f0530f3207/django/contrib/csrf/"&gt;Luke's approach&lt;/a&gt; is an iterative improvement - a template tag (with a dependency on RequestContext) is used to output the hidden CSRF field, with middleware used to set the cookie and perform the extra validation. I experimented at length with an alternative solution based around extending Django's form framework to treat CSRF as just another aspect of validation - you can see the result in my &lt;a href="http://github.com/simonw/django-safeform"&gt;django-safeform&lt;/a&gt; project. My approach avoids middleware and template tags in favour of a view decorator to set the cookie and a class decorator to add a CSRF check to the form itself.&lt;/p&gt;

&lt;p&gt;While my approach works, the effort involved in upgrading existing code to it is substantial, compared to a much easier upgrade path for Luke's middleware + template tag approach. The biggest advantage of safeform is that it allows CSRF failure messages to be shown inline on the form, without losing the user's submission - the middleware check means showing errors as a full page without redisplaying the form. It looks like it should be possible to bring that aspect of safeform back to the middleware approach, and I plan to put together a patch for that over the next few days.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;Luke's &lt;a href="http://bitbucket.org/spookylukey/django-trunk-lukeplant/src/05f0530f3207/django/contrib/csrf/"&gt;CSRF branch&lt;/a&gt; on bitbucket&lt;/li&gt;
    &lt;li&gt;My &lt;a href="http://github.com/simonw/django-signed"&gt;django-safeform&lt;/a&gt; on GitHub&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://code.djangoproject.com/wiki/CsrfProtection"&gt;Details of the CSRF proposal&lt;/a&gt; on the Django wiki&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://groups.google.com/group/django-developers/browse_thread/thread/3d2dc750082103dc"&gt;CSRF discussion&lt;/a&gt; on the django-developers mailing list&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;Better support for outputting HTML&lt;/h4&gt;

&lt;p&gt;This is a major pet peeve of mine. Django's form framework is excellent - one of the best features of the framework. There's just one thing that bugs me about it - it outputs full form widgets (for &lt;code&gt;input&lt;/code&gt;, &lt;code&gt;select&lt;/code&gt; and the like) so that it can include the previous value when redisplaying a form during validation, but it does so using XHTML syntax.&lt;/p&gt;

&lt;p&gt;I have a strong preference for an HTML 4.01 strict doctype, and all those &amp;lt;self-closing-tags /&amp;gt; have been niggling away at me for literally &lt;em&gt;years&lt;/em&gt;. Django bills itself as a framework for "perfectionists with deadlines", so I feel justified in getting wound up out of proportion over this one.&lt;/p&gt;

&lt;p&gt;A year ago I started experimenting with a solution, and came up with &lt;a href="http://github.com/simonw/django-html"&gt;django-html&lt;/a&gt;. It introduces two new Django template tags - &lt;code&gt;{% doctype %}&lt;/code&gt; and &lt;code&gt;{% field %}&lt;/code&gt;. The doctype tag serves two purposes - it outputs a particular doctype (saving you from having to remember the syntax) and it records that doctype in Django's template context object. The field tag is then used to output form fields, but crucially it gets to take the current doctype in to account.&lt;/p&gt;

&lt;p&gt;The field tag can also be used to add extra HTML attributes to form widgets from within the template itself, solving another small frustration about the existing form library. The &lt;a href="http://github.com/simonw/django-html/blob/master/README.rst"&gt;README&lt;/a&gt; describes the new tags in detail.&lt;/p&gt;

&lt;p&gt;The way the tags work is currently a bit of a hack - if merged in to Django core they could be more cleanly implemented by refactoring the form library slightly. This refactoring is currently being discussed on the mailing list.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://github.com/simonw/django-html"&gt;django-html&lt;/a&gt; on GitHub&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://groups.google.com/group/django-developers/browse_thread/thread/bbf75f0eeaf9fa64"&gt;Improved HTML discussion&lt;/a&gt; on the django-developers mailing list&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;Logging&lt;/h4&gt;

&lt;p&gt;This is the only proposal for which I don't yet have any code. I want to add official support for Python's standard logging framework to Django. It's possible to use this at the moment (I've done so on several projects) but it's not at all clear what the best way of doing so is, and Django doesn't use it internally at all. I posted a &lt;a href="http://groups.google.com/group/django-developers/browse_thread/thread/8551ecdb7412ab22"&gt;full argument in favour of logging&lt;/a&gt; to the mailing list, but my favourite argument is this one:&lt;/p&gt;

&lt;blockquote cite="http://groups.google.com/group/django-developers/browse_thread/thread/8551ecdb7412ab22"&gt;&lt;p&gt;Built-in support for logging reflects a growing reality of modern Web development: more and more sites have interfaces with external web service APIs, meaning there are plenty of things that could go wrong that are outside the control of the developer. Failing gracefully and logging what happened is the best way to deal with 3rd party problems - much better than throwing a 500 and leaving no record of what went wrong.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I'm not actively pursuing this one yet, but I'm very interesting in hearing people's opinions on the best way to configure and use the Python logging module in production.&lt;/p&gt;

&lt;h4&gt;A replacement for get_absolute_url()&lt;/h4&gt;

&lt;p&gt;Django has a loose convention of encouraging people to add a &lt;code&gt;get_absolute_url&lt;/code&gt; method to their models that returns that object's URL. It's a controversial feature - for one thing, it's a bit of a layering violation since URL logic is meant to live in the &lt;samp&gt;urls.py&lt;/samp&gt; file. It's incredibly convenient though, and since it's good web citizenship for everything to have one and only one URL I think there's a pretty good argument for keeping it.&lt;/p&gt;

&lt;p&gt;The problem is, the name sucks. I first took a look at this in the last few weeks before the release of Django 1.0 - what started as a quick proposal to come up with a better name before we were stuck with it quickly descended in to a quagmire as I realised quite how broken &lt;code&gt;get_absolute_url()&lt;/code&gt; is. The short version: in some cases it means "get a relative URL starting with /", in other cases it means "get a full URL starting with http://" and the name doesn't accurately describe either.&lt;/p&gt;

&lt;p&gt;A full write-up of my investigation is &lt;a href="http://code.djangoproject.com/wiki/ReplacingGetAbsoluteUrl"&gt;available on the Wiki&lt;/a&gt;. My proposed solution was to replace it with two complementary methods - &lt;code&gt;get_url()&lt;/code&gt; and &lt;code&gt;get_url_path()&lt;/code&gt; - with the user implementing one hence allowing the other one to be automatically derived. My &lt;a href="http://github.com/simonw/django-urls"&gt;django-urls&lt;/a&gt; project illustrates the concept via a model mixin class. A year on I still think it's quite a neat idea, though as far as I can tell no one has ever actually used it.&lt;/p&gt;

&lt;ul&gt;
    &lt;li&gt;&lt;a href="http://code.djangoproject.com/wiki/ReplacingGetAbsoluteUrl"&gt;ReplacingGetAbsoluteUrl&lt;/a&gt; on the wiki&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://github.com/simonw/django-urls"&gt;django-urls&lt;/a&gt; on GitHub&lt;/li&gt;
    &lt;li&gt;&lt;a href="http://groups.google.com/group/django-developers/browse_thread/thread/7e69c39c23ec1079"&gt;Recent get_absolute_url discussion&lt;/a&gt; on the django-developers mailing list&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Comments on this post are open, but if you have anything to say about any of the individual proposals it would be much more useful if you posted it to the relevant mailing list thread.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/cookies"&gt;cookies&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/cryptography"&gt;cryptography&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/csrf"&gt;csrf&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/logging"&gt;logging&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/luke-plant"&gt;luke-plant&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/markup"&gt;markup&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ponies"&gt;ponies&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/projects"&gt;projects&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/security"&gt;security&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/signedcookies"&gt;signedcookies&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/signing"&gt;signing&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="cookies"/><category term="cryptography"/><category term="csrf"/><category term="django"/><category term="html"/><category term="logging"/><category term="luke-plant"/><category term="markup"/><category term="ponies"/><category term="projects"/><category term="python"/><category term="security"/><category term="signedcookies"/><category term="signing"/><category term="xhtml"/></entry><entry><title>Quoting David Baron</title><link href="https://simonwillison.net/2009/Jul/8/david/" rel="alternate"/><published>2009-07-08T20:30:27+00:00</published><updated>2009-07-08T20:30:27+00:00</updated><id>https://simonwillison.net/2009/Jul/8/david/</id><summary type="html">
    &lt;blockquote cite="http://dbaron.org/log/20090707-ex-html"&gt;&lt;p&gt;Microsoft was slowing development of new versions of Internet Explorer in the hope that Web-based applications would not be able to compete with Windows applications, and Windows applications would keep people locked in to the Windows operating system. Thus XHTML2 was developed with no expectation that the leading Web browser would ever implement it.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://dbaron.org/log/20090707-ex-html"&gt;David Baron&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/david-baron"&gt;david-baron&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/internet-explorer"&gt;internet-explorer&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/microsoft"&gt;microsoft&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml2"&gt;xhtml2&lt;/a&gt;&lt;/p&gt;



</summary><category term="david-baron"/><category term="internet-explorer"/><category term="microsoft"/><category term="web-standards"/><category term="xhtml"/><category term="xhtml2"/></entry><entry><title>Quoting James Bennett</title><link href="https://simonwillison.net/2009/Jul/8/james/" rel="alternate"/><published>2009-07-08T19:36:59+00:00</published><updated>2009-07-08T19:36:59+00:00</updated><id>https://simonwillison.net/2009/Jul/8/james/</id><summary type="html">
    &lt;blockquote cite="http://www.b-list.org/weblog/2009/jul/08/xhtml/"&gt;&lt;p&gt;Insofar as it encouraged workaday web professionals to recognize that there are such things as best practices independent of particular browser implementations, I think XHTML can be termed successful. Insofar as it got people thinking about the possibility of a better Web ahead of us, I think XHTML can be termed successful. Insofar as it changed the popular conception of professional web design and thrust standards into the forefront, I think XHTML can be termed successful.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://www.b-list.org/weblog/2009/jul/08/xhtml/"&gt;James Bennett&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/james-bennett"&gt;james-bennett&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="james-bennett"/><category term="web-standards"/><category term="xhtml"/></entry><entry><title>In defense of web developers</title><link href="https://simonwillison.net/2009/Jul/7/zeldman/" rel="alternate"/><published>2009-07-07T15:52:55+00:00</published><updated>2009-07-07T15:52:55+00:00</updated><id>https://simonwillison.net/2009/Jul/7/zeldman/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.zeldman.com/2009/07/07/in-defense-of-web-developers/"&gt;In defense of web developers&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Zeldman: “The social benefit of rethinking markup sealed the deal. XHTML’s introduction in 2000, and its emphasis on rules of construction, gave web standards evangelists like me a platform on which to hook a program of semantic markup replacing the bloated and unsustainable tag soup of the day.”


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jeffrey-zeldman"&gt;jeffrey-zeldman&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/markup"&gt;markup&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="html5"/><category term="jeffrey-zeldman"/><category term="markup"/><category term="web-standards"/><category term="xhtml"/></entry><entry><title>Quoting Assaf Arkin</title><link href="https://simonwillison.net/2009/Jul/6/labnotes/" rel="alternate"/><published>2009-07-06T21:02:02+00:00</published><updated>2009-07-06T21:02:02+00:00</updated><id>https://simonwillison.net/2009/Jul/6/labnotes/</id><summary type="html">
    &lt;blockquote cite="http://blog.labnotes.org/2009/07/06/rounded-corners-236-%E2%80%94-loose-tweets-sink-fleets/"&gt;&lt;p&gt;Turns out, a lot of people are saddened by the loss of a spec they don’t understand, and if they did, would not bother using.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://blog.labnotes.org/2009/07/06/rounded-corners-236-%E2%80%94-loose-tweets-sink-fleets/"&gt;Assaf Arkin&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/assaf-arkin"&gt;assaf-arkin&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml2"&gt;xhtml2&lt;/a&gt;&lt;/p&gt;



</summary><category term="assaf-arkin"/><category term="html5"/><category term="web-standards"/><category term="xhtml"/><category term="xhtml2"/></entry><entry><title>Quoting Henri Sivonen</title><link href="https://simonwillison.net/2009/Jul/6/xhtml/" rel="alternate"/><published>2009-07-06T12:46:23+00:00</published><updated>2009-07-06T12:46:23+00:00</updated><id>https://simonwillison.net/2009/Jul/6/xhtml/</id><summary type="html">
    &lt;blockquote cite="http://hsivonen.iki.fi/xhtml2-html5-q-and-a/"&gt;&lt;p&gt;There are two meanings to XHTML: technical and marketing. The technical kind (XHTML served using the application/xhtml xml MIME type) is a formulation of HTML as an XML vocabulary. The marketing kind (XHTML served using the text/html MIME type) is processed just like HTML by browsers but the authors attempt to observe slightly different syntax rules in order to make it seem that they are doing something newer and shinier compared to HTML.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://hsivonen.iki.fi/xhtml2-html5-q-and-a/"&gt;Henri Sivonen&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/buzzwords"&gt;buzzwords&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/henri-sivonen"&gt;henri-sivonen&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xml"&gt;xml&lt;/a&gt;&lt;/p&gt;



</summary><category term="buzzwords"/><category term="henri-sivonen"/><category term="xhtml"/><category term="xml"/></entry><entry><title>An Unnofficial Q&amp;A about the Discontinuation of the XHTML2 WG</title><link href="https://simonwillison.net/2009/Jul/6/unnofficial/" rel="alternate"/><published>2009-07-06T12:27:18+00:00</published><updated>2009-07-06T12:27:18+00:00</updated><id>https://simonwillison.net/2009/Jul/6/unnofficial/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://hsivonen.iki.fi/xhtml2-html5-q-and-a/"&gt;An Unnofficial Q&amp;amp;A about the Discontinuation of the XHTML2 WG&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
By Henri Sivonen.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/faq"&gt;faq&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/henri-sivonen"&gt;henri-sivonen&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html2"&gt;html2&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/w3c"&gt;w3c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="faq"/><category term="henri-sivonen"/><category term="html"/><category term="html2"/><category term="html5"/><category term="w3c"/><category term="web-standards"/><category term="xhtml"/></entry><entry><title>Quoting Alan Storm</title><link href="https://simonwillison.net/2009/Jul/4/alan/" rel="alternate"/><published>2009-07-04T12:51:15+00:00</published><updated>2009-07-04T12:51:15+00:00</updated><id>https://simonwillison.net/2009/Jul/4/alan/</id><summary type="html">
    &lt;blockquote cite="http://simonwillison.net/2009/Jul/4/xhtml/#c47024"&gt;&lt;p&gt;Yes, it'd be nice if everyone kept up to date on the progress of the various W3C working groups. They don't. There are a lot of people who asked what professional markup looked like and were told (right or wrong) that XHTML was the future. So they went ahead and learned XHTML, built their websites and chose watching a DVD or spending time with their kids over watching Mark Pilgrim and Sam Ruby do battle over Postel's Law. Now all of a sudden they're told XHTML is dead. Some wailing and gnashing of teeth is to be expected. What's needed is less "boy aren't I smarter than them" snideness, and more Hey, here's what's up.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://simonwillison.net/2009/Jul/4/xhtml/#c47024"&gt;Alan Storm&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/alan-storm"&gt;alan-storm&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mark-pilgrim"&gt;mark-pilgrim&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/postelslaw"&gt;postelslaw&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/sam-ruby"&gt;sam-ruby&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/w3c"&gt;w3c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml2"&gt;xhtml2&lt;/a&gt;&lt;/p&gt;



</summary><category term="alan-storm"/><category term="html5"/><category term="mark-pilgrim"/><category term="postelslaw"/><category term="sam-ruby"/><category term="w3c"/><category term="web-standards"/><category term="xhtml"/><category term="xhtml2"/></entry><entry><title>Jeffrey Zeldman: XHTML WTF</title><link href="https://simonwillison.net/2009/Jul/4/xhtml/" rel="alternate"/><published>2009-07-04T01:22:47+00:00</published><updated>2009-07-04T01:22:47+00:00</updated><id>https://simonwillison.net/2009/Jul/4/xhtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.zeldman.com/2009/07/02/xhtml-wtf/"&gt;Jeffrey Zeldman: XHTML WTF&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Reading the comments, it’s scary how many people are totally ill-informed about HTML5 and XHTML5.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/education"&gt;education&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/jeffrey-zeldman"&gt;jeffrey-zeldman&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml5"&gt;xhtml5&lt;/a&gt;&lt;/p&gt;



</summary><category term="education"/><category term="html5"/><category term="jeffrey-zeldman"/><category term="web-standards"/><category term="xhtml"/><category term="xhtml5"/></entry><entry><title>FAQs about the future of XHTML</title><link href="https://simonwillison.net/2009/Jul/3/xhtml/" rel="alternate"/><published>2009-07-03T01:37:51+00:00</published><updated>2009-07-03T01:37:51+00:00</updated><id>https://simonwillison.net/2009/Jul/3/xhtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.w3.org/2009/06/xhtml-faq"&gt;FAQs about the future of XHTML&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
The XHTML 2 Working Group charter will not be renewed after 2009—as far as the W3C are concerned, XHTML5 is the future of XHTML.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/w3c"&gt;w3c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml2"&gt;xhtml2&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml5"&gt;xhtml5&lt;/a&gt;&lt;/p&gt;



</summary><category term="w3c"/><category term="web-standards"/><category term="xhtml"/><category term="xhtml2"/><category term="xhtml5"/></entry><entry><title>Using SVG on the Web</title><link href="https://simonwillison.net/2008/Dec/23/bsblog/" rel="alternate"/><published>2008-12-23T13:00:05+00:00</published><updated>2008-12-23T13:00:05+00:00</updated><id>https://simonwillison.net/2008/Dec/23/bsblog/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://benjamin.smedbergs.us/blog/2008-12-22/using-svg-on-the-web/"&gt;Using SVG on the Web&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
I’ve been having a lot of fun playing with SVG recently. Here are some useful tips for including SVG images in HTML and XHTML documents.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/benjamin-smedberg"&gt;benjamin-smedberg&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/svg"&gt;svg&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="benjamin-smedberg"/><category term="html"/><category term="svg"/><category term="xhtml"/></entry><entry><title>XHTML - myths and reality</title><link href="https://simonwillison.net/2008/Oct/7/xhtml/" rel="alternate"/><published>2008-10-07T16:56:31+00:00</published><updated>2008-10-07T16:56:31+00:00</updated><id>https://simonwillison.net/2008/Oct/7/xhtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.dev-archive.net/articles/xhtml.html#content%E2%80%93negotiation"&gt;XHTML - myths and reality&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Useful overview of XHTML from Tina Holmboe of the W3C’s XHTML Working Group, which suggests considering HTML 4.01 strict unless you need mixed namespaces for things like MathML. I’ve been storing this blog’s content as XHTML but serving as HTML for several years now.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mathml"&gt;mathml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/namespaces"&gt;namespaces&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/tinaholmboe"&gt;tinaholmboe&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/w3c"&gt;w3c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="html"/><category term="mathml"/><category term="namespaces"/><category term="tinaholmboe"/><category term="w3c"/><category term="xhtml"/></entry><entry><title>django-html</title><link href="https://simonwillison.net/2008/Sep/9/djangohtml/" rel="alternate"/><published>2008-09-09T23:59:34+00:00</published><updated>2008-09-09T23:59:34+00:00</updated><id>https://simonwillison.net/2008/Sep/9/djangohtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://code.google.com/p/django-html/"&gt;django-html&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
A small project I’m working on to make Django behave better with regards to HTML v.s. XHTML.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/django"&gt;django&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/djangohtml"&gt;djangohtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/projects"&gt;projects&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="django"/><category term="djangohtml"/><category term="html"/><category term="projects"/><category term="python"/><category term="xhtml"/></entry><entry><title>James Bennett: Why HTML</title><link href="https://simonwillison.net/2008/Jun/18/html/" rel="alternate"/><published>2008-06-18T12:27:09+00:00</published><updated>2008-06-18T12:27:09+00:00</updated><id>https://simonwillison.net/2008/Jun/18/html/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.b-list.org/weblog/2008/jun/18/html/"&gt;James Bennett: Why HTML&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Finally, somewhere to point people when they ask why I avoid XHTML that’s a bit more up to date than Hixie’s rant from 2002.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/hixie"&gt;hixie&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/ian-hickson"&gt;ian-hickson&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/james-bennett"&gt;james-bennett&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="hixie"/><category term="html"/><category term="ian-hickson"/><category term="james-bennett"/><category term="web-standards"/><category term="xhtml"/></entry><entry><title>Elliotte Rusty Harold: Why XHTML</title><link href="https://simonwillison.net/2008/Jun/5/cafes/" rel="alternate"/><published>2008-06-05T21:25:20+00:00</published><updated>2008-06-05T21:25:20+00:00</updated><id>https://simonwillison.net/2008/Jun/5/cafes/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://cafe.elharo.com/web/refactoring-html/why-xhtml/#more-266"&gt;Elliotte Rusty Harold: Why XHTML&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
“XHTML makes life harder for document authors in exchange for making life easier for document consumers.”—since there are a lot more document authors than there are tools for consuming, this seems like an argument AGAINST XHTML to me.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/elliotte-rusty-harold"&gt;elliotte-rusty-harold&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/web-standards"&gt;web-standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="elliotte-rusty-harold"/><category term="html"/><category term="html5"/><category term="web-standards"/><category term="xhtml"/></entry><entry><title>SVG and text/html</title><link href="https://simonwillison.net/2007/Oct/17/svg/" rel="alternate"/><published>2007-10-17T16:06:36+00:00</published><updated>2007-10-17T16:06:36+00:00</updated><id>https://simonwillison.net/2007/Oct/17/svg/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://annevankesteren.nl/2007/10/svg-html"&gt;SVG and text/html&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Anne van Kesteren discusses the need for SVG and MathML to be embeddable in HTML 5, not just XHTML.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/anne-van-kesteren"&gt;anne-van-kesteren&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/html5"&gt;html5&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/mathml"&gt;mathml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/svg"&gt;svg&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="anne-van-kesteren"/><category term="html"/><category term="html5"/><category term="mathml"/><category term="svg"/><category term="xhtml"/></entry><entry><title>Problems with XHTML content type.</title><link href="https://simonwillison.net/2007/May/30/problems-with-xhtml-content-type/" rel="alternate"/><published>2007-05-30T14:13:00+00:00</published><updated>2007-05-30T14:13:00+00:00</updated><id>https://simonwillison.net/2007/May/30/problems-with-xhtml-content-type/</id><summary type="html">
    &lt;p&gt;&lt;em&gt;My answer to &lt;a href="http://ask.metafilter.com/63715/Problems-with-XHTML-content-type"&gt;Problems with XHTML content type.&lt;/a&gt; on Ask MetaFilter&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The first question you should be asking is why you need XHTML - if you don't have a specific reason (the need for XML parsers to be able to consume your pages) you're much better off with HTML 4.01 for now, and HTML 5 in probably a year or so.&lt;/p&gt;
&lt;p&gt;As for serving up XHTML, you need to check the browser's HTTP_ACCEPT header to decide whether or not to serve it (IE, including IE 7, can't handle it at all and will offer to download it).
&lt;pre&gt;&amp;lt; ?phpbr&amp;gt;
if ( stristr($_SERVER[&amp;quot;HTTP_ACCEPT&amp;quot;],&amp;quot;application/xhtml+xml&amp;quot;) ) {
  header(&amp;quot;Content-type: application/xhtml+xml&amp;quot;);
}
else {
  header(&amp;quot;Content-type: text/html&amp;quot;);
}
?&amp;gt;&amp;lt; /&amp;gt;&lt;/pre&gt;Be warned: there are a TON of gotchas involved in serving using the application/xhtml+xml content type, especially relating to JavaScript. &lt;a href="http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html"&gt;This article&lt;/a&gt; from 2003 is still very relevant.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Then &lt;a href="http://ask.metafilter.com/63715/Problems-with-XHTML-content-type#958688"&gt;at 15:07&lt;/a&gt;:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Forgot to mention: the best reason to use XHTML is if you want to embed SVG or MathML in your pages. Again, that trick won't work in any existing version of Internet Explorer.&lt;/p&gt;
&lt;p&gt;Generally though it's best avoided. I served my personal site in XHTML with the correct content type for several years; it was a nuisance. The XML error model is fundamentally unsuited to the Web.&lt;/p&gt;
&lt;p&gt;One of the reasons HTML 5 is so interesting is that it attempts to specify an error model that is as close as possible to the way actual browsers work today.&lt;/p&gt;
    
        &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/ask-metafilter"&gt;ask-metafilter&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/standards"&gt;standards&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/w3c"&gt;w3c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;
    

</summary><category term="ask-metafilter"/><category term="standards"/><category term="w3c"/><category term="xhtml"/></entry><entry><title>W3C Relaunches HTML Activity</title><link href="https://simonwillison.net/2007/Mar/7/html/" rel="alternate"/><published>2007-03-07T22:34:22+00:00</published><updated>2007-03-07T22:34:22+00:00</updated><id>https://simonwillison.net/2007/Mar/7/html/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.w3.org/2007/03/html-pressrelease"&gt;W3C Relaunches HTML Activity&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
“XHTML has proved valuable in other markets” == XHTML on the public Web has failed. Long live HTML!

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://blog.whatwg.org/w3c-restarts-html-effort"&gt;The WHATWG Blog&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/html"&gt;html&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/w3c"&gt;w3c&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="html"/><category term="w3c"/><category term="xhtml"/></entry><entry><title>Quoting Douglas Crockford</title><link href="https://simonwillison.net/2006/Dec/14/xhtml/" rel="alternate"/><published>2006-12-14T17:40:10+00:00</published><updated>2006-12-14T17:40:10+00:00</updated><id>https://simonwillison.net/2006/Dec/14/xhtml/</id><summary type="html">
    &lt;blockquote cite="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=602"&gt;&lt;p&gt;XHTML is not going to replace HTML as the web's official markup language because it turns out that resilience is more useful than brittleness.&lt;/p&gt;&lt;/blockquote&gt;
&lt;p class="cite"&gt;&amp;mdash; &lt;a href="http://blog.360.yahoo.com/blog-TBPekxc1dLNy5DOloPfzVvFIVOWMB0li?p=602"&gt;Douglas Crockford&lt;/a&gt;&lt;/p&gt;

    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/douglas-crockford"&gt;douglas-crockford&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="douglas-crockford"/><category term="xhtml"/></entry><entry><title>Why Tim Berners-Lee is Wrong</title><link href="https://simonwillison.net/2006/Oct/30/tim/" rel="alternate"/><published>2006-10-30T17:54:52+00:00</published><updated>2006-10-30T17:54:52+00:00</updated><id>https://simonwillison.net/2006/Oct/30/tim/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://cafe.elharo.com/xml/why-tim-berners-lee-is-wrong/"&gt;Why Tim Berners-Lee is Wrong&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Elliotte thinks XHTML is not the problem. I’m not convinced.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/elliotte-rusty-harold"&gt;elliotte-rusty-harold&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/tim-berners-lee"&gt;tim-berners-lee&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="elliotte-rusty-harold"/><category term="tim-berners-lee"/><category term="xhtml"/></entry><entry><title>SVG and XHTML: Like oil and water</title><link href="https://simonwillison.net/2006/Jul/29/svg/" rel="alternate"/><published>2006-07-29T08:50:34+00:00</published><updated>2006-07-29T08:50:34+00:00</updated><id>https://simonwillison.net/2006/Jul/29/svg/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.joehewitt.com/blog/svg_and_xhtml_l.php"&gt;SVG and XHTML: Like oil and water&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Getting the two to mix takes a lot more effort than you might think.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/svg"&gt;svg&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="svg"/><category term="xhtml"/></entry><entry><title>Use HTML 4.01, not XHTML</title><link href="https://simonwillison.net/2005/Feb/21/use/" rel="alternate"/><published>2005-02-21T12:52:22+00:00</published><updated>2005-02-21T12:52:22+00:00</updated><id>https://simonwillison.net/2005/Feb/21/use/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.kryogenix.org/days/2005/02/21/xhtmlHtml"&gt;Use HTML 4.01, not XHTML&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Why Stuart’s book uses HTML, not XHTML.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="xhtml"/></entry><entry><title>Implementing XHTML 2.0</title><link href="https://simonwillison.net/2004/Jul/28/implementing/" rel="alternate"/><published>2004-07-28T20:38:37+00:00</published><updated>2004-07-28T20:38:37+00:00</updated><id>https://simonwillison.net/2004/Jul/28/implementing/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://w3future.com/weblog/2004/07/28.xml#implementingXhtml20"&gt;Implementing XHTML 2.0&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Client side behaviour hacks have serious disadvantages.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://www.paranoidfish.org/links/2004/07/28/"&gt;paranoidfish.org/links/&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="xhtml"/></entry><entry><title>XHTML FAQ: please remove application/xml XSLT hack</title><link href="https://simonwillison.net/2004/Jul/23/xhtml/" rel="alternate"/><published>2004-07-23T21:29:21+00:00</published><updated>2004-07-23T21:29:21+00:00</updated><id>https://simonwillison.net/2004/Jul/23/xhtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://lists.w3.org/Archives/Public/www-html-editor/2004JulSep/0027.html"&gt;XHTML FAQ: please remove application/xml XSLT hack&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Bjoern Hoehrmann blows it out of the water.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://www.paranoidfish.org/links/2004/07/23/"&gt;paranoidfish.org/links/2004/07/23&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xslt"&gt;xslt&lt;/a&gt;&lt;/p&gt;



</summary><category term="xhtml"/><category term="xslt"/></entry><entry><title>XHTML Frequently Answered Questions</title><link href="https://simonwillison.net/2004/Jul/22/xhtml/" rel="alternate"/><published>2004-07-22T00:17:24+00:00</published><updated>2004-07-22T00:17:24+00:00</updated><id>https://simonwillison.net/2004/Jul/22/xhtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://www.w3.org/MarkUp/2004/xhtml-faq"&gt;XHTML Frequently Answered Questions&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Includes a trick for getting IE to accept XHTML served as “application/xml”.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://www.w3.org/News/2004"&gt;Archive of W3C News in 2004&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="xhtml"/></entry><entry><title>XHTML Quicktime Object</title><link href="https://simonwillison.net/2004/Apr/13/xhtml/" rel="alternate"/><published>2004-04-13T04:12:32+00:00</published><updated>2004-04-13T04:12:32+00:00</updated><id>https://simonwillison.net/2004/Apr/13/xhtml/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://realdev1.realise.com/rossa/rendertest/quicktime.html"&gt;XHTML Quicktime Object&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
A standards Compliant method for adding Quicktime movies to pages.


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="xhtml"/></entry><entry><title>xhtmloutlines - Technorati Developers Site</title><link href="https://simonwillison.net/2004/Mar/24/xhtmloutlines/" rel="alternate"/><published>2004-03-24T06:54:19+00:00</published><updated>2004-03-24T06:54:19+00:00</updated><id>https://simonwillison.net/2004/Mar/24/xhtmloutlines/</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://developers.technorati.com/wiki/xhtmloutlines"&gt;xhtmloutlines - Technorati Developers Site&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
OPML alternative built on top of XHTML.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://randomfoo.net/"&gt;random($foo)&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/microformats"&gt;microformats&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/opml"&gt;opml&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/technorati"&gt;technorati&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/xhtml"&gt;xhtml&lt;/a&gt;&lt;/p&gt;



</summary><category term="microformats"/><category term="opml"/><category term="technorati"/><category term="xhtml"/></entry></feed>