Nikolay Sivov
b26ad412d3
msxml3: Added common ISupportErrorInfo implementation.
2011-11-21 11:03:13 +01:00
Nikolay Sivov
8bd54c56e7
msxml3: Init IDispatchEx data for all node types.
2011-10-31 23:53:37 +01:00
Piotr Caban
41eba1c30d
msxml3: Return parser result in detach_url.
2011-10-24 19:54:15 +02:00
Andrew Talbot
708f3a3fef
msxml3: Add a break to a switch statement.
2011-10-08 20:23:01 +02:00
Michael Stefaniuc
718a924f5b
msxml3: Use SUCCEEDED instead of !FAILED.
2011-10-03 09:43:36 -05:00
Alistair Leslie-Hughes
33736bb871
msxml3: Correct MSXML object safety tests.
2011-09-06 15:58:35 +02:00
Nikolay Sivov
4877da66b3
msxml3: Make version dependency checks more flexible, move CLSID checks to factory creation.
2011-08-24 19:07:45 +02:00
Frédéric Delanoy
a3e0623641
msxml3: Remove dead assignment (Clang).
2011-07-06 11:25:55 +02: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
Adam Martinson
17f72b8b67
msxml3/domdoc: Properly handle character encoding in doparse().
2011-05-20 17:56:55 +02:00
Adam Martinson
11df66af0b
msxml3: Don't add a <?xml...?> decl in domdoc_get_xml().
2011-05-05 11:46:33 +02:00
Michael Stefaniuc
31057e4b75
msxml3: COM cleanup in domdoc.c.
2011-04-27 11:53:12 +02:00
Francois Gouget
462d325eb2
msxml3: Make ConnectionPoint_Init() and BindStatusCallback_Detach() static.
2011-03-16 14:14:24 +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
9176c9e886
msxml3: Downgrade FIXME to TRACE for unsupported interfaces.
2011-03-14 12:39:27 +01:00
Nikolay Sivov
610725289b
msxml3: Protect SAX character callback from null node.
2011-03-14 12:39:26 +01:00
Nikolay Sivov
c26c55995a
msxml3: Add IXMLDOMSelection stub.
2011-03-14 12:38:59 +01:00
Alistair Leslie-Hughes
e030b3ce56
msxml3: Ignore XML property ResolveExternals.
2011-03-11 14:29:19 +01:00
Nikolay Sivov
fb96151b0e
msxml3: Move string conversion helper to header.
2011-03-11 11:49:18 +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
179daa20b9
msxml3: Remove child with parent method first before insert with insertBefore().
2011-03-04 16:26:00 +01:00
Nikolay Sivov
bf01d1b3d7
msxml3: Remove transformNode() forward.
2011-02-24 15:49:30 +01:00
Nikolay Sivov
aac690d4fc
msxml3: Remove selectSingleNode() forward.
2011-02-24 15:49:29 +01:00
Nikolay Sivov
004944c81a
msxml3: Remove selectNodes() forward.
2011-02-24 15:49:29 +01:00
Alexandre Julliard
a1c8f6df84
msxml3: Include the system libxml headers before the Windows headers.
2011-02-24 15:49:28 +01:00
Nikolay Sivov
d0bff37cb2
msxml3: Remove get_text() forward.
2011-02-23 18:22:18 +01:00
Nikolay Sivov
2e5a0dd63f
msxml3: Remove get_ownerDocument() forward.
2011-02-23 18:22:12 +01:00
Nikolay Sivov
3d63982f86
msxml3: Remove hasChildNodes() forward.
2011-02-23 18:22:04 +01:00
Nikolay Sivov
5775bcde4a
msxml3: Remove appendChild() forward.
2011-02-23 18:21:57 +01:00
Nikolay Sivov
1178f7b46e
msxml3: Remove forward to removeChild() method for nodes.
2011-02-23 18:21:51 +01:00
Nikolay Sivov
df08e9b4f6
msxml3: Store document event handler for ready state notification.
2011-02-22 12:28:25 +01:00
Michael Stefaniuc
b500bccc60
msxml3: COM cleanup for the IXMLDOMNode iface in xmlnode.
2011-01-24 14:43:26 +01:00
Jacek Caban
d3f456d146
msxml3: Don't forward get_namespaceURI calls to node's IXMLDOMNode iface.
2011-01-10 10:41:18 +01:00
Jacek Caban
730fa1e7f2
msxml3: Don't forward get_nodeTypedValue to node's IXMLDOMNode iface.
...
Its current implementation for XML_ENTITY_REF_NODE can't work and will
always return VT_NULL variant anyways.
2011-01-10 10:41:13 +01:00
Jacek Caban
510567d98a
msxml3: Get rid of xmlnode_transformNodeToObject.
2011-01-06 18:39:05 +01:00
Jacek Caban
9a16f796f2
msxml3: Don't forward put_nodeTypedValue and put_dataType calls to node IXMLDOMNode iface.
2010-12-30 15:02:27 +01:00
Francois Gouget
f10c16072e
msxml3: Add a trailing '\n' to an ERR() call.
2010-12-03 16:08:29 +01:00
Adam Martinson
a4b0152c27
msxml3/domdoc: Add a ref to the schema cache in copy_properties().
2010-12-01 11:09:38 +01:00
Adam Martinson
459c29ba34
msxml3: Store the DOMDocument/XMLSchemaCache object version.
2010-11-25 11:49:08 +01:00
Adam Martinson
54d949fbe8
msxml3: Fix a few error messages.
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
b7cdaba817
msxml3: Move schema cache into the domdoc_properties struct.
2010-11-16 11:48:55 +01:00
Nikolay Sivov
9ec17a841d
msxml3: Fix a ::get_xml() for libxml2 without xmlSaveToBuffer.
2010-11-12 11:39:20 +01:00
Nikolay Sivov
ec1ab037c8
msxml3: Trace DOM document reference counts.
2010-11-09 11:44:56 +01:00
Nikolay Sivov
99e3873f30
msxml3: Fix duplicated declarations after document ::get_xml().
2010-11-09 11:44:50 +01:00
Jacek Caban
8036509c09
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeTypeString implementations.
2010-11-08 11:56:13 +01:00
Nikolay Sivov
a353a91f32
msxml3: For tested cases use TRACE instead of FIXME.
2010-11-05 11:25:08 +01:00
Adam Martinson
e95122162a
msxml3: Move the whitespace preservation bool into the domdoc_properties struct.
2010-11-04 11:56:26 +01:00
Adam Martinson
c367215bbc
msxml3: Implement domdoc schema validation.
2010-11-03 14:44:50 +01:00
Nikolay Sivov
1e998bfc3f
msxml3: Get rid of ::get_baseName() forward.
2010-11-01 12:39:21 +01:00
Nikolay Sivov
6556ad57f3
msxml3: Get rid of ::get_prefix() forward.
2010-11-01 12:39:15 +01:00
Nikolay Sivov
936d4cf911
msxml3: Get rid of ::cloneNode() forward.
2010-11-01 12:39:09 +01:00
Jacek Caban
6241b9d652
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_xml implementations.
2010-10-29 16:31:42 +02:00
Adam Martinson
fec2199f4f
msxml3: libxml2 error/warning callback functions.
2010-10-28 12:17:02 +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
63bf86357e
msxml3: Remove returns after returns (Smatch).
...
That's the intent of commit 70edd9a7
.
2010-10-26 11:55:07 +02:00
Nikolay Sivov
21fddfe235
msxml3: Use proper naming and types for IObject* interfaces.
2010-10-25 14:30:59 +02:00
Nikolay Sivov
b9956f75a9
msxml3: Add ::Unadvise().
2010-10-25 14:30:40 +02:00
Nikolay Sivov
fe3ff2ea9f
msxml3: Add ::GetConnectionPointContainer().
2010-10-25 14:30:35 +02:00
Nikolay Sivov
eb23a4df25
msxml3: Add ::GetConnectionInterface().
2010-10-25 14:30:31 +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
Jacek Caban
70edd9a7fb
msxml3: Don't use xmlnode's IXMLDOMNode iface for a few stub functions.
2010-10-25 13:52:51 +02:00
Adam Martinson
fd9bcfcfe8
msxml3: Fix a regression bug in domdoc_loadXML().
...
Caused by commit 776a8662f0
. Fixes parse
failures for BSTR's where encoding is explicitly UTF-16.
2010-10-21 16:15:15 +02:00
Nikolay Sivov
657f64dd06
msxml3: Add support for IStream destination in save().
2010-10-20 18:37:09 +02:00
Nikolay Sivov
b22149817d
msxml3: Get rid of ::put_text() forward to IXMLDOMNode interface.
2010-10-19 10:14:11 +02:00
Nikolay Sivov
0f19df8b6a
msxml3: Get rid of ::get_dataType() forward to IXMLDOMNode interface.
2010-10-19 10:14:08 +02:00
Adam Martinson
8db0dd5335
msxml3: Add a function to initialize xmlDoc->_private data.
2010-10-18 19:47:49 +02:00
Adam Martinson
403201b87f
msxml3: Prevent a memory leak if domdoc creation fails.
2010-10-15 11:32:31 +02:00
Jacek Caban
6d20b3f96a
msxml3: Don't use xmlnode's IXMLDOMNode iface in replaceChild implementations.
2010-10-13 15:55:10 +02:00
Nikolay Sivov
59c5bd2956
msxml3: Don't fail trying to set NewParser property.
2010-10-06 14:41:03 +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
679dbe6f31
msxml3: Stub domdoc_get_readyState().
2010-10-04 15:00:06 +02:00
Adam Martinson
49fa9de580
msxml3: Implement preserveWhiteSpace property.
2010-10-01 14:21:26 +02:00
Adam Martinson
776a8662f0
msxml3: Expose the XML parser SAX callback interface.
...
This eliminates a few function calls; libxml will call this indirectly
through the old method. By writing our own callback functions or
wrapping the default ones we can manipulate the xmlDoc as it's being
parsed, allowing us to match the way msxml parses.
2010-09-30 17:51:17 +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
Nikolay Sivov
893e8a46b2
msxml3: Store selected query language in backend document instance.
2010-09-18 13:03:33 +02:00
Andrew Nguyen
c858e583cd
msxml3: Correct the prototype of DOMDocument_create when compiling without libxml2.
2010-09-15 11:29:03 -05:00
Nikolay Sivov
9c951e7520
msxml3: Properly set default value for SelectionLanguage property.
2010-09-14 09:42:56 -05:00
Nikolay Sivov
8d055c7854
msxml3: Support elements with namespaces.
2010-09-14 09:42:29 -05:00
Jacek Caban
addefe4ce5
msxml3: Don't use xmlnode's IXMLDOMNode iface in insertBefore implementations.
2010-09-13 10:59:02 -05:00
Jacek Caban
e9ebd8c964
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_attributes implementations.
2010-09-13 10:58:56 -05:00
Jacek Caban
55175042eb
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_[previous|next]Sibling implementations.
2010-09-13 10:31:58 -05:00
Joris Huizer
37f61acb77
msxml3: Fix copy/paste error in get_lastChild functions.
2010-09-09 12:45:42 +02:00
Jacek Caban
4f210e21a5
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_[first|last]Node implementations.
2010-09-08 19:49:30 +02:00
Jacek Caban
c8b15e90bd
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_childNode implementations.
2010-09-08 19:49:30 +02:00
Jacek Caban
6e76c894e8
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeType and get_nodeParent implementations.
2010-09-07 16:01:32 +02:00
Jacek Caban
9413fab39e
msxml3: Don't use xmlnode's IXMLDOMNode iface in put_nodeValue implementations.
2010-09-07 16:01:26 +02:00
Jacek Caban
6ce537baac
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeValue implementations.
2010-09-06 16:13:22 +02:00
Jacek Caban
7a68fad273
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_nodeName implementations.
2010-09-06 16:13:22 +02:00
Jacek Caban
27b4f11c0b
msxml3: Use xmlnode child object's IXMLDOMNode implementation as base interface.
...
The plan is to get rid of IXMLDOMNode interface in xmlnode object and use
proper inheritance.
2010-09-06 16:13:22 +02:00
Jacek Caban
a92e95eab1
msxml3: Use fake IID to safely cast IXMLDOMNode interface to xmlnode object.
2010-09-06 16:13:21 +02:00
Jacek Caban
0670d092f1
msxml3: Added node_query_inerface function for common xmlnode child objects implementation.
2010-09-06 16:13:21 +02:00
Jacek Caban
f5348b25af
msxml3: Store outer iface as IXMLDOMNode instead of IUnknown in xmlnode.
2010-09-06 16:13:21 +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