Fold XML attribute whitespace.

This commit is contained in:
Jeroen van Rijn
2024-06-12 13:30:00 +02:00
parent ebadff555d
commit 2fe961cbcd
3 changed files with 47 additions and 11 deletions
@@ -146,6 +146,20 @@ xml_test_entities_unbox_decode :: proc(t: ^testing.T) {
})
}
@(test)
xml_test_attribute_whitespace :: proc(t: ^testing.T) {
run_test(t, {
// Same as above.
// Unbox CDATA in data tag.
filename = "XML/attribute-whitespace.xml",
options = {
flags = {},
expected_doctype = "foozle",
},
crc32 = 0x8f5fd6c1,
})
}
@(test)
xml_test_invalid_doctype :: proc(t: ^testing.T) {
run_test(t, {