..9 StartTag ''
61 CData '"0" && value<"10" ?"valid":"error"]]>'
71 EndTag ''
71 EndOfStream ''
.15 Decl ''
16 RawData '\n'
22 StartTag ''
25 RawData '\n '
41 Comment ''
45 RawData '\n\n '
51 StartTag '
'
56 RawData '\n '
63 StartTag ''
76 RawData 'Pulp Testdata'
84 EndTag ''
88 RawData '\n\n '
95 EndTag ''
99 RawData '\n\n '
105 StartTag ''
111 RawData '\n\n '
166 Comment ''
172 RawData '\n\n '
197 Processing '\n directive\n ?>'
203 RawData '\n\n '
206 StartTag ''
213 RawData '\n '
229 StartTag ''
236 RawData 'my span'
243 EndTag ''
250 RawData '\n '
285 StartTag ''
289 RawData 'Link'
293 EndTag ''
301 RawData '\n\n '
322 StartTag ''
326 RawData 'Link'
330 EndTag ''
338 RawData '\n\n '
370 StartTag ''
374 RawData 'Link'
378 EndTag ''
384 RawData '\n\n '
388 EndTag '
'
394 RawData '\n\n '
413 StartTag ''
425 RawData '\n this '
430 CharEntity '&'
445 RawData ' that and mu = '
453 HexChar 'μ'
458 RawData '\n '
462 EndTag '
'
468 RawData '\n\n '
471 StartTag ''
478 RawData '\n '
482 CharEntity '<'
491 RawData 'not a tag'
495 CharEntity '>'
500 RawData '\n '
504 EndTag '
'
510 RawData '\n\n '
513 StartTag ''
530 RawData '\n line break'
535 StartEndTag '
'
552 RawData '\n line break'
557 StartEndTag '
'
562 RawData '\n '
566 EndTag '
'
572 RawData '\n\n '
577 StartTag ''
610 StartTag ''
685 RawData '$ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n '
692 EndTag '
'
698 EndTag '
'
704 RawData '\n\n '
709 StartEndTag '
'
713 RawData '\n\n '
720 EndTag ''
721 RawData '\n'
728 EndTag ''
729 RawData '\n'
729 EndOfStream ''
.12 RawData '\n hi '
50 Comment ''
55 StartEndTag '
'
55 EndOfStream ''
.6 CharEntity '&ent1;'
8 RawData ', '
14 CharEntity '&ent2;'
15 RawData '!'
15 EndOfStream ''
..3 RawData 'hi '
12 Processing ' err ?>'
12 EndOfStream ''
..12 RawData '\n hi '
27 StartTag ''
96 RawData '\n '
96 EndOfStream ''
.3 RawData 'hi '
18 StartTag ''
33 EndOfStream ''
.3 StartTag ''
5 RawData 'hi'
9 EndTag ''
9 EndOfStream ''
3 StartTag ''
11 StartTag ''
27 EndTag ''
27 EndOfStream ''
....slices [('disabled', 16, 16)]
all [('double', ''), ('single', ''), ('empty', 'value'), ('missing', '')]
slices [('double', 11, 11), ('single', 21, 21), ('empty', 30, 35), ('missing', 43, 43)]
..
tag = 'a'
0 'a'
tag = 'a'
0 'a'
1 'novalue'
4 ''
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 22 tests in 0.003s
OK
1
2
3
4
'"0" && value<"10" ?"valid":"error"]]>'
'\n\n \n\n \n Pulp Testdata\n\n \n\n \n\n \n\n \n directive\n ?>\n\n \n my span\n Link\n\n Link\n\n Link\n\n
\n\n \n this & that and mu = μ\n
\n\n \n <not a tag>\n
\n\n \n line break
\n line break
\n
\n\n $ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n
\n\n
\n\n \n\n'
'\n hi
'
'&ent1;, &ent2;!'
(LexError '&')
(LexError '&')
(LexError '')
(LexError '< b')
(LexError '