[imps] Is it me or an error in the current draft?

Ian Hickson ian at hixie.ch
Fri Mar 7 18:13:50 PST 2008


On Sat, 8 Mar 2008, Thomas Broyer wrote:
>
> Is it me or the 29th test from tree-construction/tests6.dat causes an 
> endless loop?

There was a bug in the spec. Fixed.

However, it shouldn't cause an endless loop. It should have just resulted 
in the parser hanging waiting for more tokens after receiving the end-fo- 
file token.


> For the record, the test is:
> #data
> foo<col>
> #errors
> Line: 1 Col: 3 Unexpected end tag (colgroup). Ignored.
> #document-fragment
> colgroup

The test is (now) wrong. However, a bunch of more tests should be added to 
cover cases of this nature (i.e. all the things I just checked in should 
have tests written for them to make sure they are all giving the right 
behaviour and number of errors).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the Implementors mailing list