[Imps] Character token coalescing in tokenizer tests

James Graham jg307 at cam.ac.uk
Fri Jun 15 06:47:49 PDT 2007


Henri Sivonen wrote:
>> {"description":"Ampersand, number sign",
>> "input":"&#",
>> "output":["ParseError", ["Character", "&"], ["Character", "#"]]},
>>
>> {"description":"Unfinished numeric entity",
>> "input":"&#x",
>> "output":["ParseError", ["Character", "&#x"]]},
> 
> Would it work for html5lib if consistent coalescing was used in the  
> test format? That is, could the first of these two changed to
> {"description":"Ampersand, number sign",
> "input":"&#",
> "output":["ParseError", ["Character", "&#"]]},
> ?
> 

Yes.

-- 
"Eternity's a terrible thought. I mean, where's it all going to end?"
  -- Tom Stoppard, Rosencrantz and Guildenstern are Dead



More information about the Implementors mailing list