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
001554 html5lib/namedEntities/1147 html5lib-tests 𝒲 Named entity: Wscr; with a semi-colon 6 B
001555 html5lib/namedEntities/1148 html5lib-tests &Xfr Bad named entity: Xfr without a semi-colon 4 B
001556 html5lib/namedEntities/1149 html5lib-tests 𝔛 Named entity: Xfr; with a semi-colon 5 B
001557 html5lib/namedEntities/1150 html5lib-tests &Xi Bad named entity: Xi without a semi-colon 3 B
001558 html5lib/namedEntities/1151 html5lib-tests Ξ Named entity: Xi; with a semi-colon 4 B
001559 html5lib/namedEntities/1152 html5lib-tests &Xopf Bad named entity: Xopf without a semi-colon 5 B
001560 html5lib/namedEntities/1153 html5lib-tests 𝕏 Named entity: Xopf; with a semi-colon 6 B
001561 html5lib/namedEntities/1154 html5lib-tests &Xscr Bad named entity: Xscr without a semi-colon 5 B
001562 html5lib/namedEntities/1155 html5lib-tests 𝒳 Named entity: Xscr; with a semi-colon 6 B
001563 html5lib/namedEntities/1156 html5lib-tests &YAcy Bad named entity: YAcy without a semi-colon 5 B
001564 html5lib/namedEntities/1157 html5lib-tests Я Named entity: YAcy; with a semi-colon 6 B
001565 html5lib/namedEntities/1158 html5lib-tests &YIcy Bad named entity: YIcy without a semi-colon 5 B
001566 html5lib/namedEntities/1159 html5lib-tests Ї Named entity: YIcy; with a semi-colon 6 B
001567 html5lib/namedEntities/1160 html5lib-tests &YUcy Bad named entity: YUcy without a semi-colon 5 B
001568 html5lib/namedEntities/1161 html5lib-tests Ю Named entity: YUcy; with a semi-colon 6 B
001569 html5lib/namedEntities/1162 html5lib-tests Ý Named entity: Yacute without a semi-colon 7 B
001570 html5lib/namedEntities/1163 html5lib-tests Ý Named entity: Yacute; with a semi-colon 8 B
001571 html5lib/namedEntities/1164 html5lib-tests &Ycirc Bad named entity: Ycirc without a semi-colon 6 B
001572 html5lib/namedEntities/1165 html5lib-tests Ŷ Named entity: Ycirc; with a semi-colon 7 B
001573 html5lib/namedEntities/1166 html5lib-tests &Ycy Bad named entity: Ycy without a semi-colon 4 B
001574 html5lib/namedEntities/1167 html5lib-tests Ы Named entity: Ycy; with a semi-colon 5 B
001575 html5lib/namedEntities/1168 html5lib-tests &Yfr Bad named entity: Yfr without a semi-colon 4 B
001576 html5lib/namedEntities/1169 html5lib-tests 𝔜 Named entity: Yfr; with a semi-colon 5 B
001577 html5lib/namedEntities/1170 html5lib-tests &Yopf Bad named entity: Yopf without a semi-colon 5 B
001578 html5lib/namedEntities/1171 html5lib-tests 𝕐 Named entity: Yopf; with a semi-colon 6 B
001579 html5lib/namedEntities/1172 html5lib-tests &Yscr Bad named entity: Yscr without a semi-colon 5 B
001580 html5lib/namedEntities/1173 html5lib-tests 𝒴 Named entity: Yscr; with a semi-colon 6 B
001581 html5lib/namedEntities/1174 html5lib-tests &Yuml Bad named entity: Yuml without a semi-colon 5 B
001582 html5lib/namedEntities/1175 html5lib-tests Ÿ Named entity: Yuml; with a semi-colon 6 B
001583 html5lib/namedEntities/1176 html5lib-tests &ZHcy Bad named entity: ZHcy without a semi-colon 5 B
001584 html5lib/namedEntities/1177 html5lib-tests Ж Named entity: ZHcy; with a semi-colon 6 B
001585 html5lib/namedEntities/1178 html5lib-tests &Zacute Bad named entity: Zacute without a semi-colon 7 B
001586 html5lib/namedEntities/1179 html5lib-tests Ź Named entity: Zacute; with a semi-colon 8 B
001587 html5lib/namedEntities/1180 html5lib-tests &Zcaron Bad named entity: Zcaron without a semi-colon 7 B
001588 html5lib/namedEntities/1181 html5lib-tests Ž Named entity: Zcaron; with a semi-colon 8 B
001589 html5lib/namedEntities/1182 html5lib-tests &Zcy Bad named entity: Zcy without a semi-colon 4 B
001590 html5lib/namedEntities/1183 html5lib-tests З Named entity: Zcy; with a semi-colon 5 B
001591 html5lib/namedEntities/1184 html5lib-tests &Zdot Bad named entity: Zdot without a semi-colon 5 B
001592 html5lib/namedEntities/1185 html5lib-tests Ż Named entity: Zdot; with a semi-colon 6 B
001593 html5lib/namedEntities/1186 html5lib-tests &ZeroWidthSpace Bad named entity: ZeroWidthSpace without a semi-colon 15 B
001594 html5lib/namedEntities/1187 html5lib-tests ⟨U+200B⟩ Named entity: ZeroWidthSpace; with a semi-colon 16 B
001595 html5lib/namedEntities/1188 html5lib-tests &Zeta Bad named entity: Zeta without a semi-colon 5 B
001596 html5lib/namedEntities/1189 html5lib-tests Ζ Named entity: Zeta; with a semi-colon 6 B
001597 html5lib/namedEntities/1190 html5lib-tests &Zfr Bad named entity: Zfr without a semi-colon 4 B
001598 html5lib/namedEntities/1191 html5lib-tests ℨ Named entity: Zfr; with a semi-colon 5 B
001599 html5lib/namedEntities/1192 html5lib-tests &Zopf Bad named entity: Zopf without a semi-colon 5 B
001600 html5lib/namedEntities/1193 html5lib-tests ℤ Named entity: Zopf; with a semi-colon 6 B
001601 html5lib/namedEntities/1194 html5lib-tests &Zscr Bad named entity: Zscr without a semi-colon 5 B
001602 html5lib/namedEntities/1195 html5lib-tests 𝒵 Named entity: Zscr; with a semi-colon 6 B
001603 html5lib/namedEntities/1196 html5lib-tests á Named entity: aacute without a semi-colon 7 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.