mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-24 23:56:49 +03:00
370da47fa0
git-svn-id: svn://kolibrios.org@3584 a494cfbc-eb01-0410-851d-a64ba20cac60
34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
{"tests": [
|
|
|
|
{"description":"Commented close tag in [R]CDATA",
|
|
"contentModelFlags":["RCDATA", "CDATA"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo<!--</xmp>--></xmp>",
|
|
"output":[["Character", "foo<!--</xmp>-->"], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"Bogus comment in [R]CDATA",
|
|
"contentModelFlags":["RCDATA", "CDATA"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo<!-->baz</xmp>",
|
|
"output":[["Character", "foo<!-->baz"], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"End tag surrounded by bogus comment in [R]CDATA",
|
|
"contentModelFlags":["RCDATA", "CDATA"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo<!--></xmp><!-->baz</xmp>",
|
|
"output":[["Character", "foo<!-->"], ["EndTag", "xmp"], "ParseError", ["Comment", ""], ["Character", "baz"], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"Commented entities in RCDATA",
|
|
"contentModelFlags":["RCDATA"],
|
|
"lastStartTag":"xmp",
|
|
"input":" & <!-- & --> & </xmp>",
|
|
"output":[["Character", " & <!-- & --> & "], ["EndTag", "xmp"]]},
|
|
|
|
{"description":"Incorrect comment ending sequences in [R]CDATA",
|
|
"contentModelFlags":["RCDATA", "CDATA"],
|
|
"lastStartTag":"xmp",
|
|
"input":"foo<!-- x --x>x-- >x--!>x--<></xmp>",
|
|
"output":[["Character", "foo<!-- x --x>x-- >x--!>x--<></xmp>"]]}
|
|
|
|
]}
|