About Links Archives Search Feed Albums of Note

XHTML 1.1 In Three

Let’s not quibble about their use of the word recommendation instead of standard. Have you ever tried to read a W3C [http://www.w3.org/] Standard? There’s a great deal of luck involved as to whether or not the one you need to investigate is written in something remotely resembling English.

The XHTML 1.1 standard [http://www.w3.org/TR/xhtml11/] is basically in English. At 27 pages as a PDF [http://www.w3.org/TR/xhtml11/xhtml11.pdf], it’s perhaps longwinded English, but English nevertheless. Once you get past the fact that everything is normative - that is, it has been sanctioned by the W3C and should not be changed - you learn that the standard tells you three things.

  1. The standard defines a new XHTML 1.1 document type which notes that the code it contains adheres strictly to the rules given in the W3C’s Modularization of XHTML [http://www.w3.org/TR/xhtml-modularization] standard. This second standard basically means that the W3C formally grouped the tags in HTML and XHTML into categories for easier reference and for easier interpretation by browsers. For example, the structure category contains the , , , and elements. 2. That the DOCTYPE definition for an XHTML 1.1 document looks like this: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “<a href="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" class="uri">http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd</a>”> 3. The rules for writing an XML document that conforms to the XHTML 1.1 standard

That’s easy enough to follow and the w3c validator will check your page for you once it’s built. Of course the Modularization of XHTML standard is 177 pages ( PDF [http://www.w3.org/TR/2001/REC-xhtml-modularization-20010410/xhtml-modularization.pdf] ) of which two thirds is a completely guide to the DTD for this grouping of tags which isn’t that easy to read, but at least the afternoon started off ok, right? What really annoys with this particular spec is that even after two years of having XML schemas as a standard which should supercede DTDs, the rewriting of XHTML as groups of tags and attributes as Schemas [http://www.w3.org/TR/2003/WD-xhtml-m12n-schema-20031003/] still isn’t complete. Come on, W3C, this should be done by now.

Posted on October 21, 2003   #Geek Stuff  

← Next post    ·    Previous post →