W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2013

Re: [whatwg] HTML5 Tokenizer Test Cases and Correct Output

From: James Graham <jgraham@opera.com>
Date: Thu, 28 Mar 2013 13:03:42 +0100
Message-ID: <5154319E.2080104@opera.com>
To: whatwg@lists.whatwg.org
On 03/28/2013 12:06 PM, Mohammad Al Houssami (Alumni) wrote:
> Hello everyone.
>
> I was wondering if there is some sort of tests for the Tokenizer along with the correct output of tokens as well as a way of representing tokens.
> What I have in mind is running the tokenizer on some HTML input and printing the tokens in the same way the correct output is written.
> I will  then be comparing the result I have with the correct one provided character by character. :)
>
http://code.google.com/p/html5lib/source/browse/#hg%2Ftestdata%2Ftokenizer

http://wiki.whatwg.org/wiki/Parser_tests has some documentation of the 
format.
Received on Thursday, 28 March 2013 12:04:09 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 28 March 2013 12:04:09 UTC