Commit Graph

293 Commits

Author SHA1 Message Date
Yongjie Yao 9336ec8faf msxml3: Fix a memory leak (Valgrind).
Signed-off-by: Yongjie Yao <yaoyongjie@uniontech.com>
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-14 19:42:40 +02:00
Dmitry Timoshkov f62b05dadd msxml3: Use site's base URI when loading an XML file.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-09 09:52:45 +02:00
Dmitry Timoshkov 25abcac61a msxml3: IXMLDOMDocument2's ::SetSite implementation should query site for base URI.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-09 09:52:42 +02:00
Daniel Lehman da3893fe48 msxml3: Set internal error on loading from IPersistStream.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 16:06:06 +02:00
Daniel Lehman 50650c26fe msxml3: Set internal error on loading from IStream.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-08 16:06:06 +02:00
Nikolay Sivov 5825ad56f6 msxml3: Fix uri object leak on error path (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-17 10:08:03 +01:00
Daniel Lehman c1d21f1ae4 msxml3: Return URL from get_namespaceURI from attributes for MSXML6.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-22 09:52:50 +02:00
Alistair Leslie-Hughes 8ad509ed70 msxml3: Accept NormalizeAttributeValues property.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:06:56 +02:00
Nikolay Sivov 92513a9edd msxml3: Implement custom document importing callback.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:14 +01:00
Nikolay Sivov cdaf5625d1 msxml3: Use IUri API to load documents.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 11:32:12 +01:00
Nikolay Sivov 41365ce72c msxml3: Partially implement transformNodeToObject().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-23 10:33:54 +02:00
Nikolay Sivov 45dd9d1796 msxml3: Accept AllowXsltScript and AllowDocumentFunction properties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 15:58:44 +01:00
Nikolay Sivov 02e0e122a5 msxml3: Fix cloneNode() for document nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 11:13:05 +01:00
Piotr Caban bc0eca60c6 msxml3: Store information about ignorrable whitespace nodes in xmlNode._private variable.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 19:50:28 +01:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Nikolay Sivov cfe52abcf4 msxml3: Handle SafeArrayAccessData() failure in load() (Coverity). 2015-06-15 14:49:33 +09:00
Francois Gouget ce40bcf054 msxml3: Remove unneeded NONAMELESSUNION directives. 2015-03-16 15:04:24 +09:00
André Hentschel 1014867726 msxml3: Declare debug channels only when needed (Clang). 2015-02-23 22:10:50 +09:00
Nikolay Sivov 82bb4f51c1 msxml3: Implement empty tagname case of getElementsByTagName() for document. 2014-05-13 11:45:29 +02:00
Nikolay Sivov ff847e8cb3 msxml3: Pass XSL processor parameters to libxml2. 2014-02-14 11:51:11 +01:00
Dmitry Timoshkov cdc9eff5d2 msxml3: Remove unused IUnknown *outer parameter from object constructors. 2014-01-09 14:23:39 +01:00
Nikolay Sivov 40c8d6aa0a msxml3: Store document url in properties so every instance could see it. 2013-12-16 16:08:39 +01:00
Nikolay Sivov e0344e1a28 msxml3: Implement url() property of IXMLDOMDocument. 2013-11-04 17:41:11 +01:00
Nikolay Sivov abdf02526e msxml3: Handle parser failure when loading from url. 2013-10-14 10:48:34 +02:00
Nikolay Sivov 88e94c7ef8 msxml3: Store namespace info for created attribute, fix returned properties. 2013-07-27 11:54:26 -05:00
Nikolay Sivov facc14ead9 msxml3: Properly trace variant value. 2013-05-31 12:00:28 +02:00
Nikolay Sivov e5261f03e6 msxml3: Fix ignorable whitespace detection in case of formatting text nodes. 2013-05-15 10:55:48 +02:00
Nikolay Sivov 6a7bf66b29 msxml3: Explicitly use NULL_tid to terminate support error id arrays. 2013-05-07 15:15:27 +02:00
Nikolay Sivov 0403f34b78 msxml3: Fix ignorable whitespace detection. 2013-05-06 17:07:19 +02:00
Nikolay Sivov a935a44b44 msxml3: Remove unneeded cast to xmlDocPtr. 2013-03-01 18:03:29 +01:00
Nikolay Sivov e5affa7040 msxml3: Update backing docs refcount in put_documentElement(). 2013-02-27 19:23:09 +01:00
Nikolay Sivov cb9d787be1 msxml3: Better handle cross-tree node moves. 2013-02-27 19:23:06 +01:00
Nikolay Sivov de9250537d msxml3: Fail to insert a node of unsupported type to a document. 2013-02-25 13:03:47 +01:00
Andrew Talbot 5360780a9b msxml3: Avoid signed-unsigned integer comparisons. 2013-02-20 10:33:35 +01:00
Nikolay Sivov 9336a3903c msxml3: GetMaxSize() is not a stub. 2012-12-11 20:45:41 +01:00
Nikolay Sivov 5aa1754b7e msxml3: No need to keep a reference to a temporarily used stream. 2012-11-27 16:58:40 +01:00
Nikolay Sivov db9d8ebb08 msxml3: Support ISequentialStream as a document load source. 2012-11-27 16:58:29 +01:00
Nikolay Sivov b296b08a5c msxml3: Move document loading from stream to a separate function. 2012-11-27 16:58:20 +01:00
Nikolay Sivov 65598b975c msxml3: Implemented IConnectionPoint_Advise for document object. 2012-09-24 22:27:25 +02:00
Nikolay Sivov f14c2f712f msxml3: Enable inline wrappers and fix warnings. 2012-07-27 17:05:22 +02:00
Nikolay Sivov c3fd306f61 msxml3: Accept selection namespaces string with trailing spaces. 2012-07-19 15:44:16 +02:00
Nikolay Sivov 13d95525c3 msxml3: Protect from null pointer in load(). 2012-07-16 15:21:45 +02:00
Nikolay Sivov 9a28ac8f7b msxml3: Remove unneeded xmlInitParser call. 2012-07-09 15:05:54 -04:00
Nikolay Sivov 41aa34758e msxml3: Fix xml declaration output when it's specified in loaded document (in case of file). 2012-07-09 15:05:47 -04:00
Nikolay Sivov 46d08bb6ce msxml3: Fix xml declaration output when it's specified in loaded document (in case of stream). 2012-07-09 15:05:41 -04:00
Nikolay Sivov 1a0552443c msxml3: Don't use stream written value when saving to stream. 2012-07-09 15:05:31 -04:00
Nikolay Sivov 2b5dd13a0a msxml3: Fix putref_schemas()/get_schemas() behaviour on NULL pointer. 2012-07-02 19:18:06 +02:00
Austin English 5de180beeb msxml3: Avoid a dangling else (LLVM/Clang). 2012-05-14 17:53:07 +02:00
Michael Stefaniuc 4df6fe1246 msxml3: Print the debug string and not the pointer to it. 2012-03-26 18:15:22 +02:00
Piotr Caban 85055298fa msxml3: Added partial XMLView IPersistMoniker_Load implementation. 2012-03-13 10:56:41 +01:00