W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2005

[whatwg] [html5] tags, elements and generated DOM

From: Henri Sivonen <hsivonen@iki.fi>
Date: Fri, 8 Apr 2005 10:29:52 +0300
Message-ID: <32130a61ba34c8ada9f4a431d879bdef@iki.fi>
On Apr 8, 2005, at 09:23, Lachlan Hunt wrote:

> If I ever get around to writing any form of conformance checker, true 
> SGML validation (most likely using OpenSP) or XML validation (probably 
> using Xerces or other XML parser) is at the top of my list.

If I ever got around to it, DTD validation wouldn't be my approach. I'd 
use Jing with Relax NG and a hand-written SAX filter for checking what 
Jing cannot check. (text/html could be handled by substituting a parser 
that inferred optional tags and appeared to the app as a parser parsing 
XHTML--like TagSoup without error recovery.)

> | 1. Criteria that can be expressed in a DTD.
>
> validation is a critical part of conformance checking.

You could check the same criteria either manually or using Relax NG. 
Using DTDs is not required.

> If CMSs are ever going to enforce strinctly conformant code, then DTD 
> validation will be a core component of that process.

Why bother with DTDs now that Relax NG exists?

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Friday, 8 April 2005 00:29:52 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:22 UTC