Frédéric Delanoy
a3e0623641
msxml3: Remove dead assignment (Clang).
2011-07-06 11:25:55 +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
5ab513bd9e
msxml3: Fix a couple incorrect uses of VariantChangeType().
2011-06-21 12:24:37 +02:00
Adam Martinson
98580b5d36
msxml3: SysAllocString*() automatically allocates a terminating NULL.
2011-06-17 12:34:12 +02:00
Adam Martinson
0132645ec3
msxml3: Create CLSID_XMLHTTP when requested.
2011-06-16 16:43:02 +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
Michael Stefaniuc
2706e4dbaf
msxml3: COM cleanup for factory.c.
2011-05-19 10:09:17 +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
Peter Urbanec
7e894f8741
msxml3: Reorder headers to allow use of libxml2 with +icu useflag.
2011-05-06 14:23:46 +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
1831e54916
msxml3: Store boolean properties in a single array.
2011-05-04 17:26:47 +02:00
Francois Gouget
8a8c8bbd86
msxml3: Make a bunch of XSLPattern_*() functions static.
2011-05-03 14:38:06 +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
Nikolay Sivov
a12d2d7233
msxml3: A stub for MXXMLWriter class.
2011-05-02 12:46:45 +02:00
Michael Stefaniuc
31057e4b75
msxml3: COM cleanup in domdoc.c.
2011-04-27 11:53:12 +02:00
Marcus Meissner
1ef0fca796
msxml3: Mark internal symbols as hidden.
2011-04-27 11:52:03 +02:00
Francois Gouget
ffbde17b32
msxml3/tests: Fix variable initializations to conform to C89.
2011-04-08 13:03:21 +02:00
Marcus Meissner
483559b3e0
msxml3: Fixed two const table declarations (Coverity).
2011-04-04 11:46:03 +02:00
Francois Gouget
95b6e6b3cd
msxml3: Make xslpattern_error() static.
2011-03-30 18:23:37 +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
Francois Gouget
462d325eb2
msxml3: Make ConnectionPoint_Init() and BindStatusCallback_Detach() static.
2011-03-16 14:14:24 +01:00
Francois Gouget
11d1ff154f
msxml3: Make element_get_dt() static and move it around to avoid a forward declaration.
2011-03-16 14:14:23 +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
9176c9e886
msxml3: Downgrade FIXME to TRACE for unsupported interfaces.
2011-03-14 12:39:27 +01:00
Nikolay Sivov
49d69e440f
msxml3: Silence compile time warnings for dynamically loaded libxslt.
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
072b2db2af
msxml3: No need to zero memory on allocation.
2011-03-14 12:39:25 +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
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
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
Austin English
4ace7b2127
msxml3: Avoid shadowing a parameter.
2011-03-09 15:54:20 +01:00
Nikolay Sivov
6194d30145
msxml3: Put together similar tests using tabled test data.
2011-03-09 12:29:44 +01:00
Nikolay Sivov
76645c5e6d
msxml3: Orphan a node removed with removeChild().
2011-03-08 17:28:40 +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
d05435167a
msxml3: Trace ref counts for all dom objects.
2011-03-07 13:18:35 +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
37ce949745
msxml3: Always set out pointer to null on failed QueryInterface.
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
Nikolay Sivov
4735c5193f
msxml3: Get rid of not longer used internal IXMLDOMNode vtable.
2011-02-24 15:49:31 +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
Michael Stefaniuc
16c543a089
msxml3: COM cleanup for the IDispatchEx iface.
2011-02-24 15:49:27 +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
Alistair Leslie-Hughes
955685a777
msxml3: Add IObjectSafety support to IXMLHTTPRequest.
2011-02-22 16:34:46 +01:00
Nikolay Sivov
a0a464ad81
msxml3: Use helper to consistently dump variant parameters.
2011-02-22 12:30:37 +01:00
Nikolay Sivov
26084daa46
msxml3: Remove useless parts of schema cleanup helper.
2011-02-22 12:29:04 +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
Jacek Caban
e703763e51
msxml3: Silence QueryInterface FIXME.
2011-02-16 14:26:27 +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
Nikolay Sivov
c406b888aa
msxml: Add IXSLTemplate stub.
2011-02-14 13:33:32 +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
Michael Stefaniuc
4219fef3f4
msxml3: COM cleanup for the IXMLDOMNode iface in unknode.
2011-01-24 14:43:26 +01:00
Michael Stefaniuc
b500bccc60
msxml3: COM cleanup for the IXMLDOMNode iface in xmlnode.
2011-01-24 14:43:26 +01:00
Michael Stefaniuc
5fd62154f3
msxml3: COM cleanup for the IBindStatusCallback iface.
2011-01-24 14:43:24 +01:00
Nikolay Sivov
3ba78cf101
msxml3: Fix interface leak (Valgrind).
2011-01-24 12:35:02 +01:00
Nikolay Sivov
952f0a6af4
msxml3: Fix invalid read before allocated block (Valgrind).
2011-01-24 12:35:02 +01:00
Nikolay Sivov
f6ce8b7196
msxml3/tests: Fix a lot of leaks in tests (Valgrind).
2011-01-17 12:52:19 +01:00
Jacek Caban
4c6f8989eb
msxml3: Fixed memory leak (valgrind).
2011-01-14 18:26:19 +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
Michael Stefaniuc
e53582fdc1
msxml3: Use an iface instead of a vtbl pointer in parse_error_t.
2010-12-29 11:59:37 +01:00
Michael Stefaniuc
2a2bc6a98d
msxml3: Use an iface instead of a vtbl pointer in httprequest.
2010-12-29 11:59:35 +01:00
Michael Stefaniuc
13e1997860
msxml3: Standardize the COM usage in saxreader.c.
2010-12-28 16:35:39 +01:00
Michael Stefaniuc
e803e6347c
msxml3: Standardize the COM usage in xmlelem.c.
2010-12-23 13:47:23 +01:00
Michael Stefaniuc
0c5492aaee
msxml3: Use ifaces instead of vtbl pointers in xmldoc.
2010-12-23 13:47:22 +01:00
Alexandre Julliard
c1c92d07d7
msxml3: Convert dll registration to the IRegistrar mechanism.
2010-12-21 13:56:42 +01:00
Alexandre Julliard
41d6a92349
msxml2: Add an msxml2 library that contains the v2.6 msxml typelib.
2010-12-21 13:56:42 +01:00
Alexandre Julliard
cfa37214b9
msxml: Register the v2.0 classes using the IRegistrar mechanism.
2010-12-21 13:56:36 +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
Michael Stefaniuc
1b11ffaa6b
msxml3: Use an iface instead of a vtbl pointer in domfrag.
2010-12-16 12:06:51 +01:00
Michael Stefaniuc
42bdbab6e3
msxml3: Use an iface instead of a vtbl pointer in domdoctype.
2010-12-16 12:06:51 +01:00
Michael Stefaniuc
0be2929b03
msxml3: Use an iface instead of a vtbl pointer in domimpl.
2010-12-16 12:06:51 +01:00
Michael Stefaniuc
45f1825e72
msxml3: Use an iface instead of a vtbl pointer in domcomment.
2010-12-16 12:06:51 +01:00
Michael Stefaniuc
92a93a5c26
msxml3: Use an iface instead of a vtbl pointer in dom_pi.
2010-12-16 12:06:51 +01:00
Michael Stefaniuc
8db9985fee
msxml3: Use an iface instead of a vtbl pointer in xmlnodelist.
2010-12-16 12:06:51 +01:00
Michael Stefaniuc
25df7aac27
msxml3: Use an iface instead of a vtbl pointer in domelem.
2010-12-16 12:06:50 +01:00
Michael Stefaniuc
73b08ed2f0
msxml3: Use an iface instead of a vtbl pointer in domtext.
2010-12-16 12:06:50 +01:00
Michael Stefaniuc
ba7c754726
msxml3: Use an iface instead of a vtbl pointer in entityref.
2010-12-16 12:06:50 +01:00
Michael Stefaniuc
6a319a3328
msxml3: Use an iface instead of a vtbl pointer in domcdata.
2010-12-16 12:06:50 +01:00
Michael Stefaniuc
11b24354ff
msxml3: Use ifaces instead of vtbl pointers in xmlnodemap.
2010-12-16 12:06:50 +01:00
Michael Stefaniuc
41ac7a3b5c
msxml3: Use an iface instead of a vtbl pointer in domattr.
2010-12-16 12:06:50 +01:00
Alexandre Julliard
4ad97d404d
msxml3: Avoid using an initialized variable.
2010-12-09 17:46:47 +01:00
Michael Stefaniuc
4038523b4e
msxml3: Use ifaces instead of vtbl pointers in BindStatusCallback.
2010-12-09 12:25:50 +01:00
Francois Gouget
f10c16072e
msxml3: Add a trailing '\n' to an ERR() call.
2010-12-03 16:08:29 +01:00
Alexandre Julliard
5f49129e03
resources: Define a generic mechanism for adding extra values to the common version block.
2010-12-03 14:53:59 +01:00
Alexandre Julliard
9d9ce29823
msxml3: Avoid some uninitialized variable warnings on old gcc.
2010-12-01 19:45:34 +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
Austin English
baf7a636a9
msxml3: Bump version information to SP9.
2010-11-29 11:23:12 +01:00
Ken Thomases
a6b38409be
msxml3: Fix building on Leopard.
2010-11-29 11:23:03 +01:00
Michael Stefaniuc
828fff8c8b
msxml3: Remove dead code: break after return (Smatch).
2010-11-25 11:49:08 +01:00
Adam Martinson
459c29ba34
msxml3: Store the DOMDocument/XMLSchemaCache object version.
2010-11-25 11:49:08 +01:00
Adam Martinson
10e2d26e3f
msxml3/schema: Properly handle schema_cache_add() from a URL.
2010-11-25 11:49:07 +01:00
Adam Martinson
54d949fbe8
msxml3: Fix a few error messages.
2010-11-25 11:49:07 +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
92bfadef7f
msxml3: Add schema parse/validate error callbacks.
2010-11-24 12:05:49 +01:00
Adam Martinson
f3678ec193
msxml3: Fix domdoc_getElementsByTagName()/domelem_getElementsByTagName().
2010-11-24 12:03:06 +01:00
Adam Martinson
6f537c4df1
msxml3: Implement domtext dt-related functions.
...
These should always be handled by the parent node.
2010-11-24 12:02:35 +01:00
Adam Martinson
643cbafabc
msxml3: Validate node content in domelem_put_dataType().
2010-11-24 12:01:49 +01:00
Adam Martinson
f090ddfe13
msxml3: Add BSTR versions of the XDR_DT <-> string functions.
2010-11-24 12:01:35 +01:00
Adam Martinson
c19fa9b04b
msxml3: Use the associated schema for domelem_get_dataType().
2010-11-24 12:01:13 +01:00
Alexandre Julliard
d70b3e5929
msxml3: Fix incorrect uses of va_list arguments.
2010-11-17 14:21:09 +01:00
Michael Stefaniuc
2b1e03369d
msxml3: Remove 'const' from the function return types.
...
Type qualifiers have only a meaning for lvalues.
2010-11-17 14:01:14 +01:00
Gerald Pfeifer
7fe77b6369
msxml3: Remove practically unused variable from XDR_to_XSD_doc.
2010-11-16 11:59:14 +01:00
Adam Martinson
a1d69fcba7
msxml3: Add functions to get the dt:dt of a node.
2010-11-16 11:59:10 +01:00
Adam Martinson
4ec6da6ef1
msxml3: Add XDR datatypes enum and string table.
2010-11-16 11:59:04 +01:00
Adam Martinson
b7cdaba817
msxml3: Move schema cache into the domdoc_properties struct.
2010-11-16 11:48:55 +01:00
Adam Martinson
bc56bbfbb4
msxml3: Fix a datatypes.xsd oops.
2010-11-16 11:48:43 +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
Adam Martinson
89679f904a
msxml3: Add urn:schemas-microsoft-com:datatypes schema.
2010-11-15 13:02:34 +01:00
Adam Martinson
82f73c8652
msxml3: Add our own xmlFirstElementChild() for older libxml2 versions.
2010-11-15 13:01:35 +01:00
Adam Martinson
865995cf1f
msxml3: Store the DLL instance handle.
2010-11-15 13:00:12 +01:00
Nikolay Sivov
5240bae308
msxml3: Don't include assert.h where it's not used.
2010-11-12 11:39:27 +01:00
Nikolay Sivov
9ec17a841d
msxml3: Fix a ::get_xml() for libxml2 without xmlSaveToBuffer.
2010-11-12 11:39:20 +01:00
Alexandre Julliard
1174beef2a
include: Make msxml6.idl a copy of msxml2.idl instead of importing it.
2010-11-10 12:08:00 +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
84aba12a28
msxml3: Dump set node value.
2010-11-09 11:45:04 +01:00
Nikolay Sivov
ec1ab037c8
msxml3: Trace DOM document reference counts.
2010-11-09 11:44:56 +01:00
Nikolay Sivov
804c50fb6c
msxml3: Use defined error code for no error case.
2010-11-09 11:44:53 +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
e9e58f07d2
msxml3: Stub IXMLDOMDocumentType support.
2010-11-05 11:28:32 +01:00
Nikolay Sivov
6d48656fb2
msxml3: Don't force put_nodeValue return value.
2010-11-05 11:25:13 +01:00
Nikolay Sivov
a353a91f32
msxml3: For tested cases use TRACE instead of FIXME.
2010-11-05 11:25:08 +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
e95122162a
msxml3: Move the whitespace preservation bool into the domdoc_properties struct.
2010-11-04 11:56:26 +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
8401caae4c
msxml3: Use libxml2 macros for XSLPattern method return values.
2010-11-03 14:50:36 +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
Francois Gouget
a034694ccd
msxml3: Add a trailing '\n' to a FIXME() calls.
2010-11-02 13:16:19 +01:00
Adam Martinson
5c7bcdadcf
msxml3: Add error code defines.
2010-11-02 12:51:51 +01:00
Adam Martinson
bf11a93b05
msxml3: Add a function to validate a tree against a schema cache.
2010-11-02 12:51:01 +01:00
Nikolay Sivov
678fbc172c
msxml3: Hint parser to use UTF-8 if it's specfied as BOM.
2010-11-01 12:41:24 +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
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
Jacek Caban
6241b9d652
msxml3: Don't use xmlnode's IXMLDOMNode iface in get_xml implementations.
2010-10-29 16:31:42 +02:00
Nikolay Sivov
b1aaa86e14
msxml3: Trace backend error even when user error handler is not set.
2010-10-29 14:21:48 +02:00
Nikolay Sivov
2329d2afdd
msxml3: Build qualified name using libxml2 helper.
2010-10-29 14:21:41 +02:00
Nikolay Sivov
8f9804ed0b
msxml3: Add a helper to check for error handler being set.
2010-10-29 14:21:32 +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
Adam Martinson
fec2199f4f
msxml3: libxml2 error/warning callback functions.
2010-10-28 12:17:02 +02:00
Nikolay Sivov
850be4da8c
msxml3: Actually try to use IPersistStream if it's available.
2010-10-28 11:42:08 +02:00
Nikolay Sivov
9a3bfce9c0
msxml3: Output error message for fatal errors.
2010-10-27 11:50:06 +02:00
Nikolay Sivov
bd7787c12a
msxml3: Fix a leak of error message BSTR.
2010-10-27 11:50:00 +02:00
Nikolay Sivov
ecfc3f153c
msxml3: Make line endings fix helper faster using BSTR stored length.
2010-10-27 11:49:54 +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
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
Jacek Caban
16647d42db
msxml3: Remove unused xmlnode_* functions.
2010-10-25 13:52:50 +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
Adam Martinson
0abee56788
msxml3: IXMLDOMSchemaCollection2 stubs.
2010-10-21 16:14:57 +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
514a5c091f
msxml3: Silence urlmon query failures for IXMLDocument.
2010-10-20 18:37:09 +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
6e97fcf94e
msxml3: IXMLDOMSchemaCollection/XMLSchemaCache backend.
...
Implemented on top of libxml's hash table.
2010-10-18 19:47:49 +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
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
45db1d1376
msxml3: Implement ::get_responseXML().
2010-10-11 17:11:38 +02:00
Nikolay Sivov
f0546a1961
msxml3: Implement ::get_responseBody().
2010-10-08 11:56:45 +02:00
Nikolay Sivov
8630368afb
msxml3: Callback only if state really changed.
2010-10-08 11:56:45 +02:00
Nikolay Sivov
e1ca5965b8
msxml3: Implement ::abort().
2010-10-08 11:56:45 +02:00
Nikolay Sivov
25dc6c7c9e
msxml: Register XMLHTTP objects.
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
62656c57bf
msxml3: Store response data in a stream.
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
7ff3446be5
msxml3: Accept versioned XMLHTTP CLSIDs.
2010-10-06 14:41:03 +02:00
Nikolay Sivov
59c5bd2956
msxml3: Don't fail trying to set NewParser property.
2010-10-06 14:41:03 +02:00
Nikolay Sivov
7e7b2a3f82
msxml3: Implemented ::get_status().
2010-10-05 13:05:14 +02:00
Nikolay Sivov
1441dc9400
msxml3: Silence more failed urlmon interface queries.
2010-10-05 13:05:08 +02:00
Nikolay Sivov
b36fe07a4d
msxml3: Store user defined request headers on transaction beginning.
2010-10-05 13:05: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
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
Gerald Pfeifer
632a6c7904
msxml3: Use the existing READYSTATE type instead of creating our own enum READYSTATE (and mixing the two).
2010-10-04 14:59:59 +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
7afdf5d920
Make some variable declarations extern.
2010-10-01 13:42:22 +02:00
Alexandre Julliard
730f01801f
tests: Make some variables static.
2010-10-01 13:41:42 +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
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
f2ed4de962
msxml3: Remove some useless initializers.
2010-09-18 13:03:44 +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
Andrew Nguyen
c858e583cd
msxml3: Correct the prototype of DOMDocument_create when compiling without libxml2.
2010-09-15 11:29:03 -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
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
Alistair Leslie-Hughes
5e5cd71ff1
msxml: Added support to create msxml4/6 interfaces.
2010-09-13 10:31:49 -05:00
Joris Huizer
33042ed137
msxml3/tests: Add lastChild tests.
2010-09-09 14:58:23 +02: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
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
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
8a82ae668a
msxml3: Use get_node_obj to get xmlnode from iface in replaceChild implementation.
2010-09-06 16:13:22 +02:00
Jacek Caban
4f61cd2840
msxml3: Use separate object for unknown node type implementation.
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
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
fd35084294
msxml3: Silence FIXME for supported properties.
2010-08-30 11:28:46 +02:00
Nikolay Sivov
42020c9419
msxml3: Allow FreeThreadedDOMDocument40 to be created.
2010-08-30 11:28:41 +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
Nikolay Sivov
62e521ad0d
msxml3: Add IXMLDOMDocument3 stub support.
2010-08-30 11:28:17 +02:00
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
Marcus Meissner
525a5510d1
msxml3: Handle get_element returning NULL (Coverity).
2009-01-29 12:48:13 +01:00
Michael Stefaniuc
6a5dda7143
msxml3: Remove superfluous pointer casts.
2009-01-26 14:31:05 +01:00
Alistair Leslie-Hughes
d77acecbff
msxml3: Implement IXMLDOMDocument2 IPersistStream_Save.
2009-01-22 15:28:24 +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
ceed55a46a
msxml3: Register missing SAXXMLReader Components.
2009-01-22 15:28:24 +01:00
Alistair Leslie-Hughes
421dca6a96
msxml3: Add fixme for unsupported parameter.
2009-01-14 12:40:56 +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
c5c29c28f2
msxml3: Make functions static.
2008-12-20 11:33:05 +01:00
Alistair Leslie-Hughes
561cf9f746
msxml3: Corrected getAttributeNode to return correct values.
2008-12-17 13:52:41 +01:00
Hans Leidekker
8bd9a3aa09
janitorial: Don't depend on user32 for the self registration functions.
2008-12-17 11:38:32 +01:00
Michael Stefaniuc
328f60a686
msxml3: Do not cast void pointers to other pointer types.
2008-12-05 12:36:21 +01:00
Vincent Povirk
445588ba10
msxml3/tests: Fix string format warnings.
2008-12-05 12:30:14 +01:00
Michael Karcher
afb17f29e1
msxml3: attach_xmldoc may fail.
...
The upcoming new implementation of attach_xmldoc needs HeapAlloc. Prepare
for the failure case.
2008-12-01 14:22:12 +01:00
Michael Karcher
8b293040a3
msxml3: Remove attach_xmldoc(This, NULL) calls.
...
This->node should never be zero. Each IXMLDOMNode (and derived interfaces)
always represents a present libxml data object. There is no no-data
IXMLDOMNode, although there might be documents without a root element.
2008-12-01 14:22:12 +01:00
Michael Karcher
1c49bc83ae
msxml3: Specialize attach_xmlnode to XML documents.
...
attach_xmlnode is only used to attach XML document nodes, and a cast
is needed on each call. Rename it to attach_xmldoc, change the
parameter type to move the cast at one point into the function.
2008-12-01 14:22:12 +01:00
Michael Karcher
b282572ee3
msxml3: Move attach_xmlnode.c to domdoc.c.
2008-12-01 14:22:12 +01:00
Michael Karcher
a6594da463
msxml3: Quiet noisy fixmes.
...
The FIXME messages for unknown interfaces should not be emitted for
interfaces that should not get implemented. Origin 8 spams you with
these messsages.
2008-12-01 14:22:12 +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
Alistair Leslie-Hughes
1049c3a123
msxml3: Implement IXMLDOMAttribute get/put value.
2008-12-01 14:01:33 +01:00
Francois Gouget
848b5092ba
msxml3: Remove WINAPI on static functions where not needed.
2008-11-25 11:50:03 +01:00
Ricardo Filipe
e5e301b7a5
msxml3: Check some dead store results (llvm/clang).
2008-11-20 14:28:25 +01:00
Francois Gouget
681d375136
msxml3: Fix compilation on systems that don't have xsltInit().
...
Reduce the scope of xsltInit().
Remove an include that was needed only for xsltInit().
2008-11-19 12:09:24 +01:00
Francois Gouget
3d384f172c
msxml3: Dynamically load libxslt.so and only call xsltInit() if present.
2008-11-18 13:04:05 +01:00
Andrew Talbot
ce3af50d10
msxml3: Void function should not return a value.
2008-11-14 11:02:15 +01:00
Michael Karcher
2adcef7954
msxml3: Simplify IXMLDOMNodeMap::removeNamedItem.
2008-11-03 14:05:16 +01:00
Michael Karcher
813da72423
msxml3: Clean up initialization.
2008-11-03 14:05:03 +01:00
Michael Karcher
00c57d6bbc
msxml3: IXMLCDATASection is not an element.
2008-10-31 13:26:53 +01:00
Marcus Meissner
3948541a6c
msxml3: Fixed if nesting / ptr checking problems in xmlnode_transformNode.
2008-10-31 13:06:27 +01:00
Marcus Meissner
8524cc17b3
msxml3: Fixed NULL ptr dereference possibilities (Coverity).
2008-10-31 13:06:09 +01:00
Alistair Leslie-Hughes
13606ed49d
msxml3: Add support to get_nodeTypedValue on Element Nodes.
2008-10-28 12:46:29 +01:00
Andrew Talbot
68f0e06434
msxml3: Sign-compare warning fix.
2008-10-23 12:13:29 +02:00
Jacek Caban
d318813a5a
msxml3: Silence invalid FIXME.
2008-10-17 11:44:10 +02:00
Jacek Caban
57aa75f78f
msxml3: Fixed dynamic properties allocation.
2008-10-17 11:44:05 +02:00
Jacek Caban
e7ff101996
msxml3: Update orphaned list in put_documentElement.
2008-10-17 11:44:02 +02:00
Michael Karcher
859f3bff88
msxml3: Initialize xmldoc->_private in IPersistStream::Load for IXMLDOMDocument.
2008-10-15 14:01:57 +02:00
Michael Karcher
f229469de3
msxml3: Use orphan node list.
2008-10-13 11:54:06 +02:00
Michael Karcher
e497ed823e
msxml3: Add an orphan node list to xmlDoc.
2008-10-13 11:54:01 +02:00
Michael Karcher
0f8950d646
msxml3: Use the _private element of xmlDoc as pointer.
2008-10-13 11:53:26 +02:00
Michael Karcher
2cde9f52da
msxml3: Remove unneeded code.
...
xmlNewDocFragment has already set xmlNode->doc, no need to do
that again.
2008-10-13 11:52:50 +02:00
Michael Karcher
19d635f9a3
msxml3: Fix memory leaks in node.c.
2008-10-13 11:52:44 +02:00
Michael Karcher
f5ac0f3277
msxml3/tests: Fix assorted memory leaks.
2008-10-13 11:52:31 +02:00
Michael Karcher
352dc0fc0d
msxml3: Fix leaking the BindStatusCallback if bind_url fails.
2008-10-13 11:52:23 +02:00
Michael Karcher
ae2017a984
msxml3: Fix leaks in callers of xmlChar_from_wchar.
2008-10-13 11:52:18 +02:00
Michael Karcher
0803167ff0
msxml3: Remove superflous re-conversion from wide chars to utf8.
2008-10-13 11:52:05 +02:00
Michael Karcher
adab2e5701
msxml3: Use right COM invocation macro.
2008-10-13 11:51:43 +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
Michael Karcher
64e44d1156
msxml3: _domtext->element is in fact a IXMLDOMNode.
2008-10-10 12:26:45 +02:00
Alistair Leslie-Hughes
bcc1fda727
msxml3: Add IXMLHTTPRequest support.
2008-10-09 13:15:16 +02:00
Piotr Caban
b84e4789af
msxml: Added CDATA related events handling.
2008-10-08 14:08:49 +02:00
Piotr Caban
db2761a8d6
msxml: Added ISAXLexicalHandler_comment event.
2008-10-08 14:08:45 +02:00
Piotr Caban
1596a1acbf
msxml: Fix parsing <.../> elements.
2008-10-08 14:08:41 +02:00
Piotr Caban
c801c18ad2
msxml: Rewrite ISAXContentHandler_characters.
2008-10-08 14:08:38 +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
3bdf45534b
msxml3: Simplify IXMLDOMNode::removeChild.
2008-10-06 14:19:23 +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
Piotr Caban
2a55b8d8e7
msxml: Fix implementation of ISAXContentHandler_characters.
2008-10-02 10:42:32 -05:00
Piotr Caban
c7fc926552
msxml: Partial implementation of ISAXXMLReader_putProperty.
2008-10-02 10:42:27 -05:00
Alistair Leslie-Hughes
2b5a59c092
msxml3: Correct cast.
2008-10-01 11:42:23 -05:00
Michael Stefaniuc
1949a8c245
msxml3/tests: Remove redundant NULL check before SysFreeString (Smatch).
2008-09-25 11:18:57 +02:00
Detlef Riekenberg
f4558c6475
msxml3: Remove redundant NULL check before SysFreeString.
2008-09-23 12:12:33 +02:00
Piotr Caban
0532df61be
msxml3/test: Add test for ISAXXMLReader_parse (passing XMLDOMDocument as argument).
2008-09-22 11:49:22 +02:00
Piotr Caban
eb72aa05db
msxml3: Fix xmlnode_get_xml to work properly with XML_DOCUMENT_NODE.
2008-09-22 11:49:17 +02:00
Piotr Caban
a28b604f77
msxml3: Change order of interface recognition and fix typo.
2008-09-22 11:49:06 +02:00
Alistair Leslie-Hughes
b64b5ea5ea
msxml3: Correct IDispatchEx Invoke to return the correct object.
2008-09-18 13:28:40 +02:00
Alistair Leslie-Hughes
8af99c9751
msxml3: Correct test.
2008-09-15 11:47:56 +02:00
Alistair Leslie-Hughes
811c0e00be
msxml3: Add IXMLDOMCharacterData to IXMLDOMComment.
2008-09-12 12:36:03 +02:00
Alistair Leslie-Hughes
84072a81b8
msxml3: Add IXMLDOMCharacterData to IXMLDOMCDATASection.
2008-09-12 12:36:00 +02:00
Rob Shearman
60b4feedca
include: Fix function names in IVBSAXXMLReader interface in msxml2.idl.
2008-09-09 12:32:16 +02:00
Piotr Caban
38b0573543
msxml3: Change SAX IStream parser implementation.
2008-09-09 11:46:17 +02:00
Marcus Meissner
980ffb8eb4
msxml3: Fixed incorrect MultiByteToWideChar.
2008-09-05 11:21:35 +02:00
Alistair Leslie-Hughes
5e1ac66b25
msxml3: Add IDispatchEx test.
2008-09-03 14:21:45 +02:00
Alistair Leslie-Hughes
954cb31448
msxml3: Add IDispatchEx support to IXMLDOMDocument2.
2008-09-03 14:21:43 +02:00
Alistair Leslie-Hughes
c6a64414df
msxml3: Correct FIXME.
2008-09-03 14:21:43 +02:00
Paul Vriens
e1c9c2597a
msxml3/tests: Fix a test on win98.
2008-09-03 14:21:41 +02:00
Paul Vriens
fe360d6aa2
msxml3/tests: Use CreateFileA to please win98.
2008-09-03 14:21:41 +02:00
Francois Gouget
4560ce24d8
msxml3: Add a '\n' to a Wine trace.
2008-09-02 13:58:33 +02:00
Paul Vriens
7af5d5fb23
msxml3/tests: Add a missing CoUninitialize.
2008-09-02 13:28:51 +02:00
Paul Vriens
7fb12e84f5
msxml3/tests: Add a missing CoUninitialize.
2008-09-02 13:28:46 +02:00
Alistair Leslie-Hughes
ac29a3d838
msxml3: Correct unsupported functions in IDispatchEx.
2008-08-27 13:21:24 +02:00
Rob Shearman
fd75c21c6d
msxml3: Use CP_UNIXCP instead of CP_ACP in libxmlFatalError as the input string is one generated by a native OS function.
2008-08-27 13:21:21 +02:00
Piotr Caban
ceb8979222
msxml3: Added custom queryresult DISPIDs implementation.
2008-08-25 11:29:45 +02:00
Piotr Caban
2841755c16
msxml3: Added IDispatchEx QueryInterface test.
2008-08-22 10:42:37 +02:00
Piotr Caban
3e3a5b187e
msxml3: Added queryresult's IDispatchEx implementation.
...
File dispex.c is copied from mshtml.dll. Jacek helped me to write this patch.
2008-08-22 10:42:33 +02:00
Piotr Caban
12f7e0aa39
msxml3: Code clean up.
2008-08-22 10:41:29 +02:00
Piotr Caban
379e543bba
msxml3: Use LoadTypeLibEx to register typelib.
2008-08-22 10:41:21 +02:00
Piotr Caban
7b7a187956
msxml3: Fix IVBErrorHandler related bugs.
2008-08-21 13:26:36 +02:00
Piotr Caban
126c0abeef
msxml3: Add error handling when reading from IStream.
2008-08-21 13:26:26 +02:00
Piotr Caban
655155feb8
msxml3: Add ISAXAttributes_getValueFromQName implementation.
2008-08-21 13:26:11 +02:00
Piotr Caban
c9893d176d
msxml3: Add ISAXAttributes_getValueFromName implementation.
2008-08-21 13:26:04 +02:00
Piotr Caban
fa221f56a3
msxml3: Add ISAXAttributes_getIndexFromQName implementation.
2008-08-21 13:25:58 +02:00
Piotr Caban
0afbcd5def
msxml3: Add ISAXAttributes_getIndexFromName implementation.
2008-08-21 13:25:50 +02:00
Piotr Caban
5e1af9b965
msxml3: Add ISAXAttributes_getName implementation.
2008-08-21 13:25:34 +02:00
Piotr Caban
f3ab228ae7
msxml3: Fix checking if ContentHandler was set.
2008-08-21 13:25:24 +02:00
Piotr Caban
03f7909709
msxml3: Add ISAXContentHandler_endPrefix event.
2008-08-21 13:24:13 +02:00
Alistair Leslie-Hughes
373a43f0af
msxml3: Added and corrected trace string.
2008-08-18 17:15:56 +02:00
Piotr Caban
a94e4c196c
msxml3: Add namespaces to attributes.
2008-08-04 13:51:57 +02:00
Piotr Caban
e9d34b7f5a
msxml3: Add ISAXContentHandler_startPrefixMapping event.
2008-08-04 13:51:53 +02:00
Piotr Caban
7be136bcd5
msxml3: Add implementation of ISAXAttributes_getURI.
2008-08-04 13:51:17 +02:00
Piotr Caban
7a5a7819f8
msxml3: Add NULL pointers check in getLocalName, getQName and getValue.
2008-08-04 13:51:11 +02:00
Piotr Caban
319d86c733
msxml3: Return QNames properly.
2008-08-04 13:50:55 +02:00
Michael Stefaniuc
0f5d6827db
msxml3: Remove redundant NULL checks before HeapFree and fix a memleak (Smatch).
2008-08-04 13:03:42 +02:00
Piotr Caban
cb6bcd0028
msxml3: Integrate implementation of IVBSAXXMLReader and ISAXXMLReader interfaces.
2008-08-01 11:18:11 +02:00
Piotr Caban
d439ca5e2a
msxml3: Add IVBSAXLocator implementation.
2008-08-01 11:18:11 +02:00
Piotr Caban
c52e0919fb
msxml3: Prepare libxml2 callbacks for IVBSAX... interfaces implementation.
2008-08-01 11:18:11 +02:00
Piotr Caban
cafbf853ab
msxml3: Added IVBSAXAttributes implementation.
2008-08-01 11:18:11 +02:00
Piotr Caban
4c69e86dea
msxml3: Prepare functions for IVBSAX... interfaces implementation.
2008-08-01 11:18:11 +02:00
Piotr Caban
6818cc6fee
msxml3: Added ISAXAttributes_getQName implementation.
2008-08-01 11:18:11 +02:00
Piotr Caban
df5e40ec72
msxml3: Reorganize parse_buffer function (make use of libxml2 parserInternals.h).
2008-08-01 11:18:11 +02:00
Piotr Caban
25168401af
msxml3: Added ISAXAttributes_getValue implementation.
2008-07-31 13:03:50 +02:00
Piotr Caban
421a9a61c4
msxml3: Added ISAXAttributes_getLocalName implementation.
2008-07-31 13:03:45 +02:00
Piotr Caban
58b26f3b07
msxml3: Add ISAXAttribute_getLength implementation.
2008-07-31 13:03:40 +02:00
Piotr Caban
6df49d5707
msxml3: Initialize ISAXAttribute structure.
2008-07-31 13:03:33 +02:00
Alistair Leslie-Hughes
95660514d3
msxml3: Format get_xml string to be more like msxml3.
2008-07-28 14:29:07 +02:00
Piotr Caban
5816c3808e
msxml3: Added stub implementation of ISAXAttributes.
2008-07-28 11:35:31 +02:00
Piotr Caban
742eb4ba08
msxml3/tests: Added test for ISAXXMLReader_parseURL.
2008-07-28 11:35:21 +02:00
Piotr Caban
b15345d4a8
msxml3: Added ISAXXMLReader_parseURL implementation.
2008-07-28 11:35:15 +02:00
Piotr Caban
6b2e7a18ba
msxml3: Generalize bsc_t implementation.
2008-07-28 11:35:02 +02:00
Piotr Caban
33e35025ec
msxml3: Fix for accessing uninitialized memory.
2008-07-24 11:55:08 +02:00
Piotr Caban
68963c9fd0
msxml3/tests: Add test for parsing document with '\r' characters.
2008-07-24 11:55:01 +02:00
Piotr Caban
c545852013
msxml3/tests: Add test for parsing from IStream.
2008-07-24 11:54:20 +02:00
Piotr Caban
3d4ad645bd
msxml3: Change ISAXXMLReader_characters implementation so it works correctly on files with '\r' characters.
2008-07-24 11:53:13 +02:00
Piotr Caban
bb849dc9c3
msxml3: Change ISAXXMLReader_getLine and ISAXXMLReader_getColumn functions.
2008-07-24 11:53:04 +02:00
Piotr Caban
fc825af3ee
msxml3: Added support for more arguments in ISAXXMLReader_parse.
...
Parsing is not working when XMLDOMDocument is passed. It's because
IXMLDOMDocument_get_xml returns incomplete data.
2008-07-24 11:52:55 +02:00
Piotr Caban
194bae3b60
msxml3: Reorganize ISAXXMLReader_parse function.
2008-07-24 11:52:43 +02:00
Detlef Riekenberg
50840ec3be
msxml3/tests: Fix failure and crash on win9x.
2008-07-23 13:06:22 +02:00
Piotr Caban
0a8b284010
msxml3/tests: Added test for ISAXXMLReader_parse with SafeArray as argument.
2008-07-21 12:57:09 +02:00
Piotr Caban
75681ef314
msxml3: Added support for SafeArrays in ISAXXMLReader_parse.
2008-07-21 12:57:02 +02:00
Piotr Caban
bba7eb5825
msxml3: Add error handling.
2008-07-21 12:56:52 +02:00
Piotr Caban
918a46ce2c
msxml3/tests: Added tests for ISAXXMLReader_putErrorHandler and ISAXXMLReader_getErrorHandler.
2008-07-21 12:56:44 +02:00
Piotr Caban
2cb215b51f
msxml3: Do not invoke ISAXXMLReader_endDocument when parser was stopped.
2008-07-21 12:56:37 +02:00
Michael Stefaniuc
5330f7171d
msxml3: Remove redundant NULL check before HeapFree (Smatch).
2008-07-18 11:12:00 +02:00
Piotr Caban
1547a9de47
msxml3/tests: Added more tests for ISAXXMLReader_parse and ISAXLocator.
2008-07-17 13:03:51 +02:00
Piotr Caban
3196f7801c
msxml3: Added ISAXLocator_getSystemId.
2008-07-17 13:03:26 +02:00
Piotr Caban
60ca0a7b53
msxml3: Added ISAXLocator_getPublicId.
2008-07-17 13:03:20 +02:00
Piotr Caban
e47cbd1e5d
msxml3: Added ISAXContentHandler_putDocumentLocator event.
2008-07-17 13:03:15 +02:00
Piotr Caban
40388631f8
msxml3: Added ISAXContentHandler_characters event.
2008-07-17 13:03:11 +02:00
Piotr Caban
669326344f
msxml3: Added ISAXContentHandler_endElement event.
2008-07-17 13:03:04 +02:00
Piotr Caban
965a2ea5dd
msxml3: Added ISAXContentHandler_startElement event.
2008-07-17 13:02:54 +02:00
Piotr Caban
c58b24b374
msxml3: Added ISAXContentHandler_endDocument event.
2008-07-17 13:02:46 +02:00
Piotr Caban
4cdcc02562
msxml3: Added ISAXLocator_getLineNumber and ISAXLocator_getColumnNumber partial implementation.
2008-07-17 13:02:39 +02:00
Piotr Caban
072383e05b
msxml3: Added ISAXContentHandler_startDocument event.
2008-07-17 13:02:30 +02:00
Piotr Caban
51c952767c
msxml3: Added partial implementation of ISAXXMLReader_parse.
2008-07-17 13:02:21 +02:00
Piotr Caban
d3e9ca7d0a
msxml3: Added stub implementation of ISAXLocator.
2008-07-17 13:02:09 +02:00
Zhangrong Huang
c4ac69b755
msxml3: Add support for accessing CDATASection node.
2008-07-16 19:56:24 +02:00
Zhangrong Huang
89f1bfabe3
msxml3: Add support for accessing document node.
2008-07-16 19:56:24 +02:00
Francois Gouget
6dd7f060a2
msxml3: Fix compilation on systems that don't support nameless unions.
2008-07-14 12:29:53 +02:00
Piotr Caban
4799f06f20
msxml3: Fixed typo in create_bsc.
2008-07-14 12:27:55 +02:00
Alexandre Julliard
8e8d63933b
msxml3: Fix compile without xml headers.
2008-07-14 11:48:37 +02:00
Piotr Caban
f216514dd5
msxml3/tests: Added test for getContentHandler with NULL argument.
2008-07-11 14:22:26 +02:00
Piotr Caban
b3da220229
msxml3: Fixed ISAXXMLReader_getContentHandler and ISAXXMLReader_getErrorHandler when second argument is NULL.
2008-07-11 14:22:26 +02:00
Piotr Caban
d676f7e5bb
msxml3: Fixed xmlnode_removeChild.
2008-07-11 14:22:25 +02:00
Piotr Caban
93e76ece37
msxml3: oldChild in xmlnode_removeChild may be NULL.
2008-07-10 18:11:22 +02:00
Piotr Caban
088f3eef9c
msxml3/tests: Added more tests to ISAXXMLReader_putContentHandler and ISAXXMLReader_getContentHandler, added todo test for ISAXXMLReader_parse.
2008-07-10 18:11:13 +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
Piotr Caban
7f84185aa4
msxml3: Split DOMDocument_create.
2008-07-09 11:31:23 +02:00
Piotr Caban
8221a65049
msxml3: Return better bindf in GetBindInfo.
2008-07-09 11:31:23 +02:00
Piotr Caban
d8b22b9fb5
msxml3: Use OnDataAvailable for reading stream.
2008-07-09 11:31:23 +02:00
Piotr Caban
a08962d41c
msxml3: Store current bsc in domdoc.
2008-07-09 11:31:23 +02:00
Piotr Caban
56e231a4e5
msxml3: Store IBinding in bsc.
2008-07-09 11:31:22 +02:00
Piotr Caban
0f76b41809
msxml3: Make bsc heap based object.
2008-07-09 11:31:22 +02:00
Piotr Caban
223df167cb
msxml3: Implemented domdoc_put_documentElement.
2008-07-09 11:31:22 +02:00
Piotr Caban
26b95dc7fd
msxml3: Use IXMLDOMNode_get_nodeType in xmlnode_appendChild.
2008-07-09 11:31:22 +02:00
Piotr Caban
cabbe8fa35
msxml3/test: Added ISAXXMLReader test.
2008-07-09 11:31:22 +02:00
Piotr Caban
a3549cd9d2
msxml3: Added ISAXXMLReader_getErrorHandler implementation.
2008-07-09 11:31:22 +02:00
Piotr Caban
be89ee1a31
msxml3: Added ISAXMLReader_putErrorHandler implementation.
2008-07-09 11:31:22 +02:00
Piotr Caban
23cae5803a
msxml3: Added ISAXMLReader_getContentHandler implementation.
2008-07-09 11:31:22 +02:00
Piotr Caban
3fa75f49b4
msxml3: Added ISAXXMLReader_putContentHandler implementation.
2008-07-09 11:31:22 +02:00
Piotr Caban
5b350582b9
msxml3: Added ISAXMLReader_getContentHandler implementation.
2008-07-09 11:31:22 +02:00
Piotr Caban
19267603c5
msxml3: Added stub implementation for SAXXMLReader interface.
2008-07-09 11:31:22 +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