[whatwg] HTML5 Parsing spec first draft ready
Ian Hickson
ian at hixie.ch
Wed Feb 15 15:02:40 PST 2006
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list