Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3584 | sourcerer | 1 | {"tests": [ |
2 | |||
3 | {"description":"Commented close tag in [R]CDATA", |
||
4 | "contentModelFlags":["RCDATA", "CDATA"], |
||
5 | "lastStartTag":"xmp", |
||
6 | "input":"foo", |
||
7 | "output":[["Character", "foo"], ["EndTag", "xmp"]]}, |
||
8 | |||
9 | {"description":"Bogus comment in [R]CDATA", |
||
10 | "contentModelFlags":["RCDATA", "CDATA"], |
||
11 | "lastStartTag":"xmp", |
||
12 | "input":"foobaz", |
||
13 | "output":[["Character", "foobaz"], ["EndTag", "xmp"]]}, |
||
14 | |||
15 | {"description":"End tag surrounded by bogus comment in [R]CDATA", |
||
16 | "contentModelFlags":["RCDATA", "CDATA"], |
||
17 | "lastStartTag":"xmp", |
||
18 | "input":"foobaz", |
||
19 | "output":[["Character", "foo"], ["EndTag", "xmp"], "ParseError", ["Comment", ""], ["Character", "baz"], ["EndTag", "xmp"]]}, |
||
20 | |||
21 | {"description":"Commented entities in RCDATA", |
||
22 | "contentModelFlags":["RCDATA"], |
||
23 | "lastStartTag":"xmp", |
||
24 | "input":" & & ", |
||
25 | "output":[["Character", " & & "], ["EndTag", "xmp"]]}, |
||
26 | |||
27 | {"description":"Incorrect comment ending sequences in [R]CDATA", |
||
28 | "contentModelFlags":["RCDATA", "CDATA"], |
||
29 | "lastStartTag":"xmp", |
||
30 | "input":"foox--<>", |
||
31 | "output":[["Character", "foox--<>"]]} |
||
32 | |||
33 | ]}>!-->>!-->!-->!-->!-->!-->!-->!-->!-->!--!-- |