[whatwg] Configure Apache to send the right MIME type for XHTML

Bjoern Hoehrmann derhoermi at gmx.net
Sun Mar 11 10:26:02 PDT 2007


* L. David Baron wrote:
>My dismissal of XHTML is that the designers of XHTML and related
>standards are repeatedly introducing more and more incompatibility
>between XHTML and HTML, which makes it progressively harder for
>authors to transition to XHTML (particularly to do so gradually on a
>large site).

Out of curiosity, do you dismiss "HTML5" on the same grounds? As an
example, http://www.bjoernsworld.de/suchmaschinen/robots-txt.html is
as close as it comes to a proper HTML document, but to turn it into
a HTML5 document I would need to make many non-trivial changes, e.g.
find replacements for

  * <link rev>
  * <a name>
  * empty <a> elements
  * <hr size>
  * <img align>
  * <table align>
  * <table width>
  * <td align>

and then

  * review whether I use any so-called predefined classes and if,
    whether I use them correctly, or find out how to replace them

  * review whether I am MicroformatsOK according to the latest
    Wiki pages

  * review whether my img elements are really some piece of text
    with some alternate graphical representation

  * review whether my images are all the exact size given in the
    height and width attributes

and so on, whereas switching to XHTML would simply be a matter of
running HTML Tidy on all the files and lowercasing the selectors
in the style sheets? It's a lot of work if I just want to add my
favourite "HTML5" feature to the page.
-- 
Björn Höhrmann · mailto:bjoern at hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 



More information about the whatwg mailing list