]> granicus.if.org Git - libexpat/log
libexpat
7 years agoFix test_misc_utf16le() to work in UTF-16 builds
Rhodri James [Wed, 23 Aug 2017 10:06:43 +0000 (11:06 +0100)]
Fix test_misc_utf16le() to work in UTF-16 builds

7 years agoFix test_misc_attribute_leak() to work in UTF-16 builds
Rhodri James [Thu, 24 Aug 2017 12:06:29 +0000 (13:06 +0100)]
Fix test_misc_attribute_leak() to work in UTF-16 builds

7 years agoFix test_misc_version() for various XML_UNICODE issues.
Rhodri James [Tue, 22 Aug 2017 18:05:07 +0000 (19:05 +0100)]
Fix test_misc_version() for various XML_UNICODE issues.

7 years agoFix test_misc_alloc_create_parser_with_encoding() to work in UTF-16
Rhodri James [Tue, 22 Aug 2017 17:57:50 +0000 (18:57 +0100)]
Fix test_misc_alloc_create_parser_with_encoding() to work in UTF-16

7 years agoFix test_ns_utf16_doctype() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:46:03 +0000 (18:46 +0100)]
Fix test_ns_utf16_doctype() to work in UTF-16 builds

7 years agoFix test_ns_utf16_element_leafname() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:43:32 +0000 (18:43 +0100)]
Fix test_ns_utf16_element_leafname() to work in UTF-16 builds

7 years agoFix test_ns_utf16_leafname() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:42:28 +0000 (18:42 +0100)]
Fix test_ns_utf16_leafname() to work for UTF-16 builds

7 years agoFix test_ns_unknown_encoding_success() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:41:20 +0000 (18:41 +0100)]
Fix test_ns_unknown_encoding_success() to work in UTF-16 builds

7 years agoFix test_ns_long_element() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:40:13 +0000 (18:40 +0100)]
Fix test_ns_long_element() to work in UTF-16 builds

7 years agoFix test_ns_prefix_with_empty_uri_4() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:38:10 +0000 (18:38 +0100)]
Fix test_ns_prefix_with_empty_uri_4() to work in UTF-16 builds

7 years agoDon't mix character types in namespace overwrite tests
Rhodri James [Tue, 22 Aug 2017 17:26:40 +0000 (18:26 +0100)]
Don't mix character types in namespace overwrite tests

7 years agoFix test_return_ns_triplet() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:22:31 +0000 (18:22 +0100)]
Fix test_return_ns_triplet() to work in UTF-16 builds

7 years agoFix triplet checker functions to use XML_Char correctly
Rhodri James [Tue, 22 Aug 2017 17:18:22 +0000 (18:18 +0100)]
Fix triplet checker functions to use XML_Char correctly

7 years agoFix namespace test setup routine to work properly in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:14:59 +0000 (18:14 +0100)]
Fix namespace test setup routine to work properly in UTF-16 builds

7 years agoFix test_entity_public_utf16_le() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:13:12 +0000 (18:13 +0100)]
Fix test_entity_public_utf16_le() to work in UTF-16 builds

7 years agoFix test_entity_public_utf16_be() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:12:09 +0000 (18:12 +0100)]
Fix test_entity_public_utf16_be() to work in UTF-16 builds

7 years agoFix test_entity_in_utf16_le_attr() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:09:59 +0000 (18:09 +0100)]
Fix test_entity_in_utf16_le_attr() to work in UTF-16 builds

7 years agoFix test_entity_in_utf16_be_attr() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:05:16 +0000 (18:05 +0100)]
Fix test_entity_in_utf16_be_attr() to work in UTF-16 builds

7 years agoFix test_utf16_pe() to work for UTF-16 builds of the library
Rhodri James [Tue, 22 Aug 2017 17:02:22 +0000 (18:02 +0100)]
Fix test_utf16_pe() to work for UTF-16 builds of the library

7 years agoFix accumulate_entity_decl() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 17:00:34 +0000 (18:00 +0100)]
Fix accumulate_entity_decl() to work in UTF-16 builds

7 years agoFix test_utf16_second_attr() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:59:32 +0000 (17:59 +0100)]
Fix test_utf16_second_attr() to work in UTF-16 builds

7 years agoFix test_utf16_attribute() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:58:41 +0000 (17:58 +0100)]
Fix test_utf16_attribute() to work in UTF-16 builds

7 years agoFix test_trailing_spaces_in_elements() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:57:43 +0000 (17:57 +0100)]
Fix test_trailing_spaces_in_elements() to work in UTF-16 builds

7 years agoFix record_element_end_handler() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:56:40 +0000 (17:56 +0100)]
Fix record_element_end_handler() to work for UTF-16 builds

7 years agoFix test_utf8_in_cdata_section_2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:49:32 +0000 (17:49 +0100)]
Fix test_utf8_in_cdata_section_2() to work in UTF-16 builds

7 years agoFix test_long_ascii_attribute() to work in UTF-16 builds
Rhodri James [Thu, 24 Aug 2017 12:01:14 +0000 (13:01 +0100)]
Fix test_long_ascii_attribute() to work in UTF-16 builds

7 years agoFix test_long_latin1_attribute() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:47:06 +0000 (17:47 +0100)]
Fix test_long_latin1_attribute() to work in UTF-16 builds

7 years agoFix test_utf8_in_cdata_section() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:12:58 +0000 (17:12 +0100)]
Fix test_utf8_in_cdata_section() to work in UTF-16 builds

7 years agoFix test_ext_entity_utf8_non_bom() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:07:10 +0000 (17:07 +0100)]
Fix test_ext_entity_utf8_non_bom() to work in UTF-16 builds

7 years agoFix test_ext_entity_utf16_le() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:04:03 +0000 (17:04 +0100)]
Fix test_ext_entity_utf16_le() to work in UTF-16 builds

7 years agoFix test_ext_entity_utf16_be() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 16:02:13 +0000 (17:02 +0100)]
Fix test_ext_entity_utf16_be() to work for UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16be_bom2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:59:55 +0000 (16:59 +0100)]
Fix test_ext_entity_latin1_utf16be_bom2() to work in UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16le_bom2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:57:03 +0000 (16:57 +0100)]
Fix test_ext_entity_latin1_utf16le_bom2() to work in UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16be_bom() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:55:16 +0000 (16:55 +0100)]
Fix test_ext_entity_latin1_utf16be_bom() to work in UTF-16 builds

7 years agoFix test_ext_entity_latin1_utf16le_bom() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:53:19 +0000 (16:53 +0100)]
Fix test_ext_entity_latin1_utf16le_bom() to work in UTF-16 builds

7 years agoFix test_unknown_ascii_encoding_ok() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:35:37 +0000 (16:35 +0100)]
Fix test_unknown_ascii_encoding_ok() to work in UTF-16 builds

7 years agoFix test_unknown_encoding_long_name_2() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:34:36 +0000 (16:34 +0100)]
Fix test_unknown_encoding_long_name_2() to work in UTF-16 builds

7 years agoFix test_unknown_encoding_long_name_1() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 15:33:51 +0000 (16:33 +0100)]
Fix test_unknown_encoding_long_name_1() to work for UTF-16

7 years agoFix MiscEncodingHandler() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:32:03 +0000 (16:32 +0100)]
Fix MiscEncodingHandler() to work in UTF-16 builds

7 years agoFix up UTF-16 comment tests to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:26:02 +0000 (16:26 +0100)]
Fix up UTF-16 comment tests to work in UTF-16 builds

7 years agoFix up accumulate_pi_characters() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:24:40 +0000 (16:24 +0100)]
Fix up accumulate_pi_characters() to work for UTF-16 builds

7 years agoFix test_comment_handled_in_default() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:14:40 +0000 (16:14 +0100)]
Fix test_comment_handled_in_default() to work for UTF-16 builds

7 years agoFix test_pi_handled_in_default() to work in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:13:31 +0000 (16:13 +0100)]
Fix test_pi_handled_in_default() to work in UTF-16 builds

7 years agoFix test_param_entity_with_trailing_cr() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 15:11:17 +0000 (16:11 +0100)]
Fix test_param_entity_with_trailing_cr() to work for UTF-16 builds

7 years agoFix test_suspend_resume_parameter_entity() to work in UTF-16
Rhodri James [Tue, 22 Aug 2017 15:03:35 +0000 (16:03 +0100)]
Fix test_suspend_resume_parameter_entity() to work in UTF-16

7 years agoFix test_suspend_resume_internal_entity() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 14:59:45 +0000 (15:59 +0100)]
Fix test_suspend_resume_internal_entity() to work for UTF-16

7 years agoFix start_element_suspender() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:57:58 +0000 (15:57 +0100)]
Fix start_element_suspender() to work for UTF-16 builds

7 years agoFix up selective_aborting_default_handler() for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:54:49 +0000 (15:54 +0100)]
Fix up selective_aborting_default_handler() for UTF-16 builds

7 years agoFix external_entity_devaluer() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:50:10 +0000 (15:50 +0100)]
Fix external_entity_devaluer() to work for UTF-16 builds

7 years agoFix external_entity_public() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:48:21 +0000 (15:48 +0100)]
Fix external_entity_public() to work for UTF-16 builds

7 years agoFix test_nested_groups() to work with UTF-16
Rhodri James [Tue, 22 Aug 2017 14:42:52 +0000 (15:42 +0100)]
Fix test_nested_groups() to work with UTF-16

7 years agoFix record_element_start_handler() to use XML_Char correctly
Rhodri James [Tue, 22 Aug 2017 14:41:15 +0000 (15:41 +0100)]
Fix record_element_start_handler() to use XML_Char correctly

7 years agoFix test_predefined_entity_redefinition() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 14:35:41 +0000 (15:35 +0100)]
Fix test_predefined_entity_redefinition() to work for UTF-16

7 years agoFix test_attribute_enum_value() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:31:46 +0000 (15:31 +0100)]
Fix test_attribute_enum_value() to work for UTF-16 builds

7 years agoFix external_entity_value_aborter() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:26:03 +0000 (15:26 +0100)]
Fix external_entity_value_aborter() to work for UTF-16 builds

7 years agoFix external_entity_not_standalone() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:24:45 +0000 (15:24 +0100)]
Fix external_entity_not_standalone() to work for UTF-16 builds

7 years agoFix external_entity_valuer() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:19:36 +0000 (15:19 +0100)]
Fix external_entity_valuer() to work for UTF-16 builds

7 years agoFix external_entity_param() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:18:22 +0000 (15:18 +0100)]
Fix external_entity_param() to work for UTF-16 builds

7 years agoFix test_ignore_section_utf16_be() for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:14:33 +0000 (15:14 +0100)]
Fix test_ignore_section_utf16_be() for UTF-16 builds

7 years agoFix test_ignore_section_utf16() for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:13:26 +0000 (15:13 +0100)]
Fix test_ignore_section_utf16() for UTF-16 builds

7 years agoFix test_ignore_section() to work correctly for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:12:13 +0000 (15:12 +0100)]
Fix test_ignore_section() to work correctly for UTF-16 builds

7 years agoFix test_predefined_entities() to work correctly with UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 14:06:18 +0000 (15:06 +0100)]
Fix test_predefined_entities() to work correctly with UTF-16 builds

7 years agoRemove speculative test from byte_character_handler().
Rhodri James [Tue, 22 Aug 2017 13:59:01 +0000 (14:59 +0100)]
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.

7 years agoFix external_entity_good_cdata_ascii() to work with UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:53:04 +0000 (14:53 +0100)]
Fix external_entity_good_cdata_ascii() to work with UTF-16 builds

7 years agoFix rsqb_handler() to work correctly in UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:47:20 +0000 (14:47 +0100)]
Fix rsqb_handler() to work correctly in UTF-16 builds

7 years agoFix cr_cdata_handler() to work correctly for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:45:37 +0000 (14:45 +0100)]
Fix cr_cdata_handler() to work correctly for UTF-16 builds

7 years agoFix test_cdata_default() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:42:12 +0000 (14:42 +0100)]
Fix test_cdata_default() to work for UTF-16 builds

7 years agoFix test_attributes() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:37:01 +0000 (14:37 +0100)]
Fix test_attributes() to work for UTF-16 builds

7 years agoFix counting_start_element_handler() to use XML_Char correctly
Rhodri James [Tue, 22 Aug 2017 13:33:47 +0000 (14:33 +0100)]
Fix counting_start_element_handler() to use XML_Char correctly

7 years agoFix test_set_base() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:22:11 +0000 (14:22 +0100)]
Fix test_set_base() to work for UTF-16 builds

7 years agoFix test_multichar_cdata_utf16() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:16:56 +0000 (14:16 +0100)]
Fix test_multichar_cdata_utf16() to work for UTF-16 builds

7 years agoFix test_long_cdata_utf16() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:08:05 +0000 (14:08 +0100)]
Fix test_long_cdata_utf16() to work for UTF-16 builds

7 years agoFix test_good_cdata_utf16_le() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:05:10 +0000 (14:05 +0100)]
Fix test_good_cdata_utf16_le() to work for UTF-16 builds

7 years agoFix test_good_cdata_utf16() to work for UTF-16 builds (ironicly)
Rhodri James [Tue, 22 Aug 2017 13:03:08 +0000 (14:03 +0100)]
Fix test_good_cdata_utf16() to work for UTF-16 builds (ironicly)

7 years agoFix test_good_cdata_ascii() to work for UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 13:02:00 +0000 (14:02 +0100)]
Fix test_good_cdata_ascii() to work for UTF-16 builds

7 years agoFix test_dtd_attr_handling() to work with UTF-16 builds
Rhodri James [Tue, 22 Aug 2017 12:47:33 +0000 (13:47 +0100)]
Fix test_dtd_attr_handling() to work with UTF-16 builds

7 years agoFix test_dtd_default_handling() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:39:19 +0000 (13:39 +0100)]
Fix test_dtd_default_handling() to work for UTF-16

7 years agoFix test_not_standalone_handler_accept() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:37:10 +0000 (13:37 +0100)]
Fix test_not_standalone_handler_accept() to work for UTF-16

7 years agoFix test_not_standalone_handler_accept() to work in UTF-16 builds
Rhodri James [Thu, 24 Aug 2017 12:31:55 +0000 (13:31 +0100)]
Fix test_not_standalone_handler_accept() to work in UTF-16 builds

7 years agoFix test_wfc_undeclared_entity_with_external_subset() for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:31:55 +0000 (13:31 +0100)]
Fix test_wfc_undeclared_entity_with_external_subset() for UTF-16

7 years agoFix test_ext_entity_set_bom() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:22:39 +0000 (13:22 +0100)]
Fix test_ext_entity_set_bom() to work for UTF-16

7 years agoFix test_ext_entity_no_handler() to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:21:59 +0000 (13:21 +0100)]
Fix test_ext_entity_no_handler() to work for UTF-16

7 years agoFix test_ext_entity_set_encoding to work for UTF-16
Rhodri James [Tue, 22 Aug 2017 12:17:41 +0000 (13:17 +0100)]
Fix test_ext_entity_set_encoding to work for UTF-16

7 years agoFix UnknownEncodingHandler to work with UTF-16
Rhodri James [Tue, 22 Aug 2017 12:04:55 +0000 (13:04 +0100)]
Fix UnknownEncodingHandler to work with UTF-16

7 years agoFix attribute whitespace normalization tests for UTF-16
Rhodri James [Tue, 22 Aug 2017 11:53:40 +0000 (12:53 +0100)]
Fix attribute whitespace normalization tests for UTF-16

7 years agoFix whitespace normalization tests for UTF-16
Rhodri James [Tue, 22 Aug 2017 11:48:00 +0000 (12:48 +0100)]
Fix whitespace normalization tests for UTF-16

7 years agoEnsure encoding passed to XML_SetEncoding is always const XML_Char*
Rhodri James [Fri, 4 Aug 2017 18:22:46 +0000 (19:22 +0100)]
Ensure encoding passed to XML_SetEncoding is always const XML_Char*

7 years agoFix test_utf16() to work for UTF-16 builds
Rhodri James [Fri, 4 Aug 2017 18:01:55 +0000 (19:01 +0100)]
Fix test_utf16() to work for UTF-16 builds

7 years agoFix test_utf8_false_rejection() to work in UTF-16
Rhodri James [Fri, 4 Aug 2017 17:53:58 +0000 (18:53 +0100)]
Fix test_utf8_false_rejection() to work in UTF-16

7 years agoFix test_french_utf8() to work in UTF-16
Rhodri James [Fri, 4 Aug 2017 17:49:22 +0000 (18:49 +0100)]
Fix test_french_utf8() to work in UTF-16

7 years agoFix test_french_latin1() to work in UTF-16
Rhodri James [Fri, 4 Aug 2017 17:47:19 +0000 (18:47 +0100)]
Fix test_french_latin1() to work in UTF-16

7 years agoFix test_french_charref_decimal() to work for UTF-16
Rhodri James [Fri, 4 Aug 2017 17:44:53 +0000 (18:44 +0100)]
Fix test_french_charref_decimal() to work for UTF-16

7 years agoFix test_french_charref_hexidecimal() to work for UTF-16
Rhodri James [Fri, 4 Aug 2017 17:40:01 +0000 (18:40 +0100)]
Fix test_french_charref_hexidecimal() to work for UTF-16

7 years agoFix test_latin1_umlauts() to work for UTF-16
Rhodri James [Fri, 4 Aug 2017 17:32:50 +0000 (18:32 +0100)]
Fix test_latin1_umlauts() to work for UTF-16

7 years agoFix test_danish_latin1() to handle UTF-16
Rhodri James [Fri, 4 Aug 2017 17:27:10 +0000 (18:27 +0100)]
Fix test_danish_latin1() to handle UTF-16

7 years agoAdd wrapper macro to give string literals the right type for XML_Char*
Rhodri James [Fri, 4 Aug 2017 17:14:30 +0000 (18:14 +0100)]
Add wrapper macro to give string literals the right type for XML_Char*

7 years agoEnsure the _check functions take parse text as char not XML_Char
Rhodri James [Fri, 4 Aug 2017 16:59:04 +0000 (17:59 +0100)]
Ensure the _check functions take parse text as char not XML_Char

_run_character_check() et al pass their parse text to XML_Parse()
via _XML_Parse_SINGLE_BYTES().  Both of these expect the parse text
as "const char *", not "const XML_Char *".

7 years agoFix wide character issues in param_entity_match_handler()
Rhodri James [Fri, 4 Aug 2017 16:50:50 +0000 (17:50 +0100)]
Fix wide character issues in param_entity_match_handler()

7 years agoAdd macros for XML_Char-based strncmp and strlen equivalents
Rhodri James [Fri, 4 Aug 2017 16:49:37 +0000 (17:49 +0100)]
Add macros for XML_Char-based strncmp and strlen equivalents

7 years agoFix wide character comparisons in external_entity_optioner()
Rhodri James [Fri, 4 Aug 2017 16:41:37 +0000 (17:41 +0100)]
Fix wide character comparisons in external_entity_optioner()