Commit Graph

152 Commits

Author SHA1 Message Date
Nikolay Sivov 5b7a55f67f msxml3: Accept ISequentialStream as reader input. 2012-07-24 13:36:26 +02:00
Nikolay Sivov 007ac83fc9 msxml3: Use single helper to test for handler presence. 2012-07-17 12:50:18 +02:00
Nikolay Sivov 33a1f892b8 msxml3: Implement a common way to store and get callback interface pointers. 2012-07-16 15:21:46 +02:00
Nikolay Sivov 2bff764df0 msxml3: Implement put/get for DTD handler callback interface. 2012-07-16 15:21:46 +02:00
Nikolay Sivov 7cbd9dcdc3 msxml3: Reader shouldn't depend on input being properly allocated BSTR string. 2012-06-18 11:59:41 +02:00
Nikolay Sivov 16ef649b5f msxml3: Revert: msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting.
This reverts commit c2c8b9e771 and adds
a comment for uri reporting feature that some application use, for
example Office 2010.  The problem is that namespace uri pointer should
stay the same and we keep it in element stack for that, MXAttributes
allocates new string for each attribute and won't work as needed
unfortunately.
2012-06-18 11:59:41 +02:00
Nikolay Sivov c2c8b9e771 msxml3: Reuse MXAttributes implementation for SAX reader attributes reporting. 2012-06-11 12:19:07 +02:00
Nikolay Sivov fc4dab4c3b msxml3: Add a helper to check that lexical handler is set. 2012-05-08 16:22:28 +02:00
Nikolay Sivov 2dc6711f6d msxml3: Protect content callbacks from being called on reset content handler pointer. 2012-05-08 16:22:21 +02:00
Nikolay Sivov 28335fb39b msxml3: Query for handler interface instead of using what was passed in Variant directly. 2012-04-27 11:59:50 +02:00
Nikolay Sivov 221f9efe27 msxml3: Switch parser encoding manually when it won't be able to detect it (UTF-16 case). 2012-04-23 11:44:01 +02:00
Nikolay Sivov 4fb5872bd2 msxml3: Support 'namespace-prefixes' feature. 2012-04-20 11:58:57 +02:00
Nikolay Sivov 1554cbc4d7 msxml3: Make failing Locator QI a warning. 2012-04-19 12:06:00 +02:00
Nikolay Sivov 54df4811c6 msxml3: Fix handling of feature values. 2012-04-19 12:05:55 +02:00
Nikolay Sivov f27159a59f msxml3: Respect 'namespaces' feature calling content handler callbacks. 2012-04-19 12:05:50 +02:00
Nikolay Sivov 137a21d04c msxml3: Use lookup table for feature names. 2012-04-19 12:05:42 +02:00
Nikolay Sivov 9a5da56f56 msxml3: Set namespace-prefixes on by default. 2012-04-17 11:48:35 +02:00
Nikolay Sivov f9c3a51fd8 msxml3: Fix end prefix iteration for SAXXMLReader40. 2012-04-17 11:48:18 +02:00
Nikolay Sivov bcd858547b msxml3: Use expected/actual sequence concept for reader tests including attributes tests. 2012-04-16 12:04:43 +02:00
Piotr Caban 2cbd6a63df msxml3: Added internal function for loading xml from IMoniker. 2012-03-12 16:04:50 +01:00
Nikolay Sivov 973f62f0e3 msxml3: Return default namespace uri for 'xml'-prefixed attributes. 2012-03-01 18:13:10 +01:00
Nikolay Sivov f39209cd2e msxml3: Fix element data leak on error. 2012-02-06 10:19:32 -06:00
Nikolay Sivov 012806a077 msxml3: Try IStream if IPersistStream save failed. 2012-01-23 15:59:53 +01:00
Nikolay Sivov 9d662928f5 msxml3: Implement element stack and use it in related callbacks. 2011-12-28 17:52:29 +01:00
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