[imps] Problem with the tree-construction test cases and implied body

Henri Sivonen hsivonen at iki.fi
Tue Sep 11 03:34:07 PDT 2007


On Sep 11, 2007, at 13:24, Thomas Broyer wrote:

> Well, having separate phases and insertion modes allows for switching
> from any phase back to the main phase without loosing the insertion
> mode (for instance, I implemented the "general CDATA/RCDATA parsing
> algorithm" as an additional phase) and without having to deal with
> storing the "phase where you were in when were switched to the XXX
> phase", which doesn't make the specification easier to read (YMMV).

I agree with Anne. I also flattened phases and modes and introduced a  
variable for remembering the phase the tree builder was in before  
switching to trailing end.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the Implementors mailing list