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

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

From: Henri Sivonen <hsivonen@iki.fi>
Date: Mon, 18 Apr 2005 11:57:39 +0300
Message-ID: <e10a4a018218b639f2ce766d588a4d7c@iki.fi>
On Apr 17, 2005, at 05:11, fantasai wrote:

> I agree that syntax-checking for xHTML5 documents should be implemented
> with RelaxNG rather than DTDs. However, iirc, RelaxNG can't be used on
> regular HTML. One could create a toolchain that converts HTML to xHTML
> and then runs it through RelaxNG, but I wouldn't be surprised if the
> converter needed a DTD for the SGML->XML conversion to work...

What I had in mind was a parser that implements (hard-coded without a 
DTD) the minimal tag inference required for the HTML flavor and then 
feeds SAX events to Jing as if the parser was an XML parser parsing an 
equivalent XHTML flavor document.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/
Received on Monday, 18 April 2005 01:57:39 UTC

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