Nikolay Sivov
25bce451af
msxml6: Add stub msxml6, forward DOMDocument60 creation to msxml3.
2010-08-30 11:27:52 +02:00
Francois Gouget
2dbe80bb7e
msxml3: Make parse_xml() static.
2010-08-26 13:44:44 +02:00
Paul Vriens
fa8f79feb8
msxml3: Ignore a property.
2010-07-28 16:28:20 +02:00
Michael Stefaniuc
ea1d37c568
msxml3: Remove the ignored common resource attributes.
2010-07-22 11:41:37 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Nikolay Sivov
331e179632
msxml3: Speed up a IPersistStreamInit::Save() by querying for BSTR length.
2010-07-19 15:16:19 +02:00
Piotr Caban
7a22365674
msxml3: Improve bstr_from_xmlCharN implementation.
2010-07-19 14:38:15 +02:00
Piotr Caban
bf263947e7
msxml3: Improve QName_from_xmlChar implementation.
2010-07-19 14:38:15 +02:00
Piotr Caban
3bf94bed3f
msxml3: Correctly allocate namespaces stack in saxreader.
2010-07-19 14:38:15 +02:00
Andrey Turkin
1339267ee8
msxml3: Add test to highlight another difference between XSLPattern and XPath.
2010-07-05 13:24:35 +02:00
Nikolay Sivov
4edfeefa64
msxml3: Use proper pointer types for IPersistStreamInit methods.
2010-06-29 13:28:58 +02:00
Nikolay Sivov
6a07cfeb52
msxml3: Add support for IPersistStreamInit for IXMLDOMDocument.
2010-06-29 13:28:58 +02:00
Nikolay Sivov
d461d7d213
msxml3: Create additional node for xml declaration.
2010-06-28 16:58:38 +02:00
Piotr Caban
a42a0917cd
msxml3: Fix illegal memory access.
2010-06-28 11:43:10 +02:00
Nikolay Sivov
89a00ec3ac
msxml3/tests: A test to show difference in XPath and XSLPattern for node position.
2010-06-24 10:30:45 +02:00
Nikolay Sivov
16e465c7ae
msxml3: Don't free namespace data tracked in a tree.
...
Fixes regression from ea9a6a4b4e
.
2010-06-23 10:34:46 +02:00
Nikolay Sivov
15720f8141
msxml3: Accept CLSID_FreeThreadedDOMDocument30 in class factory.
2010-06-23 10:34:36 +02:00
Nikolay Sivov
d24d007fa5
msxml3: Silence a warning in ::get_baseName() for document nodes.
2010-06-23 10:34:28 +02:00
Nikolay Sivov
302fb5f15a
msxml3: Use vtable macros consistently, depending on pointer type.
2010-06-22 16:58:37 +02:00
Nikolay Sivov
ea9a6a4b4e
msxml3: Properly free namespace structure pointer.
2010-06-22 11:22:35 +02:00
Nikolay Sivov
94e88e6712
msxml3: Extend traces for inc/dec refs on libxml2 documents.
2010-06-21 16:48:21 +02:00
Nikolay Sivov
473c5c4cc0
msxml3: Don't crash on null pointer when doing ::Next() on a last child.
2010-06-21 12:25:44 +02:00
Nikolay Sivov
b00046ccc4
msxml3: Support xml:lang attribute in IXMLElement::getAttribute().
2010-06-21 12:25:31 +02:00
Nikolay Sivov
c4852be28e
msxml3: Don't force parser encoding when loading from file.
2010-06-21 11:47:34 +02:00
Andrew Nguyen
6002cb06fb
msxml3/tests: Correct the sense of a few test failure messages.
2010-06-14 15:42:21 +02:00
Andrew Nguyen
9f1fb46543
msxml3: Ignore the encoding attribute when loading a new XML document in IXMLDOMDocument::loadXML.
2010-06-14 15:42:19 +02:00
Andrew Nguyen
341f878cbc
msxml3: Add proper skips when msxml3 DOM interfaces are unavailable.
2010-06-14 15:42:16 +02:00
Nikolay Sivov
bc3337f86f
msxml3: Use defined macros to access internal XPath structures.
2010-06-14 14:14:16 +02:00
Nikolay Sivov
3611791117
msxml3: Avoid SysStringLen() testing for an empty string in ::createNode().
2010-06-14 14:14:16 +02:00
Michael Stefaniuc
49c5494ff8
msxml3: Remove redundant "not NULL" check of the punk arg.
2010-05-20 13:47:52 +02:00
Alistair Leslie-Hughes
8248040dbe
msxml3: Register classes.
2010-04-19 15:42:00 +02:00
André Hentschel
b7aec2a215
msxml3: Make xmlnode_get_specified a stub.
2010-03-31 11:47:23 +02:00
André Hentschel
20fbdfc3c2
msxml3: Make xmlnode_get_parsed a stub.
2010-03-31 11:47:19 +02:00
Alexandre Julliard
d3d2f4afce
msxml3: Remove unnecessary string constants.
2010-03-31 11:47:10 +02:00
Mikhail Maroukhine
88cca2cf76
msxml3: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:14:53 +02:00
Paul Vriens
719d904e35
msxml3/tests: Skip some tests when network connection can't be made.
2010-03-26 17:05:30 +01:00
André Hentschel
acdce245ae
msxml3: Fix a typo in a comment.
2010-03-23 11:40:59 +01:00
Francois Gouget
3127501f86
msxml3: Add a trailing '\n' to a TRACE().
2010-03-22 10:48:33 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Nikolay Sivov
2060d80d24
msxml3: Treat input BSTR as general WCHAR string for ::loadXML().
2010-03-15 14:18:06 +01:00
Reece Dunn
47016df9b7
msxml3/tests: Improve the IObjectSecurity tests to cover msxml3 SP8+ behaviour.
2010-03-01 14:28:54 +01:00
Nikolay Sivov
d013991d55
msxml3: Simplify IXMLDOMElement_get_tagName(), add null check.
2010-02-22 11:41:05 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Nikolay Sivov
7a38ecb0d6
msxml3: Avoid direct vtable members internal usage.
2010-02-19 13:07:11 +01:00
Nikolay Sivov
b679a690b4
msxml3: Accept IObjectSafety for query from IXMLDOMDocument, fix its implementation.
2010-02-19 13:07:05 +01:00
Nikolay Sivov
16785efc27
msxml3/tests: Fix leaks and wrong pointer use.
2010-02-17 16:30:26 +01:00
Nikolay Sivov
abe86a1ef9
msxml3: Use common format for TRACE() in DOM objects.
2010-02-17 09:42:50 +01:00
Nikolay Sivov
3d18a77ae7
msxml3: Get rid of libxml2 accessors in ::substringData() for Text, Comment and CDATA nodes.
2010-02-16 11:33:23 +01:00
Nikolay Sivov
19c30897d4
msxml3: Simplify ::appendData() for Text, Comment and CDATA nodes.
2010-02-16 11:33:11 +01:00
Nikolay Sivov
02066602b6
msxml3: Implement ::replaceData() for Text, Comment and CDATA nodes.
2010-02-16 11:33:03 +01:00
Nikolay Sivov
88d8218731
msxml3: Simplify ::insertData() for Text, Comment and CDATA nodes.
2010-02-16 11:32:55 +01:00
Nikolay Sivov
b8282638bb
msxml3: Use interface methods for ::get_length() calls.
2010-02-16 11:32:48 +01:00
Nikolay Sivov
c1464f8ab9
msxml3: Fix return value for IXMLDOMNode_put_nodeValue() for unsupported types.
2010-02-15 16:09:24 +01:00
Nikolay Sivov
5262c570f1
msxml3: Accept NODE_ENTITY_REFERENCE in ::createNode() and use it for ::createEntityReference().
2010-02-15 16:09:17 +01:00
Nikolay Sivov
20a240fe41
msxml3: Reimplement IXMLDOMDocument::createProcessingInstruction() on top of ::createNode().
2010-02-15 16:09:11 +01:00
Nikolay Sivov
f414d3cf60
msxml3: Reimplement IXMLDOMDocument::createAttribute() on top of ::createNode().
2010-02-15 16:09:05 +01:00
Nikolay Sivov
f0e885759e
msxml3: Reimplement IXMLDOMDocument::createCDATASection() on top ::createNode().
2010-02-15 16:08:59 +01:00
Nikolay Sivov
ce2372667e
msxml3: Fix IXMLDOMDocument::createElement(), cast from node to element isn't possible.
2010-02-15 16:08:53 +01:00
Nikolay Sivov
24e198e2ff
msxml3: Reimplement IXMLDOMDocument::createTextNode() on top of ::createNode().
2010-02-15 16:08:44 +01:00
Nikolay Sivov
035566802b
msxml3: Fix IXMLDOMDocument::createDocumentFragment(), can't use IXMLDOMNode*->IXMLDOMDocumentFragment* cast.
2010-02-15 16:08:39 +01:00
Nikolay Sivov
760f7ba724
msxml3: Reimplement IXMLDOMDocument::createComment() on top of ::createNode().
2010-02-15 16:08:29 +01:00
Alistair Leslie-Hughes
dd40448707
msxml4: Added support for SAXXMLReader40.
2010-02-15 16:07:59 +01:00
Nikolay Sivov
ca01a44164
msxml3: Reimplement IXMLDOMDocument::createElement() over ::createNode().
2010-02-12 14:49:11 +01:00
Nikolay Sivov
469b0ff6b5
msxml3/tests: Don't try to use wchar buffers as BSTR parameters.
2010-02-12 11:55:51 +01:00
Nikolay Sivov
f5a2f4a2b9
msxml3: Reimplement IXMLDOMDocument::createDocumentFragment() over ::createNode().
2010-02-12 11:55:40 +01:00
Nikolay Sivov
16d83dc7d4
msxml3: Support more node types in IXMLDOMDocument_createNode().
2010-02-12 11:55:29 +01:00
Nikolay Sivov
e2b727807d
msxml3: Check for Null out pointer in node creation (with tests).
2010-02-12 11:55:17 +01:00
Nikolay Sivov
875c9c71ab
msxml3: Accept PI node in on base name request.
2010-02-10 14:34:06 +01:00
Nikolay Sivov
b9d07c5ae5
msxml3/tests: Add a trivial test for IXMLDOMDocumentFragment_get_parentNode().
2010-02-10 11:32:58 +01:00
Nikolay Sivov
f65fd26fe1
msxml3: IXMLDOMAttribute shouldn't report its parent.
2010-02-10 11:32:53 +01:00
Nikolay Sivov
a9fc71b48e
msxml3: Support comment node type in IXMLDOMNode_get_baseName.
2010-02-09 17:13:38 +01:00
Alexandre Julliard
627c58dcb5
msxml3: Fix building with older libxml versions.
2010-02-09 17:13:36 +01:00
Nikolay Sivov
970ec3d699
msxml3: Create entity reference node properly.
2010-02-09 11:35:27 +01:00
Nikolay Sivov
07162a624e
msxml3: Create PI node properly.
2010-02-09 11:35:02 +01:00
Nikolay Sivov
afad45fffe
msxml3: Use libxml2 functionality to skip top XML declaration node while writing to file.
2010-02-08 17:14:34 +01:00
Nikolay Sivov
d8a9a691e6
msxml3: Use existing helpers for heap allocations.
2010-02-04 13:39:28 +01:00
Nikolay Sivov
bc3153affa
msxml4: Add self-registration for CLSID_DOMDocument40, accept it in classfactory.
2010-02-04 13:39:28 +01:00
Nikolay Sivov
d3aacce605
msxml3: Fix a debug channel and comment copypaste.
2010-02-03 15:50:58 +01:00
Nikolay Sivov
a03bc72690
msxml3: Implement IXMLDOMText::deleteData().
2010-01-29 14:59:02 +01:00
Nikolay Sivov
173c4884ac
msxml3: Implement IXMLDOMCDATASection::deleteData() with tests.
2010-01-29 14:59:02 +01:00
Nikolay Sivov
97c2a25472
msxml3/tests: Fix interface leak.
2010-01-21 09:05:47 +01:00
Nikolay Sivov
5f72a88590
msxml3: Implement IXMLDOMComment::deleteData() with tests.
2010-01-19 15:03:54 +01:00
Nikolay Sivov
ff992282aa
msxml3: Use a helper to check for created content handler.
2010-01-19 12:21:48 +01:00
Nikolay Sivov
7724b053e2
msxml3: Implement IXMLDOMElement::removeAttribute().
2010-01-19 12:21:30 +01:00
Mike Kaplinskiy
90cf2f1ac3
msxml: getElementsByTagName does not respect namespaces.
...
We can't just use //tagname; we have to do //*[local-name()='tagname'].
2010-01-18 14:35:49 +01:00
Nikolay Sivov
e6edbc451d
msxml3/tests: Fix interface leak and message typo.
2010-01-18 14:18:55 +01:00
Nikolay Sivov
f9cb63116d
msxml3: Track linked/unlinked state for element and free node data only when unlinked.
2010-01-18 14:18:48 +01:00
Nikolay Sivov
20e63dcfd1
msxml3: In IXMLElementCollection store pointer to node instead of pointer to children.
...
Collection should be able to track node removal from children list.
2010-01-18 14:18:39 +01:00
Nikolay Sivov
7f5cedf70a
msxml3: Implement IXMLElement::removeChild() with some tests.
2010-01-18 14:18:29 +01:00
Nikolay Sivov
5afdfaba86
msxml3: Don't preallocate root element, return new instance on each call.
2010-01-18 14:18:21 +01:00
Nikolay Sivov
1cad1646e5
msxml3/xmldoc: Don't leak document and stream on next IXMLDocument::Load().
2010-01-14 09:42:30 -06:00
Nikolay Sivov
6c1275a57c
msxml3/xmldoc: IPersistStreamInit::InitNew() seems to do nothing for IXMLDocument.
2010-01-14 09:42:21 -06:00
Nikolay Sivov
a18ee2111a
msxml3/xmldoc: Fix IPersistStreamInit::GetClassID() for IXMLDocument.
2010-01-14 09:42:10 -06:00
Nikolay Sivov
1b2f1867c8
msxml3/tests: Add some tests for IPersistStreamInit implementation of IXMLDocument.
2010-01-14 09:42:04 -06:00
Nikolay Sivov
1aaf2bd548
msxml3: Get rid of upper case converting helper.
2010-01-11 11:33:46 -06:00
Nikolay Sivov
af502d236e
msxml3: Implement IXMLDocument::get_doctype().
2010-01-11 11:33:27 -06:00
Nikolay Sivov
04288208d0
msxml3: Implement IXMLDocument::get_version().
2010-01-11 11:33:20 -06:00
Nikolay Sivov
73a955efff
msxml3: Fix string leak while parsing with IXMLDOMDocument.
2010-01-11 11:31:36 -06:00
Nikolay Sivov
1c040a38c6
msxml3/tests: Fix some string leaks in tests.
2010-01-11 11:31:30 -06:00
Nikolay Sivov
b122cd7a1c
msxml3: Don't lose pointer to externaly allocated xmlSAXHandler copy.
2010-01-11 11:31:22 -06:00
Nikolay Sivov
e4d895c7ee
msxml3: Don't leak externaly allocated xmlSAXHandler.
2010-01-11 11:31:14 -06:00
Reece Dunn
a2c41b72f8
Don't generate FIXME warnings for DllCanUnloadNow.
2010-01-06 10:59:51 +01:00
Huw Davies
318c7b24ee
msxml3: Correctly test the variant returned by get_nodeValue.
...
Found by Valgrind.
2009-12-09 14:53:31 +01:00
Piotr Caban
9ede36aa2b
msxml3: Fix VARIANT_from_xmlChar implementation.
2009-12-07 14:18:25 +01:00
Rob Shearman
211e4fc0fe
msxml3: Fix double-free of BSTR in domdoc tests.
...
Using the _bstr_ allocator adds the returned string to a cache, so the
string shouldn't be freed with SysFreeString. Therefore, just replace
the lone call to _bstr_ in this function by a straight call to
SysAllocString.
2009-12-02 16:08:52 +01:00
Marcus Meissner
ed26bb09c5
msxml3: Move element usage into element!=NULL check (Coverity).
2009-11-29 16:36:59 +01:00
Francois Gouget
e98719f79e
msxml3: Make some functions static in node.c.
2009-11-24 15:53:36 +01:00
Marcus Meissner
80995b684b
msxml3: Fix NULL ptr checking in domdoc test (Coverity).
2009-11-23 13:09:31 +01:00
Piotr Caban
8700253775
msxml3: Implemented xmlnode_get_nodeTypedValue 'bin.base64' data type handling.
2009-11-20 11:13:23 +01:00
Piotr Caban
3c58b1c418
msxml3: Implemented xmlnode_get_nodeTypedValue 'bin.hex' data type handling.
2009-11-20 11:13:16 +01:00
Piotr Caban
2a9eb6e3bb
msxml3: Implemented more data types handling xmlnode_get_nodeTypedValue.
2009-11-20 11:13:09 +01:00
Piotr Caban
6633001d6e
msxml3: Remove test that fails on some systems.
2009-11-19 11:35:45 +01:00
Piotr Caban
5f26c60982
msxml3: Ignore nanoseconds in xmlnode_get_nodeTypedValue.
2009-11-19 11:09:46 +01:00
Piotr Caban
f4f7198610
msxml3: Implemented xmlnode_get_nodeTypedValue 'i1' data type handling.
2009-11-19 11:09:40 +01:00
Piotr Caban
0d78a883c0
msxml3: Implemented xmlnode_get_nodeTypedValue date related data types handling.
2009-11-18 11:51:05 +01:00
Piotr Caban
39f0504c86
msxml3: Implemented xmlnode_get_nodeTypedValue 'boolean' data type handling.
2009-11-18 11:51:05 +01:00
Piotr Caban
47e037d4bb
msxml3: Implemented xmlnode_get_nodeTypedValue 'fixed.14.4' data type handling.
2009-11-18 11:51:05 +01:00
Piotr Caban
44980403da
msxml3: Implemented xmlnode_get_nodeTypedValue 'int' data type handling.
2009-11-18 11:51:04 +01:00
Piotr Caban
0a6d3a70ca
msxml3: Implemented xmlnode_get_nodeTypedValue 'number' data type handling.
2009-11-18 11:51:04 +01:00
Piotr Caban
b56031c3a6
msxml3: Implemented xmlnode_get_nodeTypedValue 'string' data type handling.
2009-11-18 11:51:04 +01:00
Jacek Caban
04eff32bbb
msxml3: Store xmlnode structure instead of pointer in node implementations.
2009-10-15 12:06:17 +02:00
Alexandre Julliard
fa6ffb4d5d
Fix empty function prototypes.
2009-10-07 12:24:53 +02:00
Jacek Caban
83e912743c
msxml3: Get rid of node internal IUnknown.
2009-09-30 16:36:55 +02:00
Jacek Caban
4ca6e39f64
msxml3: Store xmlnode pointer in dom_pi.
2009-09-30 16:31:54 +02:00
Jacek Caban
2ed8402597
msxml3: Store xmlnode pointer in entityref.
2009-09-30 16:31:48 +02:00
Jacek Caban
8513db208d
msxml3: Store xmlnode pointer in domfrag.
2009-09-30 16:31:41 +02:00
Jacek Caban
3d16dc095f
msxml3: Store xmlnode pointer in domcomment.
2009-09-30 16:31:34 +02:00
Jacek Caban
bd407680c6
msxml3: Store xmlnode pointer in domcdata.
2009-09-30 16:31:26 +02:00
Jacek Caban
f78f5a6110
msxml3: Store xmlnode pointer in domattr.
2009-09-30 16:31:12 +02:00
Jacek Caban
321a8e2268
msxml3: Store pointer to node object in domtext.
2009-09-30 16:30:57 +02:00
Alistair Leslie-Hughes
30087f9660
msxml3: Add IDispatchEx support to IXMLDOMElement.
2009-09-10 10:49:17 +02:00
Alexandre Julliard
5be5e06e12
msxml3: Move typelib definitions out of #ifdef HAVE_LIBXML2.
2009-09-01 14:05:02 +02:00
Jacek Caban
c4a9d1cfa2
msxml3: Added more IDispatchEx tests.
2009-08-29 17:13:04 +02:00
Jacek Caban
cdc8e02f5b
msxml3: Use IXMLDOMSelection as a main queryresult interface.
2009-08-29 17:13:00 +02:00
Jacek Caban
7b30c79cfd
msxml3: Moved IDispatchEx implementation from domdoc to xmlnode.
2009-08-29 17:12:57 +02:00
Jacek Caban
c2b2e1ea9b
msxml3: Get rid of not used aggregation support in domelement.
2009-08-24 15:17:31 +02:00
Jacek Caban
438ff138d2
msxml3: Store xmlnode object in domdoc.
2009-08-21 13:50:36 +02:00
Jacek Caban
38c0667334
msxml3: Store xmlnode object in domelem.
2009-08-21 13:50:20 +02:00
Jacek Caban
d48246e1cc
msxml3: Return xmlnode object from create_basic_node.
2009-08-21 13:50:11 +02:00
Alistair Leslie-Hughes
89c92bee63
msxml3: Support loading windows file paths.
2009-08-19 17:27:41 +02:00
Alexandre Julliard
2ce5dba498
msxml3/tests: Use the global wine_dbgstr_w instead of a local variant.
2009-08-19 13:36:55 +02:00
Jacek Caban
7447145d64
msxml3: Optimize bstr_from_xmlChar implementation.
2009-08-14 13:59:10 +02:00
Alistair Leslie-Hughes
489c1a8d43
msxml3: Register missing MXXMLWriter interfaces.
2009-08-14 13:59:10 +02:00
Alistair Leslie-Hughes
e00425e6c4
msxml3: IXMLDOMElement doesn't support IObjectIdentity.
2009-08-14 13:59:10 +02:00
Gerald Pfeifer
875f0c2470
msxml3: Tweak two assertions.
2009-06-01 16:16:04 +02:00
Francois Gouget
5ef481922f
Assorted spelling fixes.
2009-04-20 15:25:26 +02:00
Michael Stefaniuc
947bf5834f
msxml3: Change the remaining long variables to LONG.
2009-03-10 12:06:30 +01:00
Michael Stefaniuc
de68b01e8c
msxml3: Change long to LONG in msxml.idl.
2009-03-10 12:06:21 +01:00
Michael Stefaniuc
bd87b49614
msxml3: Change long to LONG in msxml2.idl and xmldom.idl.
2009-03-10 12:06:14 +01:00
Alistair Leslie-Hughes
17db41c349
msxml3: Use our parent doc if we don't have one.
2009-02-09 17:17:09 +01:00