9 StartTag
61 CData
71 EndTag
71 EndOfStream
..12 RawData
50 Comment
55 StartEndTag
55 EndOfStream
.6 CharEntity
8 RawData
14 CharEntity
15 RawData
15 EndOfStream
..3 RawData
12 Processing
12 EndOfStream
..12 RawData
27 StartTag
78 HtmlCData
87 EndTag
96 RawData
96 EndOfStream
.3 StartTag
5 RawData
9 EndTag
9 EndOfStream
...
tag = 'a'
0 'a'
tag = 'a'
0 'a'
1 'novalue'
tag = 'a'
0 'a'
1 'href'
3 'double quoted'
tag = 'a'
0 'a'
1 'href'
2 'foo'
1 'class'
3 'bar'
tag = 'a'
0 'a'
1 'href'
2 'foo'
1 'class'
3 'bar'
..
----------------------------------------------------------------------
Ran 13 tests in 0.001s
OK
'"0" && value<"10" ?"valid":"error"]]>'
0
13
7
13
1
13
7
13
7
13
9
13
9
13
7
13
1
13
3
13
7
13
7
13
9
13
7
13
9
13
7
13
9
13
1
13
7
13
9
13
7
13
9
13
9
13
7
13
12
13
11
13
9
13
7
13
12
13
12
13
9
13
7
13
8
13
8
13
9
13
7
7
13
9
9
13
8
13
9
13
9
13
16
'\n hi
'
'&ent1;, &ent2;!'
(LexError '&')
(LexError '&')
(LexError '')
(LexError '< b')
(LexError '