Commit Graph

594 Commits

Author SHA1 Message Date
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