Commit Graph

178 Commits

Author SHA1 Message Date
Nikolay Sivov f999f4ae69 msxml3: Remove redundant type specifiers. 2011-12-16 16:38:27 +01:00
Piotr Caban c253bab26a msxml3: Change parser position computation. 2011-11-28 16:40:50 +01:00
Nikolay Sivov 0ba0f4ccf8 msxml3: Added IDispatchEx support for SAXReader. 2011-11-21 15:35:09 +01:00
Piotr Caban a95b35de07 msxml3: Use namespaces stack in SAXAttributes interface implementation. 2011-10-31 16:52:56 +01:00
Piotr Caban 216b64801d msxml3: Don't allocate new strings when returning namespace related data. 2011-10-31 16:52:51 +01:00
Piotr Caban 619c2dcd08 msxml3: Don't use libxml namespaces stack. 2011-10-31 16:52:44 +01:00
Piotr Caban 1b46206a34 msxml3: Merge SAXLocator and SAXAttributes objects. 2011-10-31 16:52:32 +01:00
Piotr Caban de91f264cb msxml3: Fix position computation in libxmlStartElementNS. 2011-10-31 16:52:20 +01:00
Piotr Caban 685be40c33 msxml3: Fix attributes handling when msxml6 is used. 2011-10-26 14:14:36 +02:00
Piotr Caban 2b671cad96 msxml3: Accept S_FALSE as a valid callback result when msxml6 is used. 2011-10-25 16:57:23 +02:00
Piotr Caban e84c41028b msxml3: Make positions returned by ISAXLocator compatible with msxml6. 2011-10-25 16:57:09 +02:00
Piotr Caban 6927a11eab msxml3: Prefer to report msxml error over libxml parsing error. 2011-10-24 19:54:15 +02:00
Piotr Caban 41eba1c30d msxml3: Return parser result in detach_url. 2011-10-24 19:54:15 +02:00
Piotr Caban f8112cc548 msxml3: Don't report fatal errors many times. 2011-10-24 19:54:15 +02:00
Nikolay Sivov d65f298817 msxml3: Add some useful traces and demangle some parameter names. 2011-10-06 16:46:40 -05:00
Nikolay Sivov 3d3786c2fa msxml3: Support setting namespaces feature to default value. 2011-10-05 14:13:16 -05:00
Nikolay Sivov 5f68f3710c msxml3: Support setting unlimited nesting depth for a reader. 2011-10-05 14:13:07 -05:00
Nikolay Sivov 393c232b05 msxml3: Support setting unlimited xml stream length for a reader. 2011-10-05 14:13:01 -05:00
Nikolay Sivov 165d1b5d70 msxml3: Accept DTD prohibition feature. 2011-10-05 14:12:49 -05:00
Nikolay Sivov cc4c694623 msxml3: Accept lexical handler parameter entities switch. 2011-10-05 14:12:44 -05:00
Nikolay Sivov 1bd501ab3e msxml3: Accept disabled parameter entities feature. 2011-10-05 14:12:27 -05:00
Nikolay Sivov ad336be675 msxml3: Accept disabling of external entities loading. 2011-10-04 16:55:27 -05: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
Nikolay Sivov 809959de2c msxml3: It's not a failure to get S_FALSE from IStream::Read(). 2011-09-21 14:41:25 +02:00
Andrew Nguyen 9c5d5d8ed5 msxml3: Extend the lifetime of the SAX callback BSTRs beyond the callback invocation. 2011-07-15 16:35:55 +02:00
Alistair Leslie-Hughes 5f1262825c msxml3: clang corrections. 2011-07-05 13:53:26 +02:00
Alexandre Julliard a1c8f6df84 msxml3: Include the system libxml headers before the Windows headers. 2011-02-24 15:49:28 +01:00
Nikolay Sivov a0a464ad81 msxml3: Use helper to consistently dump variant parameters. 2011-02-22 12:30:37 +01:00
Michael Stefaniuc 13e1997860 msxml3: Standardize the COM usage in saxreader.c. 2010-12-28 16:35:39 +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 804c50fb6c msxml3: Use defined error code for no error case. 2010-11-09 11:44:53 +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 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
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 fd35084294 msxml3: Silence FIXME for supported properties. 2010-08-30 11:28:46 +02:00
Nikolay Sivov 62e521ad0d msxml3: Add IXMLDOMDocument3 stub support. 2010-08-30 11:28:17 +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
Piotr Caban a42a0917cd msxml3: Fix illegal memory access. 2010-06-28 11:43:10 +02:00
Nikolay Sivov d8a9a691e6 msxml3: Use existing helpers for heap allocations. 2010-02-04 13:39:28 +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 73a955efff msxml3: Fix string leak while parsing with IXMLDOMDocument. 2010-01-11 11:31:36 -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
Michael Stefaniuc 6a5dda7143 msxml3: Remove superfluous pointer casts. 2009-01-26 14:31:05 +01:00
Michael Stefaniuc 328f60a686 msxml3: Do not cast void pointers to other pointer types. 2008-12-05 12:36:21 +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
Andrew Talbot ce3af50d10 msxml3: Void function should not return a value. 2008-11-14 11:02:15 +01: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
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
Detlef Riekenberg f4558c6475 msxml3: Remove redundant NULL check before SysFreeString. 2008-09-23 12:12:33 +02:00
Piotr Caban a28b604f77 msxml3: Change order of interface recognition and fix typo. 2008-09-22 11:49:06 +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
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 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
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
Piotr Caban 5816c3808e msxml3: Added stub implementation of ISAXAttributes. 2008-07-28 11:35:31 +02:00
Piotr Caban b15345d4a8 msxml3: Added ISAXXMLReader_parseURL implementation. 2008-07-28 11:35:15 +02:00
Piotr Caban 33e35025ec msxml3: Fix for accessing uninitialized memory. 2008-07-24 11:55:08 +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