Sebastian Pipping
03d005428b
xmlparse.c: Resolve macro "internalEncoding" (issue #59 )
2017-09-03 00:08:30 +02:00
Sebastian Pipping
385d12e54b
xmlparse.c: Resolve macro "initEncoding" (issue #59 )
2017-09-03 00:07:50 +02:00
Sebastian Pipping
bc913b754b
xmlparse.c: Resolve macro "xmlDeclHandler" (issue #59 )
2017-09-03 00:05:21 +02:00
Sebastian Pipping
b17eb0c608
xmlparse.c: Resolve macro "entityDeclHandler" (issue #59 )
2017-09-03 00:04:51 +02:00
Sebastian Pipping
76515bcce3
xmlparse.c: Resolve macro "attlistDeclHandler" (issue #59 )
2017-09-03 00:04:26 +02:00
Sebastian Pipping
3bb138b6f9
xmlparse.c: Resolve macro "elementDeclHandler" (issue #59 )
2017-09-03 00:03:44 +02:00
Sebastian Pipping
3ca6da4be4
xmlparse.c: Resolve macro "unknownEncodingHandler" (issue #59 )
2017-09-03 00:03:06 +02:00
Sebastian Pipping
55e07f6475
xmlparse.c: Resolve macro "skippedEntityHandler" (issue #59 )
2017-09-03 00:01:23 +02:00
Sebastian Pipping
c68866eb6b
xmlparse.c: Resolve macro "notStandaloneHandler" (issue #59 )
2017-09-03 00:00:04 +02:00
Sebastian Pipping
2159f09559
xmlparse.c: Resolve macro "endNamespaceDeclHandler" (issue #59 )
2017-09-02 23:58:58 +02:00
Sebastian Pipping
07654466ec
xmlparse.c: Resolve macro "notationDeclHandler" (issue #59 )
2017-09-02 23:58:39 +02:00
Sebastian Pipping
8a5155b2a1
xmlparse.c: Resolve macro "endDoctypeDeclHandler" (issue #59 )
2017-09-02 23:57:43 +02:00
Sebastian Pipping
4b714882ed
xmlparse.c: Resolve macro "startDoctypeDeclHandler" (issue #59 )
2017-09-02 23:54:56 +02:00
Sebastian Pipping
9ea945a097
xmlparse.c: Resolve macro "defaultHandler" (issue #59 )
2017-09-02 23:54:25 +02:00
Sebastian Pipping
d70048eb57
xmlparse.c: Resolve macro "endCdataSectionHandler" (issue #59 )
2017-09-02 23:50:01 +02:00
Sebastian Pipping
ee4dde80a6
xmlparse.c: Resolve macro "commentHandler" (issue #59 )
2017-09-02 23:49:11 +02:00
Sebastian Pipping
bcf55a6957
xmlparse.c: Resolve macro "characterDataHandler" (issue #59 )
2017-09-02 23:48:40 +02:00
Sebastian Pipping
1be39b802f
xmlparse.c: Resolve macro "endElementHandler" (issue #59 )
2017-09-02 23:47:15 +02:00
Sebastian Pipping
9904008198
xmlparse.c: Resolve macro "startElementHandler" (issue #59 )
2017-09-02 23:46:22 +02:00
Sebastian Pipping
ccbbca1b0d
xmlparse.c: Resolve macro "handlerArg" (issue #59 )
2017-09-02 23:43:30 +02:00
Sebastian Pipping
36ea43dac4
xmlparse.c: Resolve macro "userData" (issue #59 )
2017-09-02 23:36:55 +02:00
Sebastian Pipping
08aa36aaac
Merge branch 'RMJ10-issue-137-fix' (pull request #138 )
2017-09-02 22:33:26 +02:00
Sebastian Pipping
211f06931e
Changes: Document fix to #137
2017-09-02 22:32:48 +02:00
Rhodri James
718d51a66b
Fix for #137 : check parse status before epilogue processing.
...
This is just a sticking plaster; the parse status handling is
currently being reconsidered for more general refactoring.
2017-09-02 22:32:48 +02:00
Rhodri James
df8c75ee26
Add test for issue #137 : stopping parse doesn't always return an error
...
This catches the case of stopping the parse on a single empty tag.
There may be other cases where the parse status isn't checked properly.
2017-09-02 22:18:53 +02:00
Sebastian Pipping
4f9dde9de8
Merge branch 'RMJ10-remove-samename' (pull request #141 )
2017-09-02 16:17:46 +02:00
Rhodri James
bad63895fb
Remove unused sameName functions from ENCODING structure
2017-09-02 16:17:18 +02:00
Sebastian Pipping
bdc9868080
Merge branch 'RMJ10-issue-120-fix' (pull request #140 )
2017-09-01 20:33:25 +02:00
Sebastian Pipping
378bb45bcf
Makefile.am: Fix "make run-benchmark" for MinGW
2017-09-01 20:32:44 +02:00
Rhodri James
9cdb9a12b8
Remove extraneous @ from test file (issue #120 )
2017-08-31 14:05:25 +01:00
Sebastian Pipping
72d9f6aa36
qa.sh: Fix "memory" mode ( #65 )
...
Looks like a regression for migration to GNU Automake.
2017-08-30 22:33:22 +02:00
Sebastian Pipping
227280db70
Merge branch 'RMJ10-unicode-tests' (pull request #132 )
2017-08-29 23:36:11 +02:00
Sebastian Pipping
68a0dce355
Changes: Document pull request #132
2017-08-29 23:32:43 +02:00
Sebastian Pipping
5c6c28cf40
Streamline preprocessor indentation
2017-08-29 23:21:52 +02:00
Rhodri James
50c355729c
Split long string in test_nsalloc_realloc_long_context_in_dtd()
...
C99 only requires compilers to handle string literals up to 4095
characters long. Split the parse string so that it is below this
limit.
2017-08-29 23:21:52 +02:00
Rhodri James
533b45f94c
Split long string in test_nsalloc_long_namespace()
...
C99 compilers are only obliged to cope with 4095 character strings
literals. Split the parse string so that it is under this limit.
2017-08-29 23:21:52 +02:00
Rhodri James
b627e0e510
Split long string in test_ns_extremely_long_prefix()
...
C99 compilers are only required to cope with 4095 character strings.
Split the parse text in two to keep it under that limit.
2017-08-29 23:21:51 +02:00
Rhodri James
f7eb08ee80
Fix test_default_doctype_handler() to work in UTF-16 builds
2017-08-29 23:21:51 +02:00
Rhodri James
bd12cbc629
Remove CharData_{Append|Check}String functions
...
Mixing XML_Char and char strings is a bad idea, and trying to put
chars into an XML_Char array tends not to work as you might hope.
Removing these functions removes the temptation to break builds.
2017-08-29 23:21:51 +02:00
Rhodri James
e9aebf0a7f
Use correct format for XML_Char in error output
...
Only actually invoked when XML_Char is char, but it keeps the
compiler quiet
2017-08-29 23:19:35 +02:00
Rhodri James
a0fa0f80b8
Fix test_default_current() to work in UTF-16 builds
2017-08-29 23:19:35 +02:00
Rhodri James
0766d6c24c
Fix test_end_element_events() to work in UTF-16 builds
2017-08-29 23:19:35 +02:00
Rhodri James
234a974546
Fix test_line_and_column_numbers_inside_handlers() for UTF-16
...
Use structured data in the event handlers for this test to avoid
problems converting char strings to XML_Char strings.
2017-08-29 23:19:34 +02:00
Sebastian Pipping
b1ef760e0e
CMake: Add missing integration of tests/structdata.c
2017-08-29 23:19:34 +02:00
Rhodri James
8b64146e21
Add support for structured data in test handlers
2017-08-29 23:19:34 +02:00
Rhodri James
38166e1f54
Fix test_alloc_realloc_nested_groups() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
4f89cb88ac
Fix test_alloc_nested_groups() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
881611c97e
Fix test_nsalloc_long_attr_prefix() to work in UTF-16
2017-08-29 23:13:16 +02:00
Rhodri James
826a0f791c
Fix test_nsalloc_prefixed_element() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00
Rhodri James
ee626f7c80
Fix test_nsalloc_long_systemid_in_ext() to work in UTF-16 builds
2017-08-29 23:13:16 +02:00