Commit Graph

2398 Commits

Author SHA1 Message Date
Rhodri James
e881a0451f Fix test_entity_public_utf16_le() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
d7f2f4413a Fix test_entity_public_utf16_be() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
a33f36ca15 Fix test_entity_in_utf16_le_attr() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
3d96ba9b56 Fix test_entity_in_utf16_be_attr() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
8780995416 Fix test_utf16_pe() to work for UTF-16 builds of the library 2017-08-29 23:13:15 +02:00
Rhodri James
ff46a1997c Fix accumulate_entity_decl() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
a7a416089d Fix test_utf16_second_attr() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
ea71c5d57c Fix test_utf16_attribute() to work in UTF-16 builds 2017-08-29 23:13:15 +02:00
Rhodri James
b376732a00 Fix test_trailing_spaces_in_elements() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
9ea45fc6b0 Fix record_element_end_handler() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
f7434bd86e Fix test_utf8_in_cdata_section_2() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
a507812d34 Fix test_long_ascii_attribute() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
e5dc7c4a3f Fix test_long_latin1_attribute() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
7f7e165927 Fix test_utf8_in_cdata_section() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
08005e3522 Fix test_ext_entity_utf8_non_bom() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
fc02e094d3 Fix test_ext_entity_utf16_le() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
12604cfc38 Fix test_ext_entity_utf16_be() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
e08a81045c Fix test_ext_entity_latin1_utf16be_bom2() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
ae47db8288 Fix test_ext_entity_latin1_utf16le_bom2() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
a8e9d79fd3 Fix test_ext_entity_latin1_utf16be_bom() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
3efdc8cab4 Fix test_ext_entity_latin1_utf16le_bom() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
8f6c90dc72 Fix test_unknown_ascii_encoding_ok() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
87742dee07 Fix test_unknown_encoding_long_name_2() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
435ab90b4b Fix test_unknown_encoding_long_name_1() to work for UTF-16 2017-08-29 23:13:14 +02:00
Rhodri James
850303a73b Fix MiscEncodingHandler() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
dd38e6207d Fix up UTF-16 comment tests to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
127e33f8d5 Fix up accumulate_pi_characters() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
432c39b746 Fix test_comment_handled_in_default() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
1054ffe229 Fix test_pi_handled_in_default() to work in UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
fc961e6e34 Fix test_param_entity_with_trailing_cr() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
36dee6ce5a Fix test_suspend_resume_parameter_entity() to work in UTF-16 2017-08-29 23:13:14 +02:00
Rhodri James
c1641bcc88 Fix test_suspend_resume_internal_entity() to work for UTF-16 2017-08-29 23:13:14 +02:00
Rhodri James
ec1c5c29a9 Fix start_element_suspender() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
895f150166 Fix up selective_aborting_default_handler() for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
21ed018487 Fix external_entity_devaluer() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
f51e70d019 Fix external_entity_public() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
fe930e74ea Fix test_nested_groups() to work with UTF-16 2017-08-29 23:13:14 +02:00
Rhodri James
7e726dc386 Fix record_element_start_handler() to use XML_Char correctly 2017-08-29 23:13:14 +02:00
Rhodri James
a6add43ad2 Fix test_predefined_entity_redefinition() to work for UTF-16 2017-08-29 23:13:14 +02:00
Rhodri James
907e4cc32b Fix test_attribute_enum_value() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
d024ce6e8f Fix external_entity_value_aborter() to work for UTF-16 builds 2017-08-29 23:13:14 +02:00
Rhodri James
5d83ea1bcb Fix external_entity_not_standalone() to work for UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
d23efea089 Fix external_entity_valuer() to work for UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
c9f258d842 Fix external_entity_param() to work for UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
2a08a268b6 Fix test_ignore_section_utf16_be() for UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
0c17e937fd Fix test_ignore_section_utf16() for UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
7de6b0ce61 Fix test_ignore_section() to work correctly for UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
ace7e46246 Fix test_predefined_entities() to work correctly with UTF-16 builds 2017-08-29 23:13:13 +02:00
Rhodri James
70d19d635a Remove speculative test from byte_character_handler().
byte_character_handler() used to test that the string pointer `s`
passed to it was at the correct offset ino the input buffer.  This
is not guaranteed to be the case, and definitely won't be the case
if the input encoding has a different minimum bytes-per-character
to the internal encoding.
2017-08-29 23:13:13 +02:00
Rhodri James
bd93a149d2 Fix external_entity_good_cdata_ascii() to work with UTF-16 builds 2017-08-29 23:13:13 +02:00