Michael Karcher
e55da04e77
msxml3: Avoid duplicate encoding.
...
The libxml documentation suggests to either use
xmlEncodedEntitiesReentrant or xmlEncodeSpecialChars, but if you apply
both, you end up producing "&".
2008-12-01 14:22:12 +01:00
Michael Karcher
00c57d6bbc
msxml3: IXMLCDATASection is not an element.
2008-10-31 13:26:53 +01:00
Alistair Leslie-Hughes
13606ed49d
msxml3: Add support to get_nodeTypedValue on Element Nodes.
2008-10-28 12:46:29 +01:00
Michael Karcher
f5ac0f3277
msxml3/tests: Fix assorted memory leaks.
2008-10-13 11:52:31 +02:00
Michael Karcher
b7ac3bde68
msxml3: IXMLDOMNode_put_nodeValue: Use variant coercion.
2008-10-13 11:51:34 +02:00
Michael Karcher
c729305511
msxml3: Correct handling of listLength == NULL in IXMLDOMNamedNodeMap::get_length.
2008-10-13 11:51:02 +02:00
Michael Karcher
dfc5a00cb0
msxml3: Implementation of IXMLDOMNamedNodeMap::removeNamedItem.
2008-10-13 11:50:52 +02:00
Michael Karcher
9fe98546e4
msxml3: Text node should not aggregate element.
2008-10-10 12:26:52 +02:00
Alistair Leslie-Hughes
bcc1fda727
msxml3: Add IXMLHTTPRequest support.
2008-10-09 13:15:16 +02:00
Michael Stefaniuc
256ce911be
msxml3/tests: Use SUCCEEDED instead of !FAILED.
2008-10-08 13:43:04 +02:00
Paul Vriens
59f8cd533d
msxml3/tests: Compare instead of assign.
2008-10-08 12:20:28 +02:00
Michael Karcher
57ee10ff12
msxml3: Revert "Simplify IXMLDOMNode::removeChild".
...
The simplification was bad, native msxml works if interface pointers
to the wrong interface are passed in. Tests included.
2008-10-07 13:45:40 +02:00
Michael Karcher
91513caa16
msxml3: Handle all variant types in IXMLDOMDocument::createNode.
2008-10-07 13:42:16 +02:00
Michael Karcher
27e9a98350
msxml3: replaceNode accepts IXMLDOMElement instead of IXMLDOMNode.
2008-10-07 13:42:05 +02:00
Michael Karcher
6fe686f599
msxml3: Basic implementation of IXMLDOMNode::replaceChild.
2008-10-07 13:41:54 +02:00
Michael Karcher
2a21579b08
msxml3/tests: Valgrind fix.
2008-10-07 13:41:43 +02:00
Michael Karcher
9d65ec2702
msxml3: Parameter validation for IXMLDOMNode::replaceChild and tests.
2008-10-06 14:19:37 +02:00
Michael Karcher
30351482e8
msxml3: Fail a bit earlier on removeChild(...,NULL,...).
2008-10-06 14:19:11 +02:00
Michael Karcher
75606f3583
msxml3: removeChild can only delete direct children.
2008-10-06 14:19:04 +02:00
Michael Karcher
d1c8083b93
msxml3/tests: Clean up test_removeChild.
...
Rename variables to help the reader following the xml traversal. While doing
that, I encountered a possible typo, as node_list2 was never used after being
acquired. This version now really tries to delete a grandchild and expects
a failure.
2008-10-06 14:18:55 +02:00
Michael Stefaniuc
1949a8c245
msxml3/tests: Remove redundant NULL check before SysFreeString (Smatch).
2008-09-25 11:18:57 +02:00
Alistair Leslie-Hughes
8af99c9751
msxml3: Correct test.
2008-09-15 11:47:56 +02:00
Alistair Leslie-Hughes
5e1ac66b25
msxml3: Add IDispatchEx test.
2008-09-03 14:21:45 +02:00
Alistair Leslie-Hughes
ac29a3d838
msxml3: Correct unsupported functions in IDispatchEx.
2008-08-27 13:21:24 +02:00
Piotr Caban
2841755c16
msxml3: Added IDispatchEx QueryInterface test.
2008-08-22 10:42:37 +02:00
Alistair Leslie-Hughes
95660514d3
msxml3: Format get_xml string to be more like msxml3.
2008-07-28 14:29:07 +02:00
Detlef Riekenberg
50840ec3be
msxml3/tests: Fix failure and crash on win9x.
2008-07-23 13:06:22 +02:00
Zhangrong Huang
89f1bfabe3
msxml3: Add support for accessing document node.
2008-07-16 19:56:24 +02:00
Piotr Caban
93e76ece37
msxml3: oldChild in xmlnode_removeChild may be NULL.
2008-07-10 18:11:22 +02:00
Francois Gouget
c3a952eb48
msxml3/tests: Add a trailing '\n' to ok() calls.
2008-07-10 12:18:23 +02:00
Alexandre Julliard
33128dbb22
msxml3/tests: Fix test cleanup.
2008-07-09 11:46:44 +02:00
Piotr Caban
616fd82062
msxml3: Skip the first XML declaration in file generated by domdoc_save.
...
This is the last patch needed for Photoshop CS3 installer.
2008-07-09 11:31:23 +02:00
Piotr Caban
82b2a83337
msxml3: Added test of files generated by IXMLDOMDocument_save.
2008-07-09 11:31:23 +02:00
Piotr Caban
800463c21b
msxml3: Implemented xmlnode_get_ownerDocument.
2008-07-09 11:31:23 +02:00
Alexandre Julliard
79c64acc7b
tests: Don't depend on the static uuid libraries in the tests.
...
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Zhangrong Huang
86a0643df8
msxml3/test: Fix a typo in test node_to_string().
2008-07-03 13:08:19 +02:00
Alistair Leslie-Hughes
746cdb4a6d
msxml3: Added tests to check for invalid arguments.
2008-07-03 13:08:18 +02:00
Alistair Leslie-Hughes
d659e63d73
msxml3: Added support to create an Attribute in createNode.
2008-07-03 11:50:51 +02:00
Piotr Caban
c0661fdb90
msxml3: Added IXMLDOMElement_getAttributeNode implementation.
2008-07-02 11:37:09 +02:00
Piotr Caban
bd4e7379ae
msxml3: Added IXMLDOMElement_getAttributeNode test.
2008-07-02 11:37:05 +02:00
Dan Kegel
d38dc0233a
msxml/tests: Use VariantInit, not VariantClear, to initialize new variants.
2008-06-06 10:28:42 +02:00
Alistair Leslie-Hughes
6a90c5890c
msxml3: Stopped tests from crashing and a Win98 fix.
2008-05-26 17:55:19 +02:00
Francois Gouget
9787d68941
msxml3/tests: Add a trailing '\n' to an ok() call.
2008-05-06 16:10:04 +02:00
Alistair Leslie-Hughes
ad1f05f961
msxml3: Implement IXMLDOMComment insertData.
2008-04-29 14:58:11 +02:00
Alistair Leslie-Hughes
42db8b439f
msxml3: Corrected transformNode.
2008-04-25 14:47:55 +02:00
Alistair Leslie-Hughes
a430b37355
msxml3: Add tests for get_prefix and get_namespaceURI.
2008-04-21 12:10:37 +02:00
Alistair Leslie-Hughes
880bacb5f1
msxml3: Implement transformNode.
2008-04-17 12:25:29 +02:00
Austin English
05faae7b5a
Spelling fixes.
2008-04-09 12:07:39 +02:00
Francois Gouget
304b415284
Assorted spelling fixes.
2008-03-19 11:21:27 +01:00
Alistair Leslie-Hughes
8746e38758
msxml3: Implemented IXMLDOMCDATASection_insertData.
2008-03-13 20:21:15 +01:00
Alistair Leslie-Hughes
9b3234eb35
msxml3: Implement IXMLDOMComment_appendData.
2008-03-13 20:21:02 +01:00
Alistair Leslie-Hughes
52f6a33a85
msxml3: Cannot use put_nodeValue on a IXMLDOMProcessingInstruction node whose target is xml.
2008-03-13 11:31:32 +01:00
Alistair Leslie-Hughes
6167c6122a
msxml3: Allow IXMLDOMDocument to save as another IXMLDOMDocument.
2008-03-12 12:25:19 +01:00
Alistair Leslie-Hughes
17bf0d9164
msxml3: Corrected double free in test.
2008-03-11 13:26:11 +01:00
Alistair Leslie-Hughes
036953842d
msxml3: Implemented IXMLDOMText_insertData.
2008-03-10 19:12:53 +01:00
Alistair Leslie-Hughes
675ed5a9b4
msxml3: Implement IXMLDOMCDATASection_appendData.
2008-03-10 12:23:17 +01:00
Alistair Leslie-Hughes
c7f3dfc1a1
msxml3: Implement IXMLDOMCDATASection_substringData.
2008-03-10 12:23:06 +01:00
Alistair Leslie-Hughes
777aa3382d
msxml3: Implement IXMLDOMComment_substringData.
2008-03-10 12:22:53 +01:00
Alistair Leslie-Hughes
8ac57e940b
msxml3: Stopped seg faults during regression tests on windows.
2008-03-05 11:20:26 +01:00
Alistair Leslie-Hughes
6dee6819b2
msxml3: Implement IXMLDOMProcessingInstruction_get_nodeName.
2008-03-03 11:57:49 +01:00
Alistair Leslie-Hughes
56da338e5c
msxml3: Implmented IXMLDOMCDATASection_get_data.
2008-03-03 11:57:42 +01:00
Alistair Leslie-Hughes
c43b0706a3
msxml3: Implement IXMLDOMCDATASection_get_nodeValue.
2008-03-03 11:57:28 +01:00
Alistair Leslie-Hughes
f9c5856c8c
msxml3: Implement IXMLDOMText_appendData.
2008-03-03 11:57:20 +01:00
Alistair Leslie-Hughes
a7c9fbc65c
msxml3: Implemented IXMLDOMText substringData.
2008-02-29 20:07:13 +01:00
Alistair Leslie-Hughes
c61937b6d4
msxml3: Correct IXMLDOMProcessingInstruction_put_data function.
2008-02-29 12:35:43 +01:00
Alistair Leslie-Hughes
f9d89ed36a
msxml3: Implement IXMLDOMComment_get_data.
2008-02-28 12:56:55 +01:00
Alistair Leslie-Hughes
c48ad71068
msxml3: Implement IXMLDOMText_get_data.
2008-02-28 12:56:46 +01:00
Alistair Leslie-Hughes
a1f5fef880
msxml3: Implement IXMLDOMComment_get_nodeValue.
2008-02-28 12:56:34 +01:00
Alistair Leslie-Hughes
0d4db95d99
msxml3: Implement IXMLDOMCDATASection_get_length.
2008-02-27 14:52:23 +01:00
Alistair Leslie-Hughes
be435c47cb
msxml3: Implement IXMLDOMComment_get_length.
2008-02-27 14:52:23 +01:00
Alistair Leslie-Hughes
5579d2f995
msxml3: Tests for put_data.
2008-02-25 13:40:56 +01:00
Alistair Leslie-Hughes
93d1c2755a
msxml3: Added PI tests.
2008-02-21 12:26:38 +01:00
Alistair Leslie-Hughes
3c4cc5fb88
msxml3: Implement put_dataType.
2008-02-20 12:09:49 +01:00
Alistair Leslie-Hughes
72e70a0122
msxml3: Implement IXMLDOMText length property.
2008-02-19 14:17:33 +01:00
Alistair Leslie-Hughes
e9063b7776
msxml3: Implement IXMLDOMAttribute name property.
2008-02-16 16:02:21 +01:00
Alistair Leslie-Hughes
701991ca32
msxml3: Implement IXMLDOMProcessingInstruction target.
2008-02-16 16:02:15 +01:00
Reece H. Dunn
fb36abaee9
msxml3: Fix the domdoc test failures.
2008-02-05 12:44:26 +01:00
Alistair Leslie-Hughes
d4a4b12a43
msxml3: Corrected Entity Reference Test.
2008-02-04 14:18:20 +01:00
Alistair Leslie-Hughes
b7e6906c2d
msxml3: Validated attribute name.
2008-02-04 14:18:20 +01:00
Alistair Leslie-Hughes
a81d22d423
msxml3: Implement IXMLDOMEntityReference interface.
2008-01-22 11:59:54 +01:00
Alistair Leslie-Hughes
c40d4997b3
msxml3: Implement IXMLDOMDocumentFragment Interface.
2008-01-21 12:36:39 +01:00
Alistair Leslie-Hughes
ed5a22fb29
msxml3: Implement IXMLDOMImplementation Interface.
2008-01-18 11:56:58 +01:00
Alistair Leslie-Hughes
055b5e44fe
msxml3: Implement get_nodeTypeString.
2008-01-16 12:16:39 +01:00
Alistair Leslie-Hughes
b2101b8177
msxml3: Implement put_text.
2008-01-16 12:16:25 +01:00
Alistair Leslie-Hughes
83300893a2
msxml3: Corrected getAttribute to return current value and assign output var.
2008-01-14 15:53:05 +01:00
Alistair Leslie-Hughes
b9e9e041e8
msxml3: Implemented IXMLDOMCDATASection COM Object.
2008-01-14 15:52:34 +01:00
Alistair Leslie-Hughes
e989d48f43
msxml3: Implement get_dataType.
2008-01-14 15:51:37 +01:00
Marcus Meissner
9bccd06bf9
msxml3: Move potential NULL ptr derefs into their if () case.
2008-01-11 12:24:14 +01:00
Alistair Leslie-Hughes
8e1e3e5c51
msxml3: Fix memory leak in test.
2008-01-11 12:24:03 +01:00
Alistair Leslie-Hughes
e906b136eb
msxml3: get_attributes not supported for Attribute, CData, Comment, Doc, Doc Frag, Entity and Text Nodes.
2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes
2896c46245
msxml3: previousSibling not supported for Attribute, Document and Document Fragment Nodes.
2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes
f31cd30841
msxml3: createProcessingInstruction: Check arguments are valid.
2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes
91ad27ea25
msxml3: lastChild not supported for CDATASection, Comment, PI and Text Nodes.
2008-01-09 13:38:02 +01:00
Alistair Leslie-Hughes
4e908f65fb
msxml3: nextSibling not supported for Attribute, Document and Document Fragment Nodes.
2008-01-09 13:38:02 +01:00
Francois Gouget
ca64f7c75a
msxml3/tests: Add the trailing '\n' to an ok() call.
2008-01-07 12:37:02 +01:00
Alistair Leslie-Hughes
667df8e47f
msxml3: Tests for get_xml, createAttribute, CreateComment, setNamedItem.
2008-01-04 12:00:41 +01:00
Alistair Leslie-Hughes
300191d58c
msxml3: Implement createAttribute.
2008-01-04 11:58:39 +01:00
Alistair Leslie-Hughes
2e3f5243ca
msxml3: Implement createComment.
2008-01-04 11:58:16 +01:00
Alistair Leslie-Hughes
7c1a7491ec
msxml3: Return E_INVALIDARG when value is NULL.
2008-01-03 13:30:41 +01:00
Alistair Leslie-Hughes
3b43ea73ef
msxml3: Fix memory leaks in tests.
2007-12-24 13:31:02 +01:00
Alistair Leslie-Hughes
497c2949c7
msxml3: Fix memory leak in tests.
2007-12-14 12:26:33 +01:00
Alistair Leslie-Hughes
93b6476671
msxml3: Fix memory leak in test.
2007-12-11 12:09:22 +01:00
Alistair Leslie-Hughes
e3bfe193ca
msxml3: Fix memory leaks.
2007-12-10 12:27:18 +01:00
Alistair Leslie-Hughes
86af5b9754
msxml3: Implement cloneNode.
2007-12-07 17:36:01 +01:00
Alistair Leslie-Hughes
f35673e9e9
msxml: Tests for createTextNode.
2007-11-21 12:55:35 +01:00
Alistair Leslie-Hughes
9845a9ced4
msxml: Added test for get_text.
2007-11-21 12:54:25 +01:00
Alistair Leslie-Hughes
9c657b26af
msxml: Test for insertBefore with a NULL output parameter.
2007-11-15 11:11:27 +01:00
Alistair Leslie-Hughes
fad20c9ce0
msxml3: Enable test for bad argument / fix memory leak.
2007-11-13 15:06:11 +01:00
Francois Gouget
2993785f3a
Assorted non-ANSI function declaration fixes (missing void).
2007-08-30 11:57:18 +02:00
Mikołaj Zalewski
37ea00731a
msxml3: Add tests for XPath queries with namespaces.
2007-05-18 19:59:52 +02:00
Mikołaj Zalewski
b5c1d274c5
msxml3: For queries the get_item should change the current position.
2007-05-18 19:59:45 +02:00
Mikołaj Zalewski
e1cbec75c1
msxml3: Improve the XPath queries handling.
2007-05-18 14:50:21 +02:00
Mikołaj Zalewski
bf3849ad6f
msxml3: Implement IXMLDOMDocument2::setProperty("SelectionLanguage", ...).
2007-05-14 14:22:08 +02:00
Huw Davies
9ceb5a3ea7
msxml3: Convert the domdoc object to use the IXMLDOMDocument2 interface.
2007-02-26 17:33:45 +01:00
Paul Vriens
695fa7542a
msxml3/tests: Cast-qual warning fixes.
2007-01-24 11:59:08 +01:00
Colin Pitrat
f57bf10024
msxml: nextNode and reset functions.
2006-12-29 12:49:40 +01:00
Rob Shearman
588e423bde
msxml3: Add a simple test for XMLHTTP.
2006-12-28 12:23:45 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +01:00
Huw Davies
9e1284df23
msxml3: Add the CLSID_DOMDocument define in msxml2.idl to match the PSDK.
2006-11-14 11:42:17 +01:00
Hans Leidekker
fe1f3b0da5
msxml3/tests: Win64 printf format warning fixes.
2006-10-13 14:49:46 +02:00
Dan Hipschman
47b6d3a1e3
msxml3: Fix IXMLDOMNamedNodeMap_getNamedItem() conformance on error.
2006-09-21 11:26:25 +02:00
Huw Davies
a307901ac0
msxml3: removeChild should catch a NULL child node.
2006-07-19 09:38:35 +02:00
Huw Davies
120e808f13
msxml3: Add a test to check that selectSingleNode returns a NULL-ptr when it doesn't find a match.
2006-07-19 09:38:29 +02:00
Huw Davies
187ab1c028
msxml3: Implement removeChild.
2006-07-11 12:05:06 +02:00
Huw Davies
54c85d3d04
msxml3: Always have a libxml doc associated with a domdoc object, even if the object has no nodes.
...
This means we don't need to add checks for NULL libxml node ptrs in our node implementation.
2006-06-27 21:14:02 +02:00
Robert Shearman
79b2742120
msxml3: Fix domelem_get_tagName to return a string with the namespace prefixed, if it is present.
2006-06-12 15:56:23 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Huw Davies
4eb389bbdf
msxml3: Fix for empty node lists.
2006-02-24 11:21:37 +01:00
Huw Davies
04d5d0a630
msxml3: Fix get_text on text nodes.
2006-02-16 19:33:39 +01:00
Huw Davies
1c3daceb00
msxml: Implement getElementsByTagName.
2006-02-14 10:38:21 +01:00
Huw Davies
5673a58297
msxml: Add ISupportErrorInfo for named node maps.
2006-02-10 15:14:33 +01:00
Huw Davies
e7187ff31f
msxml: Fix for get_nodeValue on attributes.
2006-01-16 20:43:02 +01:00
Huw Davies
65707fb940
msxml: Implement setAttribute.
2006-01-16 20:42:39 +01:00
Huw Davies
d9fc6985fa
msxml: Implement getAttribute.
2006-01-14 17:05:32 +01:00
Huw Davies
50c64c04df
msxml: Implement createNode, appendChild and insertAfter.
2006-01-11 21:15:12 +01:00
Huw Davies
a48bb7b3de
msxml: It's valid to release an empty document.
2006-01-10 19:58:42 +01:00
Huw Davies
3f6bb98f39
Make the node object aggregatable so that the element object (and in
...
future all of the other node types) can use it.
2005-12-01 18:46:42 +01:00
Huw Davies
f0c1e349e1
Release a stray node.
2005-11-23 14:30:22 +01:00
Huw Davies
c868b45113
Ref count the xmlDocPtr.
...
If two nodes refer to the same xmlNodePtr don't return same object.
2005-11-18 15:05:26 +00:00
Francois Gouget
f4c0524ec6
Assorted spelling and case fixes.
2005-11-10 11:39:07 +00:00
Francois Gouget
2adb302a99
Add trailing '\n's to ok() and TRACE() calls.
2005-11-10 11:17:38 +00:00
Huw Davies
5b8be5dca6
Include msxml2.h rather than msxml.h and xmldom.h.
2005-11-08 19:59:36 +00:00
Huw Davies
c36873602a
Implement selectSingleNode.
2005-11-08 16:10:13 +00:00
Huw Davies
52e8200cee
Implement get_parseError.
2005-11-08 13:10:49 +00:00
Huw Davies
3d0c66277a
Filter out CTEXT nodes when building element child lists.
...
get_item and get_length should honour the filter.
Add some '\n's to the tests so that libxml2 lists CTEXT nodes.
2005-11-05 10:42:45 +00:00
Stefan Huehner
5834740231
Add indexed access to attributes (nodemap) and childNodes
...
(nodelist), with some testcases.
2005-11-03 12:04:52 +00:00
Stefan Huehner
d148ca4e0a
Extend get_nodeName add testcases for it.
2005-11-02 19:55:30 +00:00
Stefan Huehner
927ba076f1
Fix IXMLDOMDocument error handling.
2005-10-26 10:09:22 +00:00
Mike McCormack
3b7e1ed1ea
Add some node tests.
2005-08-23 09:37:42 +00:00
Mike McCormack
cab04351d7
Add some msxml3 tests.
2005-08-12 11:25:05 +00:00