Nikolay Sivov
ede880a1c3
msxml3: Return qualified name from get_nodeName().
2011-11-16 09:42:25 +01:00
Nikolay Sivov
12bb4a471f
msxml3: Fix get_namespaceURI().
2011-11-16 09:42:20 +01:00
Nikolay Sivov
588f27dae9
msxml3: Properly return node prefix from get_prefix().
2011-11-16 09:42:03 +01:00
Nikolay Sivov
f87aee778d
msxml3: Properly handle qualified names in getAttributeNode().
2011-11-15 19:37:29 +01:00
Nikolay Sivov
6d4c1931f9
msxml3: Added IDispatchEx support for IXMLDOMImplementation.
2011-11-15 19:37:29 +01:00
Nikolay Sivov
02cd5a008f
msxml3: Fix getNamedItem() for qualified node names.
2011-11-14 15:25:23 +01:00
Nikolay Sivov
de8e11f5d8
msxml3: Move XSLPattern test data to a table.
2011-11-08 09:49:52 +01:00
Nikolay Sivov
ff0bc51f9d
msxml3: Test that IXMLHTTPRequest doesn't support IDispatchEx.
2011-11-08 09:49:48 +01:00
Nikolay Sivov
674fb3c096
msxml3: Some tests to show that leading spaces are not allowed for xml stream.
2011-11-08 09:49:44 +01:00
Nikolay Sivov
9397fb2ad7
msxml3: Implement get_srcText().
2011-11-08 09:49:40 +01:00
Nikolay Sivov
945dccb7d6
msxml3: Implement get_line() and get_linepos().
2011-11-08 09:49:36 +01:00
Nikolay Sivov
2ce0f8fd73
msxml3: Fix collection index based support for IXMLDOMSelection.
2011-11-07 11:22:33 +01:00
Nikolay Sivov
70e0290dcf
msxml3: Add IDispatchEx support for IXMLDOMNamedNodeMap.
2011-11-07 11:22:23 +01:00
Nikolay Sivov
5ea259e8e4
msxml3: Support IDispatch in IXMLElement.
2011-11-07 11:22:09 +01:00
Nikolay Sivov
c32db17417
msxml3: Fix IDispatch support for IXMLDocument.
2011-11-07 11:21:40 +01:00
Nikolay Sivov
7a62e46fa1
msxml3: Support IDispatchEx for IXMLDOMParseError.
2011-11-02 12:28:40 +01:00
Nikolay Sivov
8bd54c56e7
msxml3: Init IDispatchEx data for all node types.
2011-10-31 23:53:37 +01:00
Piotr Caban
0fa2cf4100
msxml3/tests: Added NamespaceUri pointer test.
2011-10-31 16:53:00 +01:00
Piotr Caban
e6aace7a85
msxml3/tests: Added SAXAttributes object pointer tests.
2011-10-31 16:52:39 +01:00
Nikolay Sivov
4bb9da7776
msxml3: Implement IEnumVARIANT::Next() for IXMLDOMSelection.
2011-10-31 16:46:21 +01:00
Nikolay Sivov
fe1f692d91
msxml3: Block attempt to modify namespace definition with setAttribute().
2011-10-27 19:34:36 +02:00
Piotr Caban
df5d3e348a
msxml3/tests: Added element attributes tests when SAXXMLReader is used.
2011-10-26 14:14:36 +02:00
Piotr Caban
6238926a2e
msxml3/tests: Tests more XMLSAXReader versions.
2011-10-25 16:57:23 +02:00
Piotr Caban
5eb6994dc2
msxml3/tests: Added saxreader error handling test.
2011-10-24 19:54:15 +02:00
Nikolay Sivov
a3a1f4e3fb
msxml3: Add stub IEnumVARIANT support for IXMLDOMSelection.
2011-10-24 11:18:19 +02:00
Nikolay Sivov
ae6ea94bb3
msxml3: Don't try to use null interface pointer.
2011-10-24 11:18:09 +02:00
Nikolay Sivov
54326116da
msxml3: Use provided qualified name length while writing end element tag.
2011-10-05 17:31:31 -05:00
Nikolay Sivov
3d3786c2fa
msxml3: Support setting namespaces feature to default value.
2011-10-05 14:13:16 -05:00
Alistair Leslie-Hughes
5df9ff3aa9
msxml3: Support creating IXMLParser Interface.
2011-09-26 22:42:01 +02:00
Nikolay Sivov
7db7d857c5
msxml3: Fix putProperty() for declaration handler.
2011-09-22 19:51:50 +02:00
Nikolay Sivov
864f17016f
msxml3: Fix putProperty() for lexical handler case.
2011-09-22 19:51:50 +02:00
Alistair Leslie-Hughes
3a63aebc1c
msxml3: Only compare strings if the transform was successful.
2011-09-07 18:13:50 +02:00
Alistair Leslie-Hughes
e108c2dbed
msxml3: Correct Objsafe tests for older msxml3.
2011-09-07 11:17:01 +02:00
Alistair Leslie-Hughes
33736bb871
msxml3: Correct MSXML object safety tests.
2011-09-06 15:58:35 +02:00
Octavian Voicu
9e3d83e003
msxml3/tests: Fix a warning in saxreader tests when compiling on x64.
2011-08-31 19:43:07 +02:00
Nikolay Sivov
2a6abc248d
msxml3: Use element name length passed to content handler.
2011-08-29 12:08:20 +02:00
Nikolay Sivov
9ae103f7f7
msxml3: Respect string length returned from ISAXAttributes.
2011-08-29 12:08:20 +02:00
Nikolay Sivov
d0413fd476
msxml3: Fix empty elements output.
2011-08-29 12:08:20 +02:00
Nikolay Sivov
d338323a0f
msxml3/tests: Tests for default properties values.
2011-08-26 11:32:06 +02:00
Nikolay Sivov
897b77ce05
msxml3: Fix attributes formatting.
2011-08-26 11:32:03 +02:00
Nikolay Sivov
0581360411
msxml3: Fix parameter validation for endElement().
2011-08-25 14:36:02 +02:00
Nikolay Sivov
25bf8e5387
msxml3: Fix parameter validation for startElement() for MXXMLWriter60.
2011-08-25 14:35:59 +02:00
Octavian Voicu
ace8b53418
msxml3/tests: Prevent crash in saxreader tests.
2011-08-25 11:31:54 +02:00
Francois Gouget
9ec291500b
msxml3/tests: Add a trailing '\n' to an ok() call.
2011-08-25 11:31:54 +02:00
Nikolay Sivov
74a7edd41b
msxml3: Implement put_version() for MXWriter.
2011-08-24 19:07:44 +02:00
Nikolay Sivov
9c2288fcee
msxml3/mxnamespace: Support prefix override mode.
2011-08-23 16:53:51 +02:00
Nikolay Sivov
a15fe5a755
msxml3/mxnamespace: Implemented getURI().
2011-08-23 16:53:51 +02:00
Nikolay Sivov
42f65e1358
msxml3/mxnamespace: Implement declarePrefix() and getDeclaredPrefix().
2011-08-23 16:53:50 +02:00
Nikolay Sivov
7f47d97e12
msxml3/mxnamespace: Stub IVBMXNamespaceManager and added some tests.
2011-08-23 16:53:50 +02:00
Thomas Mullaly
f1f57f2368
msxml3: Added IStream support to IMXWriter.
2011-08-23 16:53:49 +02:00
Thomas Mullaly
e4b7e96267
msxml3/tests: Added more IMXWriter tests.
2011-08-23 16:53:49 +02:00
Thomas Mullaly
ae36cd5f35
msxml3/tests: Added IStream tests for IMXWriter.
2011-08-23 16:53:49 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Francois Gouget
ed3c9a1eca
Assorted spelling fixes.
2011-08-03 14:15:48 +02:00
Andrew Nguyen
2ed7a025f6
msxml3/tests: Fix two minor leaks in test_mxwriter_properties().
2011-07-15 16:35:58 +02:00
Alistair Leslie-Hughes
5f1262825c
msxml3: clang corrections.
2011-07-05 13:53:26 +02:00
Alistair Leslie-Hughes
24d77c263d
msxml3: Improve namespace tests to highlight get nodeName issue.
2011-06-29 10:08:11 -05:00
Adam Martinson
4f58e11601
msxml3: Add support for VT_BSTR|VT_BYREF in domdoc_save().
2011-06-21 12:25:33 +02:00
Adam Martinson
f730d13c84
msxml3/domdoc: Add support for VT_ARRAY|VT_UI1 in domdoc_load().
2011-05-20 17:56:58 +02:00
Francois Gouget
5920de5ffb
Assorted spelling and case fixes.
2011-05-09 12:09:27 +02:00
Nikolay Sivov
53efed9112
msxml3: Support get/set for disableOutputEscaping() property.
2011-05-09 11:44:30 +02:00
Nikolay Sivov
d4fd125944
msxml3: Support byteOrderMark() property.
2011-05-09 11:44:30 +02:00
Nikolay Sivov
8cefe9b071
msxml3: Store raw text data passed through characters().
2011-05-09 11:44:30 +02:00
Nikolay Sivov
630e5f81fe
msxml3: Support indent() property.
2011-05-09 11:44:30 +02:00
Nikolay Sivov
2dfa1bffc4
msxml3: Support attributes list for elements.
2011-05-09 11:44:30 +02:00
Nikolay Sivov
b63778656e
msxml3: Basic support for startElement()/endElement().
2011-05-09 11:44:30 +02:00
Adam Martinson
11df66af0b
msxml3: Don't add a <?xml...?> decl in domdoc_get_xml().
2011-05-05 11:46:33 +02:00
Nikolay Sivov
6e123f3cbf
msxml3: Basic tests for startElement().
2011-05-04 17:26:47 +02:00
Nikolay Sivov
020bf5a18e
msxml3: Add support for omitXMLDeclaration() property.
2011-05-04 17:26:47 +02:00
Nikolay Sivov
c8f9c4581c
msxml3: Basic support for startDocument().
2011-05-02 12:47:43 +02:00
Nikolay Sivov
e93125f31b
msxml3: Basic support for encoding property.
2011-05-02 12:47:25 +02:00
Nikolay Sivov
92668f1d30
msxml3: Store stream reference as destination.
2011-05-02 12:47:16 +02:00
Nikolay Sivov
1d816be12e
msxml3: Add support for standalone property.
2011-05-02 12:47:06 +02:00
Nikolay Sivov
387966c48a
msxml3: Add ISAXContentHandler stub for MXXMLWriter.
2011-05-02 12:46:57 +02:00
Francois Gouget
ffbde17b32
msxml3/tests: Fix variable initializations to conform to C89.
2011-04-08 13:03:21 +02:00
Francois Gouget
7c676fbfd4
msxml3/tests: Add a '\n' to an ok() call.
2011-03-30 18:23:37 +02:00
Alexandre Julliard
8e59bbb027
msxml3/tests: Avoid size_t in a trace.
2011-03-28 21:22:47 +02:00
Nikolay Sivov
64e5a6a257
msxml3: Allow to create dummy node map for <?xml ?>.
2011-03-28 17:31:51 +02:00
Nikolay Sivov
e5e0b84200
msxml3: More tests for <?xml ?> attributes.
2011-03-28 17:31:46 +02:00
Nikolay Sivov
61f693846a
msxml3: Initial tests for IObjectWithSite support for httprequest.
2011-03-28 17:31:40 +02:00
Nikolay Sivov
ae2057cbb8
msxml3: Clean formatting chars before passing to base64 decoder.
2011-03-17 13:06:51 +01:00
Nikolay Sivov
cde8e6c8cc
msxml3: Support VT_BSTR|VT_BYREF as source in load().
2011-03-16 14:14:22 +01:00
Nikolay Sivov
59f64b2896
msxml3: Merge save() tests to a single function.
2011-03-16 14:14:22 +01:00
Nikolay Sivov
c26c55995a
msxml3: Add IXMLDOMSelection stub.
2011-03-14 12:38:59 +01:00
Nikolay Sivov
c48b7566bd
msxml3: Unlink node first before adding it as a child.
2011-03-14 12:19:01 +01:00
Nikolay Sivov
68cc66d800
msxml3: Fix reference counting behaviour for named map.
2011-03-11 11:49:04 +01:00
Nikolay Sivov
710b643b2f
msxml3: Some get_attributes() tests.
2011-03-10 14:10:16 +01:00
Nikolay Sivov
6194d30145
msxml3: Put together similar tests using tabled test data.
2011-03-09 12:29:44 +01:00
Nikolay Sivov
0ecc9201c3
msxml3: Fix some leaks in tests.
2011-03-08 17:28:35 +01:00
Nikolay Sivov
1b1c4c0140
msxml3: Merge obsolete interfaces tests in a single file.
2011-03-08 12:29:26 +01:00
Nikolay Sivov
f9f431186f
msxml3: Implemented get_doctype() with basic tests.
2011-03-07 13:19:11 +01:00
Nikolay Sivov
46fa479105
msxml3: Implement get_nodeTypedValue() for nodes that can't have type.
2011-03-07 13:19:05 +01:00
Nikolay Sivov
0f3c247e46
msxml3: Properly update xmldoc refcounts on insertBefore().
...
insertBefore() is able to work on nodes from different documents, so on
adding child or sibling it's possible that libxml2 switches doc pointer
for a node, we need to update refcounts to cover that case.
2011-03-07 13:18:55 +01:00
Nikolay Sivov
14ec98bd14
msxml3: Test to show namespace definition output for children.
2011-03-04 16:26:00 +01:00
Nikolay Sivov
179daa20b9
msxml3: Remove child with parent method first before insert with insertBefore().
2011-03-04 16:26:00 +01:00
Nikolay Sivov
756ae9e3ee
msxml3: Test insertBefore() behaviour with node relinking, simplify common test cases.
2011-03-04 16:25:59 +01:00
Nikolay Sivov
59f7b8899b
msxml3: Link dom attribute with parent interface pointer.
2011-03-03 17:47:13 +01:00
Nikolay Sivov
d04fd1d067
msxml3: Fail on certain node types in insertBefore() for attributes, remove broken tests.
2011-03-03 17:47:12 +01:00
Nikolay Sivov
a22096c90c
msxml3: Add get_output() implementation for processor.
2011-03-01 13:21:58 +01:00
Nikolay Sivov
0c16c79c71
msxml3: Reject xmlns attribute to be added to element.
2011-02-28 11:09:07 +01:00
Nikolay Sivov
4e5075bcc4
msxml3/tests: Remove broken test and parameter check.
2011-02-28 11:09:04 +01:00
Austin English
37e6dc0846
msxml3/tests: Remove win9x hacks.
2011-02-25 11:08:31 +01:00
Alistair Leslie-Hughes
955685a777
msxml3: Add IObjectSafety support to IXMLHTTPRequest.
2011-02-22 16:34:46 +01:00
Nikolay Sivov
df08e9b4f6
msxml3: Store document event handler for ready state notification.
2011-02-22 12:28:25 +01:00
Alistair Leslie-Hughes
27bb5a0f52
msxml3: Add IObjectWithSite support to IXMLHttpRequest.
2011-02-18 17:03:01 +01:00
Nikolay Sivov
edeff310b1
msxml3: Null pointer for schema uri should be treated as empty.
2011-02-17 17:27:22 +01:00
Nikolay Sivov
4e079d6b3d
msxml3: Initial implementation of transform() method.
2011-02-16 16:49:34 +01:00
Nikolay Sivov
bb47bab7ce
msxml3: Store output stream for processor.
2011-02-16 16:49:21 +01:00
Nikolay Sivov
392934af90
msxml3: Basic put_input() method for IXSLProcessor.
2011-02-16 16:48:51 +01:00
Nikolay Sivov
8fdf64e882
msxml3: Add a stub IXSLProcessor.
2011-02-15 16:51:30 +01:00
Nikolay Sivov
855ca45f29
msxml3: Add basic putref_stylesheet() implementation.
2011-02-15 16:51:30 +01:00
Austin English
cbbb4b8dbf
msxml3/tests: Make sure return value is used (LLVM/Clang).
2011-02-10 10:28:01 -06:00
Austin English
fd2c5bb32e
msxml3/tests: Remove unneeded assignment (LLVM/Clang).
2011-02-08 14:45:54 -06:00
Nikolay Sivov
f6ce8b7196
msxml3/tests: Fix a lot of leaks in tests (Valgrind).
2011-01-17 12:52:19 +01:00
Alexandre Julliard
f6b6c7bade
include: Correctly define the msxml typelib by directly including xmldom.idl and xmldso.idl.
2010-12-21 12:17:11 +01:00
Adam Martinson
2f0e73f896
msxml3/tests: Move domdoc.c schema-related tests to schema.c.
2010-11-25 11:49:07 +01:00
Adam Martinson
f3678ec193
msxml3: Fix domdoc_getElementsByTagName()/domelem_getElementsByTagName().
2010-11-24 12:03:06 +01:00
Adam Martinson
c19fa9b04b
msxml3: Use the associated schema for domelem_get_dataType().
2010-11-24 12:01:13 +01:00
Adam Martinson
b7cdaba817
msxml3: Move schema cache into the domdoc_properties struct.
2010-11-16 11:48:55 +01:00
Michael Stefaniuc
fa4c8c0900
msxml3/tests: Remove redundant NULL check before SysFreeString (smatch).
2010-11-16 11:43:20 +01:00
Paul Vriens
dc2306de5a
msxml3/tests: Fix some test failures on Win98/WinMe.
2010-11-15 13:20:05 +01:00
Adam Martinson
2c451f869a
msxml3: Use built-in urn:schemas-microsoft-com:datatypes schema for validation.
2010-11-15 13:19:57 +01:00
Adam Martinson
5fc439a7f8
msxml3: XDR schema support.
2010-11-15 13:03:06 +01:00
Adam Martinson
2a4c07a7e2
msxml3/tests: XDR schema tests.
2010-11-15 13:02:45 +01:00
Alexandre Julliard
6c90ebd5e5
include: Move coclass definitions to msxml2.idl.
2010-11-10 12:07:59 +01:00
Adam Martinson
7d37e7e6f6
msxml3/tests: Tests for node_get_dataType() with XDR schemas.
2010-11-09 11:46:34 +01:00
Nikolay Sivov
99e3873f30
msxml3: Fix duplicated declarations after document ::get_xml().
2010-11-09 11:44:50 +01:00
Nikolay Sivov
8f976c5d53
msxml3: Encode special characters while setting attribute content.
2010-11-05 11:25:00 +01:00
Adam Martinson
85ced167bd
msxml3: Fix node_get_text() whitespace handling.
2010-11-04 11:56:29 +01:00
Adam Martinson
e16914963e
msxml3: Implement XSLPattern collection methods.
2010-11-03 14:56:26 +01:00
Adam Martinson
42ccbc5132
msxml3: Add XSLPattern nodeType() method.
2010-11-03 14:50:43 +01:00
Adam Martinson
c367215bbc
msxml3: Implement domdoc schema validation.
2010-11-03 14:44:50 +01:00
Francois Gouget
b990617a95
Assorted spelling fixes.
2010-11-02 13:16:57 +01:00
Francois Gouget
e71dac1ead
msxml3/tests: Small spelling fix in a nonexistent resource.
2010-11-02 13:16:29 +01:00
Francois Gouget
3e331731c9
msxml3/tests: Add a trailing '\n' to ok() calls.
2010-11-02 13:16:24 +01:00
Adam Martinson
5c7bcdadcf
msxml3: Add error code defines.
2010-11-02 12:51:51 +01:00
Nikolay Sivov
6556ad57f3
msxml3: Get rid of ::get_prefix() forward.
2010-11-01 12:39:15 +01:00
Nikolay Sivov
eef194a799
msxml3: Implement a trivial case of ::put_nodeTypedValue() for elements.
2010-11-01 12:39:02 +01:00
Adam Martinson
e7d8bbab44
msxml3/tests: Add XSLPattern collection method tests.
2010-10-29 17:28:14 +02:00
Adam Martinson
77b7323b4f
msxml3: Fix XSLPattern namespace handling.
2010-10-29 17:28:11 +02:00
Nikolay Sivov
843bd25012
msxml3/tests: Some encoding switching tests.
2010-10-29 14:21:21 +02:00
Adam Martinson
35643b73e3
msxml3/tests: Add namespace-related XSLPattern tests.
2010-10-28 12:38:13 +02:00
Nikolay Sivov
adfd305821
msxml3: Handle passed BSTR argument as a WCHAR string in ::createProcessingInstruction().
2010-10-26 13:01:41 +02:00
Michael Stefaniuc
6f0c968a7b
msxml3/tests: Remove superfluous NULL check before free (Smatch).
2010-10-26 11:55:13 +02:00
Nikolay Sivov
2a080e85e4
msxml3: Add stub IConnectionPoint, return points for supported IIDs.
2010-10-25 14:30:26 +02:00
Nikolay Sivov
0f2c996092
msxml3: Add stub connection container support.
2010-10-25 14:30:11 +02:00
Adam Martinson
70f10e1a9f
msxml3: Implement schema_cache_get().
2010-10-21 16:14:44 +02:00
Adam Martinson
d87b8b8eb9
msxml3: Implement schema_cache_get_namespaceURI().
2010-10-21 16:14:36 +02:00
Adam Martinson
491ec41f5a
msxml3: Implement schema_cache_addCollection().
2010-10-21 16:14:26 +02:00
Adam Martinson
eac6ed018c
msxml3: Implement schema_cache_remove().
2010-10-21 16:14:16 +02:00
Adam Martinson
f8bdf8b5af
msxml3: Implement schema_cache_get_length().
2010-10-21 16:14:09 +02:00
Adam Martinson
ab136a4fc2
msxml3/tests: Internal schema doc storage tests.
2010-10-21 16:14:00 +02:00
Nikolay Sivov
88adaa0617
msxml3: Partially implement ::setAttributeNode().
2010-10-21 12:29:53 +02:00
Nikolay Sivov
ac6671b7f3
msxml3: Fix response text conversion to WCHAR string.
2010-10-13 11:19:53 +02:00
Nikolay Sivov
ace3a81d13
msxml3: Implement POST support with supplied body data.
2010-10-13 11:19:53 +02:00
Nikolay Sivov
f0546a1961
msxml3: Implement ::get_responseBody().
2010-10-08 11:56:45 +02:00
Nikolay Sivov
e1ca5965b8
msxml3: Implement ::abort().
2010-10-08 11:56:45 +02:00
Nikolay Sivov
eebf331e89
msxml3: Implement ::get_responseText() for UTF-8 and UTF-16 (little endian) response encoding.
2010-10-07 12:00:27 +02:00
Nikolay Sivov
58bce9422e
msxml3: Implement ready state change callback.
2010-10-06 14:41:03 +02:00
Nikolay Sivov
7e7b2a3f82
msxml3: Implemented ::get_status().
2010-10-05 13:05:14 +02:00
Adam Martinson
4f78c04ec8
msxml3: XSLPattern support.
...
Parse XSLPattern queries and translate them into equivalent XPath queries.
XSLPattern built-in functions/operators are translated to their XPath
counterparts where applicable. If no direct XPath counterpart exists,
they are registered as custom XPath functions for the sake of speed where
possible. As a last resort, they are translated into compound XPath
expressions to accomplish the task, if more slowly.
If the parser encounters an error, the original XSLPattern query is
returned, as this is more likely to work than a mangled one.
2010-10-04 16:18:54 +02:00
Adam Martinson
ff644cb1b1
msxml3: Partial stub domdoc_validate().
2010-10-04 15:00:06 +02:00
Adam Martinson
6e6375344b
msxml3/tests: Tests for domdoc_validate().
2010-10-04 15:00:06 +02:00
Adam Martinson
679dbe6f31
msxml3: Stub domdoc_get_readyState().
2010-10-04 15:00:06 +02:00
Nikolay Sivov
d69a7165be
msxml3: Add basic bind callback for moniker binding.
2010-10-04 14:52:12 +02:00
Adam Martinson
49fa9de580
msxml3: Implement preserveWhiteSpace property.
2010-10-01 14:21:26 +02:00
Alexandre Julliard
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +02:00
Nikolay Sivov
1ac256a588
msxml3/httprequest: Implement IXMLHttpRequest::setRequestHeader().
2010-09-29 11:25:01 +02:00
Nikolay Sivov
2a85bc0367
msxml3/httprequest: Store passed data for IXMLHttpRequest::open().
2010-09-29 11:24:44 +02:00
Adam Martinson
1f93a47667
msxml3: Move domdoc properties into their own struct.
...
Unhooks domdoc properties from both the domdoc and xmlDoc.
After the domdoc <-> xmlDoc connection is no longer an open question,
the domdoc::properties pointer can be removed and rerouted through
xmlDoc::_private::properties as long as it's impossible to have a domdoc
with domdoc::node.node == NULL. With all of the checks for this, the
current code suggests that it's perfectly possible.
2010-09-29 11:14:35 +02:00
Adam Martinson
05f011b735
msxml3: Implement SelectionNamespaces property.
2010-09-29 11:12:47 +02:00
Adam Martinson
c515d384ef
msxml3/tests: Prevent a double-free in test_get_ownerDocument().
2010-09-28 17:33:17 +02:00
Nikolay Sivov
5a91bea3b2
msxml3/tests: Fix locale dependent string comparison.
2010-09-20 13:48:12 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Nikolay Sivov
af4377f86a
msxml3/tests: Store test data as a table for ::nodeTypedValue() tests.
2010-09-18 13:03:51 +02:00
Nikolay Sivov
893e8a46b2
msxml3: Store selected query language in backend document instance.
2010-09-18 13:03:33 +02:00
Nikolay Sivov
a930084d86
msxml3: Fix ::selectSingleNode() behaviour on invalid arguments.
2010-09-18 13:03:26 +02:00
Nikolay Sivov
e5cd19a4cb
msxml3/tests: Don't raise a test error on first try to create a document.
2010-09-16 10:10:37 -05:00
Paul Vriens
14316fc17f
msxml3/tests: Step to the next item on failure as well.
2010-09-15 10:34:45 -05:00
Nikolay Sivov
9c951e7520
msxml3: Properly set default value for SelectionLanguage property.
2010-09-14 09:42:56 -05:00
Nikolay Sivov
4e94abd710
msxml3: Fix IXMLDOMNode::get_namespaceURI() for empty URIs.
2010-09-14 09:42:43 -05:00
Nikolay Sivov
154c0828bf
msxml3: Fix IXMLDOMNode::get_prefix() for empty prefix.
2010-09-14 09:42:36 -05:00
Nikolay Sivov
8d055c7854
msxml3: Support elements with namespaces.
2010-09-14 09:42:29 -05:00
Joris Huizer
33042ed137
msxml3/tests: Add lastChild tests.
2010-09-09 14:58:23 +02:00
Nikolay Sivov
398e649414
msxml3/tests: Basic test for ::setAttributeNode().
2010-09-07 11:31:50 +02:00
Nikolay Sivov
97e78d9a0e
msxml3/tests: Some tests for ::get_ownerDocument() returned document instance.
2010-09-07 11:31:45 +02:00
Nikolay Sivov
0adfd6cf4c
msxml3/domdoc: Implement IXMLDOMNamedNodeMap::removeQualifiedItem().
2010-09-07 11:31:39 +02:00
Nikolay Sivov
e7bfb98e60
msxml3/tests: Add a helper to create document instance, remove useless output.
2010-09-07 11:30:18 +02:00
Alexandre Goujon
8aa6ed97c8
msxml3/tests: Be more verbose when get_text fails.
2010-09-03 16:02:31 +02:00
Nikolay Sivov
0330332aef
msxml3: Implement IXMLDOMNamedNodeMap::getQualifiedItem().
2010-09-03 16:02:31 +02:00
Nikolay Sivov
c9b8f5d2ae
msxml3: Fix invalid parameter handling for IXMLDOMElement::getElementsByTagName().
2010-09-03 16:02:31 +02:00
Nikolay Sivov
1ce8be01f2
msxml3: Fix IXMLDOMDocument::getElementsByTagName() for some special cases.
2010-09-02 11:53:26 +02:00
Nikolay Sivov
2a5b375580
msxml3: Dump namespace aliases passed with SelectionNamespaces property.
2010-08-30 11:28:54 +02:00
Nikolay Sivov
a0e7b3b93a
msxml3/tests: Tests for IXMLDOMText::splitText(), stub is extended a bit.
2010-08-30 11:28:36 +02:00
Nikolay Sivov
92a574b44b
msxml3: Implement IXMLDOMCDATASection::splitText().
2010-08-30 11:28:28 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +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
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
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
d24d007fa5
msxml3: Silence a warning in ::get_baseName() for document nodes.
2010-06-23 10:34:28 +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
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
3611791117
msxml3: Avoid SysStringLen() testing for an empty string in ::createNode().
2010-06-14 14:14:16 +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
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
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
02066602b6
msxml3: Implement ::replaceData() for Text, Comment and CDATA nodes.
2010-02-16 11:33:03 +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
24e198e2ff
msxml3: Reimplement IXMLDOMDocument::createTextNode() on top of ::createNode().
2010-02-15 16:08:44 +01:00
Nikolay Sivov
760f7ba724
msxml3: Reimplement IXMLDOMDocument::createComment() on top of ::createNode().
2010-02-15 16:08:29 +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
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
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
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
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
1c040a38c6
msxml3/tests: Fix some string leaks in tests.
2010-01-11 11:31:30 -06:00
Huw Davies
318c7b24ee
msxml3: Correctly test the variant returned by get_nodeValue.
...
Found by Valgrind.
2009-12-09 14:53:31 +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
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
Alistair Leslie-Hughes
30087f9660
msxml3: Add IDispatchEx support to IXMLDOMElement.
2009-09-10 10:49:17 +02:00
Jacek Caban
c4a9d1cfa2
msxml3: Added more IDispatchEx tests.
2009-08-29 17:13:04 +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
Alistair Leslie-Hughes
e00425e6c4
msxml3: IXMLDOMElement doesn't support IObjectIdentity.
2009-08-14 13:59:10 +02: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
Michael Stefaniuc
6a5dda7143
msxml3: Remove superfluous pointer casts.
2009-01-26 14:31:05 +01:00
Alistair Leslie-Hughes
5bedc409d5
msxml3: IXMLDOMDocument2 async default value is VARIANT_TRUE.
2009-01-22 15:28:24 +01:00
Alistair Leslie-Hughes
549befe706
msxml3: Use xmlNodeGetContent to get text data.
2008-12-23 19:55:55 +01:00
Alistair Leslie-Hughes
40fdc88efc
msxml3: Add ISupportErrorInfo interface to IXMLDOMDocument.
2008-12-20 11:43:01 +01:00
Alistair Leslie-Hughes
561cf9f746
msxml3: Corrected getAttributeNode to return correct values.
2008-12-17 13:52:41 +01:00
Vincent Povirk
445588ba10
msxml3/tests: Fix string format warnings.
2008-12-05 12:30:14 +01:00
Michael Karcher
aefe3456fb
msxml3/tests: Fix BSTR leak.
2008-12-01 14:22:12 +01:00
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 "&amp;".
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
Piotr Caban
0532df61be
msxml3/test: Add test for ISAXXMLReader_parse (passing XMLDOMDocument as argument).
2008-09-22 11:49:22 +02:00
Alistair Leslie-Hughes
8af99c9751
msxml3: Correct test.
2008-09-15 11:47:56 +02:00