W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > April 2012

Re: Practical question: elements or attributes?

From: Jirka Kosek <jirka@kosek.cz>
Date: Wed, 18 Apr 2012 10:55:01 +0200
Message-ID: <4F8E8165.4090408@kosek.cz>
To: Arle Lommel <arle.lommel@gmail.com>
CC: David Lewis <dave.lewis@cs.tcd.ie>, Multilingual Web LT Public List <public-multilingualweb-lt@w3.org>
On 18.4.2012 10:47, Arle Lommel wrote:
> One other note: Since HTML5 is not XML and cannot take advantage of XSD 1.1 capabilities, even if XSD 1.1 can define the kinds of controls we need, will we have a way to impose them in the HTML5 representation? (I sincerely hope the correct answer is “Arle, the answer to this question is well-known to everyone with a brain, so you obviously lack one, and therefore please leave us alone about such things.”)

HTML5 spec doesn't contain any formal definition of content models
similar to XML schema, but validators are implemented on top of RELAX NG
validation, see: http://about.validator.nu/

Practically in order to customize validator.nu to support our ITS
attributes we (OK, *I*) will create one relatively straightforward RELAX
NG schema defining just its-* attributes and allowing them on any HTML

Hope this makes you day better for your brain and body :-)


  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member

Received on Wednesday, 18 April 2012 08:55:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:31:43 UTC