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

[whatwg] HTML5 Parsing spec first draft ready

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 15 Feb 2006 23:02:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0602152300350.28514@dhalsim.dreamhost.com>
On Wed, 15 Feb 2006, Dan Brickley wrote:
>
> Have you considered defining the parser behaviour in terms of XML 
> concepts?

What would that mean?

Could you give an example of what that would look like?


> If you do get to the test suite stage, there'll be need for some 
> concrete syntax presumably, to express test outputs in?

The output of the parser is a DOM, so the natural form to use as an output 
concrete syntax is simply a serialised DOM (e.g. an XML file).


> 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"...

I'm with you up to the step where the output is XML, but I fail to see how 
the next step is something WHATWG would be interested in. Could you expand 
on this?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 15 February 2006 15:02:40 UTC

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