188 Commits

Author SHA1 Message Date
Nikolay Sivov
6b7e1131e5 msxml3: Use ARRAY_SIZE() macro.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:27 +01: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
585e12fa9d msxml3/saxreader: Accept external-general-entities and external-parameter-entities.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-27 09:01:24 +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
9cb8629fb7 msxml3: 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
Piotr Caban
afdf7491ef msxml3: Use correct string length in saxreader_get_cdata_chunk.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-06 21:48:49 +02: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
Francois Gouget
c7292a5816 msxml3: Spelling fixes.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-31 11:31:14 +09:00
Andrey Gusev
78d9a85054 msxml3: Fix a typo in comment.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-03 10:05:20 +09:00
Thomas Faller
f259ba33bb msxml3: Fix invalid read. 2015-09-02 14:54:00 +09:00
Sebastian Lackner
76a09f4e29 msxml3: Fix incorrect size argument of FormatMessageW. 2015-03-02 13:51:14 +09:00
André Hentschel
1014867726 msxml3: Declare debug channels only when needed (Clang). 2015-02-23 22:10:50 +09:00
Nikolay Sivov
66b5dd71e9 msxml3/saxreader: Fix attributes array growing size. 2014-08-04 16:18:50 +02:00
Hans Leidekker
6074267652 msxml3: Fix a couple of memory leaks (valgrind). 2014-04-17 13:27:02 +02:00
Nikolay Sivov
5b43c42c88 msxml3: Remove dynamic properties support. 2014-03-10 10:42:02 +01:00
Nikolay Sivov
17d1c0fbc7 msxml3: Fix BSTR retval handling for IVBSAXLocator. 2014-03-05 11:49:25 +01:00
Nikolay Sivov
7ca1ac7365 msxml3: Fix retval BSTR handling for IVBSAXXMLReader. 2014-03-05 11:49:21 +01:00
Nikolay Sivov
a28ace9ae7 msxml3: Support more variant types in putProperty(). 2014-03-03 17:02:45 +01:00
Nikolay Sivov
a41446b1f7 msxml3: Fix IVBSAXXMLReader interface definition. 2014-03-03 17:02:43 +01:00
Nikolay Sivov
2b4f20b8c3 msxml3: Support VT_BSTR|VT_BYREF as reader input. 2014-03-03 17:02:42 +01:00
Nikolay Sivov
ff847e8cb3 msxml3: Pass XSL processor parameters to libxml2. 2014-02-14 11:51:11 +01:00
Jacek Caban
76ce1f1679 msxml3: Read stream data until Read fails or returns 0 bytes. 2014-02-12 19:15:27 +01:00
Jacek Caban
7dc605ae78 msxml3: Fixed qname leak.
Spotted by Hans Leidekker.
2014-02-12 19:15:16 +01:00
Dmitry Timoshkov
cdc9eff5d2 msxml3: Remove unused IUnknown *outer parameter from object constructors. 2014-01-09 14:23:39 +01:00
Frédéric Delanoy
30aec559ac msxml3: Use BOOL type where appropriate. 2013-10-01 10:50:54 +02:00
Michael Stefaniuc
f695cb6da1 msxml3: Avoid shadowing a function parameter. 2013-09-03 16:58:19 +02:00
Nikolay Sivov
b1bf9a62f9 msxml3: Unescape '&#38;' back to '&' in attribute value. 2013-07-31 22:26:53 +02:00
Nikolay Sivov
81ffe0432e msxml3: Use characters callback helper in one more place. 2013-03-14 12:03:38 +01:00
Nikolay Sivov
6874bf3c4e msxml3: Process CDATA section before reporting it. 2013-03-13 16:27:51 +01:00
Nikolay Sivov
f929611a68 msxml3: Revert "msxml3: AddRef() typeinfo pointers only when we have to.".
This reverts commit 6e566ce6c24186174ab9c5370a3ffbeccb8389a1.
2012-11-29 11:16:02 +01:00
Nikolay Sivov
818917a09e msxml3: Properly store SystemID and PublicID (Coverity). 2012-11-28 20:14:45 +01:00
Nikolay Sivov
6e566ce6c2 msxml3: AddRef() typeinfo pointers only when we have to. 2012-11-19 16:35:22 +01:00
Nikolay Sivov
7a00f31ecf msxml3: Stub support for external entity resolver. 2012-11-16 17:42:48 +01:00
Nikolay Sivov
a644bad2af msxml3: Store handler pointers so casts to particular type are avoided. 2012-11-16 17:42:47 +01:00
Nikolay Sivov
2a8552a925 msxml3: Implement xmldecl-version property for a reader. 2012-08-27 11:32:00 +02:00
Nikolay Sivov
5b7a55f67f msxml3: Accept ISequentialStream as reader input. 2012-07-24 13:36:26 +02:00
Nikolay Sivov
007ac83fc9 msxml3: Use single helper to test for handler presence. 2012-07-17 12:50:18 +02:00
Nikolay Sivov
33a1f892b8 msxml3: Implement a common way to store and get callback interface pointers. 2012-07-16 15:21:46 +02:00
Nikolay Sivov
2bff764df0 msxml3: Implement put/get for DTD handler callback interface. 2012-07-16 15:21:46 +02:00
Nikolay Sivov
7cbd9dcdc3 msxml3: Reader shouldn't depend on input being properly allocated BSTR string. 2012-06-18 11:59:41 +02:00
Nikolay Sivov
16ef649b5f msxml3: Revert: msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting.
This reverts commit c2c8b9e771a1eb80cab4b142a3bc3ed5434a4a47 and adds
a comment for uri reporting feature that some application use, for
example Office 2010.  The problem is that namespace uri pointer should
stay the same and we keep it in element stack for that, MXAttributes
allocates new string for each attribute and won't work as needed
unfortunately.
2012-06-18 11:59:41 +02:00
Nikolay Sivov
c2c8b9e771 msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting. 2012-06-11 12:19:07 +02:00
Nikolay Sivov
fc4dab4c3b msxml3: Add a helper to check that lexical handler is set. 2012-05-08 16:22:28 +02:00
Nikolay Sivov
2dc6711f6d msxml3: Protect content callbacks from being called on reset content handler pointer. 2012-05-08 16:22:21 +02:00
Nikolay Sivov
28335fb39b msxml3: Query for handler interface instead of using what was passed in Variant directly. 2012-04-27 11:59:50 +02:00
Nikolay Sivov
221f9efe27 msxml3: Switch parser encoding manually when it won't be able to detect it (UTF-16 case). 2012-04-23 11:44:01 +02:00
Nikolay Sivov
4fb5872bd2 msxml3: Support 'namespace-prefixes' feature. 2012-04-20 11:58:57 +02:00
Nikolay Sivov
1554cbc4d7 msxml3: Make failing Locator QI a warning. 2012-04-19 12:06:00 +02:00
Nikolay Sivov
54df4811c6 msxml3: Fix handling of feature values. 2012-04-19 12:05:55 +02:00