Dmitry Timoshkov
13b1e36de0
msxml3: IVBSAXContentHandler::startElement() should also check *namespaceURI for NULL.
...
Like ISAXContentHandler::startElement() does.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:11:06 +02:00
Dmitry Timoshkov
bbfa8d17f8
msxml3/tests: Add some tests for IVBSAXContentHandler::startElement() and IVBSAXContentHandler::endElement().
...
These are mostly a copy of ISAXContentHandler::startElement() and
ISAXContentHandler::endElement() tests.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-21 18:11:04 +02:00
Jefferson Carpenter
eca796bf75
msxml3/tests: Test mxwriter domdoc output.
...
Signed-off-by: Jefferson Carpenter <jeffersoncarpenter2@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-24 22:01:42 +01:00
Michael Stefaniuc
21ca8e1648
msxml3/tests: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-28 20:36:26 +01:00
Nikolay Sivov
20e36dcb1b
msxml3/tests: Use wide string literals in more tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 20:51:23 +02:00
Michael Stefaniuc
8b8460de07
msxml3/tests: Just use a wchar string literal instead of _bstr_().
...
lstrcmpW and memcmp can deal just fine with WCHAR* and don't need
a BSTR.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:29:09 +01:00
Francois Gouget
280cbcb28a
msxml3: Fix the spelling of some comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Piotr Caban
78259fceb3
msxml3: Don't return NULL namespace and local name in saxreader callbacks.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-09-27 22:42:50 +02:00
Jacek Caban
73af53c4bc
msxml3: Fix string length handling in I[VB]SAXContentHandler::characters.
...
Windows crashes when -1 length is passed. Escaping should just copy
embedded null bytes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 20:43:37 +02:00
Michael Stefaniuc
39bd2c96ba
msxml3/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Nikolay Sivov
a62bed3bb8
msxml3/saxreader: Allow setting default value for schema-validation feature.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:26 +01:00
Nikolay Sivov
1d78226f51
msxml3/saxreader: Accept disabled "exhaustive-errors" property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:21 +01:00
Nikolay Sivov
75782e7cc3
msxml3/tests: Use the global HeapAlloc() helpers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-06 14:28:10 +01:00
Nikolay Sivov
ba018b5253
msxml3/saxreader: Handle NULL interface input in parse().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 09:54:12 +01:00
Daniel Lehman
8bc68f3491
msxml3: Don't QI for IPersistStream in internal_parse.
...
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 10:30:36 +01:00
Nikolay Sivov
11a01849e8
msxml3/tests: Simplify refcount checks.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-18 10:36:16 +09:00
Nikolay Sivov
3e96f98cda
msxml3/tests: Remove duplicated test check.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 13:17:34 +09:00
Nikolay Sivov
ea0d29184c
msxml3/mxwriter: Implement notation declaration output.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-04 13:17:31 +09:00
Nikolay Sivov
30b661ad9c
msxml3/mxwriter: Use 4K for internal buffer size.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:26:53 +09:00
Nikolay Sivov
7d72595475
msxml3/tests: Use win_skip() consistently.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:28 +09:00
Nikolay Sivov
f21fc727c7
msxml3/tests: Remove useless VariantClear().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:25 +09:00
Nikolay Sivov
ba4fcecfa3
msxml3/mxwriter: Simplify argument check in externalEntityDecl().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-24 20:03:22 +09:00
Nikolay Sivov
cdda92fc4e
msxml3/tests: Simplify a couple of tests using todo_wine_if().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 01:26:43 +09:00
Nikolay Sivov
81fbbb30a5
msxml3/tests: Fix some leaks while testing attribute values (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 19:26:20 +01:00
Alistair Leslie-Hughes
f912d85deb
msxml3/tests: Fix memory leaks (valgrind).
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 16:39:14 +09:00
André Hentschel
1463325797
msxml3/tests: Remove unused code (Clang).
2014-12-02 10:32:13 +01:00
Nikolay Sivov
45b9027258
msxml3/tests: Accept Stat() method called on test stream.
2014-06-16 09:31:19 +02:00
Nikolay Sivov
c9c47459a9
msxml3/tests: Fix some stream instance leaks (Valgrind).
2014-05-05 12:17:54 +02:00
Nikolay Sivov
1742449ad8
msxml3/tests: Null-terminate a string before A->W conversion (Valgrind).
2014-05-05 12:17:53 +02:00
Nikolay Sivov
6ed7d9dd1c
msxml3/tests: Protect from invalid array access (Coverity).
2014-04-07 15:34:36 +02:00
Nikolay Sivov
c633a51773
msxml3/tests: Fixed some test failures.
2014-03-10 10:42:21 +01:00
Nikolay Sivov
5b43c42c88
msxml3: Remove dynamic properties support.
2014-03-10 10:42:02 +01:00
Nikolay Sivov
d7aee26d7f
msxml3: Make propputref methods invocable with DISPATCH_PROPERTYPUT.
2014-03-07 11:30:51 +01:00
Nikolay Sivov
17d1c0fbc7
msxml3: Fix BSTR retval handling for IVBSAXLocator.
2014-03-05 11:49:25 +01:00
Nikolay Sivov
89c21a89a6
msxml3: Added stubs for ISAXErrorHandler/IVBSAXErrorHandler for MXWriter.
2014-03-05 11:49:09 +01:00
Nikolay Sivov
71ecd3b422
msxml3: Added stub support for ISAXDTDHandler/IVBSAXDTDHandler for MXWriter.
2014-03-05 11:49:04 +01:00
Nikolay Sivov
d745e612ac
msxml3: Added partial implementation of IVBSAXContentHandler for MXWriter.
2014-03-04 11:50:10 +01:00
Nikolay Sivov
d6de1be777
msxml3: Added IVBSAXLexicalHandler interface for MXWriter.
2014-03-03 17:02:48 +01:00
Nikolay Sivov
94dcff1dda
msxml3: Added IVBSAXDeclHandler interface for MXWriter.
2014-03-03 17:02:46 +01:00
Nikolay Sivov
a28ace9ae7
msxml3: Support more variant types in putProperty().
2014-03-03 17:02:45 +01:00
Nikolay Sivov
2b4f20b8c3
msxml3: Support VT_BSTR|VT_BYREF as reader input.
2014-03-03 17:02:42 +01:00
Jacek Caban
76ce1f1679
msxml3: Read stream data until Read fails or returns 0 bytes.
2014-02-12 19:15:27 +01:00
Frédéric Delanoy
949f1a0161
msxml3/tests: Use BOOL type where appropriate.
2014-01-06 17:14:40 +01:00
Jacek Caban
66677e616f
msxml3: Compile tests with __WINESRC__ defined.
2013-11-18 11:17:29 +01:00
Frédéric Delanoy
cbd65f1c65
msxml3/tests: Use BOOL type where appropriate.
2013-10-30 09:45:49 +01:00
Nikolay Sivov
610320864b
msxml3: Apostrophe is never escaped by writer.
2013-08-20 13:00:57 +02:00
Nikolay Sivov
b1bf9a62f9
msxml3: Unescape '&' back to '&' in attribute value.
2013-07-31 22:26:53 +02:00
Nikolay Sivov
5dc468f025
msxml3: Support for external entities in writer.
2013-07-29 14:28:23 +02:00
Nikolay Sivov
b3d85d41d9
msxml3: Implement output indentation for writer.
2013-07-29 14:28:20 +02:00
Marcus Meissner
f6a16d8e04
msxml3/tests: Check ISAXContentHandler_endDocument (Coverity).
2013-07-22 19:31:27 +02:00