.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 '
392 Comment ''
399 RawData '\n '
418 StartTag ''
422 RawData 'Link'
426 EndTag ''
434 RawData '\n\n '
466 StartTag ''
470 RawData 'Link'
474 EndTag ''
480 RawData '\n\n '
484 EndTag '
'
490 RawData '\n\n '
509 StartTag ''
521 RawData '\n this '
526 CharEntity '&'
541 RawData ' that and mu = '
549 HexChar 'μ'
554 RawData '\n '
558 EndTag '
'
564 RawData '\n\n '
567 StartTag ''
574 RawData '\n '
578 CharEntity '<'
587 RawData 'not a tag'
591 CharEntity '>'
596 RawData '\n '
600 EndTag '
'
606 RawData '\n\n '
609 StartTag ''
626 RawData '\n line break'
631 StartEndTag '
'
648 RawData '\n line break'
653 StartEndTag '
'
658 RawData '\n '
662 EndTag '
'
668 RawData '\n\n '
673 StartTag ''
706 StartTag ''
781 RawData '$ echo one\none\nbash$ echo two\ntwo\n~/git/oilshell/oil$ echo three\nthree\n '
788 EndTag '
'
794 EndTag '
'
800 RawData '\n\n '
805 StartEndTag '
'
809 RawData '\n\n '
816 EndTag ''
817 RawData '\n'
824 EndTag ''
825 RawData '\n'
825 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 ''
...
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 18 tests in 0.002s
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 \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 '