The News that you have been waiting to read…(Lojban) Can anyone tell me…

# HTML5 - My opinion on it

academic, technological @ 22 August 2007

I am going to try my best not to laugh at HTML5, I read a little while ago that someone was going to create HTML5 as a “representation of the type of code that is currently on the web” (sorry can’t find the site where I read that from - so no reference, you are just going to have to trust me on that approximate quote). And so now there is an HTML Working Draft on the W3C website: Available here (http://www.w3.org/html/wg/html5/).

Near the beginning of the document (a section called relationship) they say:

[XHTML2] lacks elements to express the semantics of many of the non-document types of content often seen on the Web. For instance, forum sites, auction sites, search engines, online shops, and the like, do not fit the document metaphor well, and are not covered by XHTML2.

Which I refuse to believe as XHTML 2 is made to be able to handle “modules”, and it is based on XML and therefore can be extended… not to mention being able to handle RDFa and microformats.

The next thing I would like to quote from the Working Draft is:

The second concrete syntax uses XML, and is known as “XHTML5″. When a document is transmitted with an XML MIME type, such as application/xhtml+xml, then it is processed by an XML processor by Web browsers, and treated as an “XHTML5″ document. Generally speaking, authors are discouraged from trying to use XML on the Web, because XML has much stricter syntax rules than the “HTML5″ variant described above, and is relatively newer and therefore less mature.

  • First thing: XHTML5 is invented in the same draft, and in the same paragraph it says XHTML5 shouldn’t be used.
  • Second thing: ok what about XHTML 3 and 4… I think I missed them
  • Third thing: It is a good thing that XMLs structure is strict, it means that it can be handled with some good tools such as XPath and XSLT.
  • Fourth thing: SGML became a W3C activity in 1995 (but was created in the 80s). XML became a project in 1996 and 1997, and it was based on SGML. In my eyes there is a natural progression: IBMs GML -> SGML -> XML… just like HTML -> XHTML

Some of the things they put in the document are so strange, especially as one of the authors is from Google and the other is from the Safari/WebKit team at Apple! I thought both of these teams would prefer the ease of handling an XML based solution, especially when it comes to search engines (come on Google, you should know better).

The XHTML2 document seems to be backed by a lot more people than the HTML5 working draft, and I hope that it stays that way. However, saying that, I would accept HTML5 if it did actually become standard (in its XML form anyway).

Technorati Tags: , , , ,

3 Responses to “HTML5 - My opinion on it”

  1. daniel Says:

    Just thought as an additional comment:
    Maybe I should submit a working draft of an RDF form of HTML… here comes RDHTML (Resource Description HyperText Markup Language), HTML in RDF triples!

    (If anyone seriously wants to do this, then I would be willing to help…. but for now RDFa satisfies my needs for semantic hypertext)

  2. Ian Hickson Says:

    Hello! I’m the editor of the HTML5 spec.

    Regarding XHTML2: It’s true that XHTML2 can be extended, the HTML5 draft is just talking about the default set of semantics you get from implementing just the XHTML2 spec with no extensions.

    Regarding XML: You’re right, we probably shouldn’t be dissing XML in the spec. It’s one of our open issues, I imagine we’ll change the wording in due course.

    If you have any other feedback on other parts of the draft, please don’t hesitate to send them in! You can either e-mail me directly (ian@hixie.ch) or if you prefer you can post to the public-html@w3.org list or the whatwg@whatwg.org list (you’ll have to subscribe though, instructions on the latter are at http://whatwg.org/mailing-list but I’m not sure about the W3C list, check the WHATWG blog from a few months ago for some instructions).

    Thanks!

  3. Thinking about HTML5 a bit more Says:

    […] Some of you readers may remember me making a post about HTML5 - its available here […]

Leave a Reply