W3C home > Mailing lists > Public > public-html@w3.org > March 2010

Re: Bug 7034

From: Jirka Kosek <jirka@kosek.cz>
Date: Fri, 26 Mar 2010 12:57:52 +0100
Message-ID: <4BACA140.7090205@kosek.cz>
To: Henri Sivonen <hsivonen@iki.fi>
CC: HTMLwg WG <public-html@w3.org>
Henri Sivonen wrote:

> It's not clear that the validity definition is the right place to address the case where the author wants to avoid cruft to make the markup maintainable. I definitely want to have tools that help with that case, though.

I think that such cases are best served by custom Schematron schema
defining additional constraints on top of the normal HTML5 validator. In
Schematron you can very easily prohibit or mandate presence of
elements/attributes.

Maybe validator.nu could provide interface for specifying such custom
additional schemas and even can provide few predefined ones like: "ban
all presentational stuff", "ban HTML5 elements/attributes not supported
in browser X, version Y", ...

				Jirka

-- 
------------------------------------------------------------------
  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 Friday, 26 March 2010 11:58:40 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:00 UTC