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

Henri Sivonen hsivonen at iki.fi
Mon Apr 18 01:57:39 PDT 2005


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/




More information about the whatwg mailing list