Compliance cases

These are the 6,835 inputs a submission must decode. Each output must match the expected text byte for byte. You can run the suite without reading it, or open any case to see its input and expected output.

Run the full compliance suite locally. Replace your-component.wasm with your compiled component. Download the suite

curl -fLo unescape_html.comply.wasm https://calculated.world/comply/unescape_html.wasm
qipx comply your-component.wasm --with unescape_html.comply.wasm
Clear

5,931 of 6,835 cases

Case Name Expected Note Size
001504 html5lib/namedEntities/1097 html5lib-tests Ů Named entity: Uring; with a semi-colon 7 B
001505 html5lib/namedEntities/1098 html5lib-tests &Uscr Bad named entity: Uscr without a semi-colon 5 B
001506 html5lib/namedEntities/1099 html5lib-tests 𝒰 Named entity: Uscr; with a semi-colon 6 B
001507 html5lib/namedEntities/1100 html5lib-tests &Utilde Bad named entity: Utilde without a semi-colon 7 B
001508 html5lib/namedEntities/1101 html5lib-tests Ũ Named entity: Utilde; with a semi-colon 8 B
001509 html5lib/namedEntities/1102 html5lib-tests Ü Named entity: Uuml without a semi-colon 5 B
001510 html5lib/namedEntities/1103 html5lib-tests Ü Named entity: Uuml; with a semi-colon 6 B
001511 html5lib/namedEntities/1104 html5lib-tests &VDash Bad named entity: VDash without a semi-colon 6 B
001512 html5lib/namedEntities/1105 html5lib-tests ⊫ Named entity: VDash; with a semi-colon 7 B
001513 html5lib/namedEntities/1106 html5lib-tests &Vbar Bad named entity: Vbar without a semi-colon 5 B
001514 html5lib/namedEntities/1107 html5lib-tests ⫫ Named entity: Vbar; with a semi-colon 6 B
001515 html5lib/namedEntities/1108 html5lib-tests &Vcy Bad named entity: Vcy without a semi-colon 4 B
001516 html5lib/namedEntities/1109 html5lib-tests В Named entity: Vcy; with a semi-colon 5 B
001517 html5lib/namedEntities/1110 html5lib-tests &Vdash Bad named entity: Vdash without a semi-colon 6 B
001518 html5lib/namedEntities/1111 html5lib-tests ⊩ Named entity: Vdash; with a semi-colon 7 B
001519 html5lib/namedEntities/1112 html5lib-tests &Vdashl Bad named entity: Vdashl without a semi-colon 7 B
001520 html5lib/namedEntities/1113 html5lib-tests ⫦ Named entity: Vdashl; with a semi-colon 8 B
001521 html5lib/namedEntities/1114 html5lib-tests &Vee Bad named entity: Vee without a semi-colon 4 B
001522 html5lib/namedEntities/1115 html5lib-tests ⋁ Named entity: Vee; with a semi-colon 5 B
001523 html5lib/namedEntities/1116 html5lib-tests &Verbar Bad named entity: Verbar without a semi-colon 7 B
001524 html5lib/namedEntities/1117 html5lib-tests ‖ Named entity: Verbar; with a semi-colon 8 B
001525 html5lib/namedEntities/1118 html5lib-tests &Vert Bad named entity: Vert without a semi-colon 5 B
001526 html5lib/namedEntities/1119 html5lib-tests ‖ Named entity: Vert; with a semi-colon 6 B
001527 html5lib/namedEntities/1120 html5lib-tests &VerticalBar Bad named entity: VerticalBar without a semi-colon 12 B
001528 html5lib/namedEntities/1121 html5lib-tests ∣ Named entity: VerticalBar; with a semi-colon 13 B
001529 html5lib/namedEntities/1122 html5lib-tests &VerticalLine Bad named entity: VerticalLine without a semi-colon 13 B
001530 html5lib/namedEntities/1123 html5lib-tests | Named entity: VerticalLine; with a semi-colon 14 B
001531 html5lib/namedEntities/1124 html5lib-tests &VerticalSeparator Bad named entity: VerticalSeparator without a semi-colon 18 B
001532 html5lib/namedEntities/1125 html5lib-tests ❘ Named entity: VerticalSeparator; with a semi-colon 19 B
001533 html5lib/namedEntities/1126 html5lib-tests &VerticalTilde Bad named entity: VerticalTilde without a semi-colon 14 B
001534 html5lib/namedEntities/1127 html5lib-tests ≀ Named entity: VerticalTilde; with a semi-colon 15 B
001535 html5lib/namedEntities/1128 html5lib-tests &VeryThinSpace Bad named entity: VeryThinSpace without a semi-colon 14 B
001536 html5lib/namedEntities/1129 html5lib-tests   Named entity: VeryThinSpace; with a semi-colon 15 B
001537 html5lib/namedEntities/1130 html5lib-tests &Vfr Bad named entity: Vfr without a semi-colon 4 B
001538 html5lib/namedEntities/1131 html5lib-tests 𝔙 Named entity: Vfr; with a semi-colon 5 B
001539 html5lib/namedEntities/1132 html5lib-tests &Vopf Bad named entity: Vopf without a semi-colon 5 B
001540 html5lib/namedEntities/1133 html5lib-tests 𝕍 Named entity: Vopf; with a semi-colon 6 B
001541 html5lib/namedEntities/1134 html5lib-tests &Vscr Bad named entity: Vscr without a semi-colon 5 B
001542 html5lib/namedEntities/1135 html5lib-tests 𝒱 Named entity: Vscr; with a semi-colon 6 B
001543 html5lib/namedEntities/1136 html5lib-tests &Vvdash Bad named entity: Vvdash without a semi-colon 7 B
001544 html5lib/namedEntities/1137 html5lib-tests ⊪ Named entity: Vvdash; with a semi-colon 8 B
001545 html5lib/namedEntities/1138 html5lib-tests &Wcirc Bad named entity: Wcirc without a semi-colon 6 B
001546 html5lib/namedEntities/1139 html5lib-tests Ŵ Named entity: Wcirc; with a semi-colon 7 B
001547 html5lib/namedEntities/1140 html5lib-tests &Wedge Bad named entity: Wedge without a semi-colon 6 B
001548 html5lib/namedEntities/1141 html5lib-tests ⋀ Named entity: Wedge; with a semi-colon 7 B
001549 html5lib/namedEntities/1142 html5lib-tests &Wfr Bad named entity: Wfr without a semi-colon 4 B
001550 html5lib/namedEntities/1143 html5lib-tests 𝔚 Named entity: Wfr; with a semi-colon 5 B
001551 html5lib/namedEntities/1144 html5lib-tests &Wopf Bad named entity: Wopf without a semi-colon 5 B
001552 html5lib/namedEntities/1145 html5lib-tests 𝕎 Named entity: Wopf; with a semi-colon 6 B
001553 html5lib/namedEntities/1146 html5lib-tests &Wscr Bad named entity: Wscr without a semi-colon 5 B

Where these rules come from

Expected outputs come from Python’s html.unescape, changed to keep references to controls and noncharacters the way the WHATWG tokenizer does.