W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2006

[whatwg] HTML5 Parsing spec first draft ready

From: Dan Brickley <danbri@danbri.org>
Date: Wed, 15 Feb 2006 17:56:23 -0500
Message-ID: <20060215225623.GD2167@postdiluvian.org>
+cc: Dan Connolly

* Ian Hickson <ian at hixie.ch> [2006-02-14 18:41+0000]
> On Mon, 13 Feb 2006, Dan Brickley wrote:
> > 
> > Any plans for a test suite? eg. pairs of input files and normalised 
> > output? (if that makes sense...).
> 
> I'd strongly recommend people put off creating a test suite until the spec 
> is in more than a "first draft", but yes, on the long term this is 
> something we should definitely do.

Yup, I appreciate it's early days.

Discussing some related work (GRDDL) in the W3C SemWeb CG, I was
wondering whether there is any way your parser spec could be 
specified as input for a GRDDL transform. GRDDL provides techniques for
transforming XML-based languages (including XHTML) into an RDF
representation; typically by reference to an XSLT. If the WHATWG 
parser spec defined itself in terms of some XML-shaped output, the two
should chain nicely together. Have you considered defining the parser
behaviour in terms of XML concepts? If you do get to the test suite
stage, there'll be need for some concrete syntax presumably, to express
test outputs in? GRDDL could then say "for HTML-ish bytestreams, 
feed them to the WHATWG algorithm to get XML, and feed that XML to 
normal GRDDL algorithm to get RDF"... 

Dan
Received on Wednesday, 15 February 2006 14:56:23 UTC

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