Commit Graph

163 Commits

Author SHA1 Message Date
Frédéric Delanoy 30aec559ac msxml3: Use BOOL type where appropriate. 2013-10-01 10:50:54 +02:00
Michael Stefaniuc f695cb6da1 msxml3: Avoid shadowing a function parameter. 2013-09-03 16:58:19 +02:00
Nikolay Sivov b1bf9a62f9 msxml3: Unescape '&' back to '&' in attribute value. 2013-07-31 22:26:53 +02:00
Nikolay Sivov 81ffe0432e msxml3: Use characters callback helper in one more place. 2013-03-14 12:03:38 +01:00
Nikolay Sivov 6874bf3c4e msxml3: Process CDATA section before reporting it. 2013-03-13 16:27:51 +01:00
Nikolay Sivov f929611a68 msxml3: Revert "msxml3: AddRef() typeinfo pointers only when we have to.".
This reverts commit 6e566ce6c2.
2012-11-29 11:16:02 +01:00
Nikolay Sivov 818917a09e msxml3: Properly store SystemID and PublicID (Coverity). 2012-11-28 20:14:45 +01:00
Nikolay Sivov 6e566ce6c2 msxml3: AddRef() typeinfo pointers only when we have to. 2012-11-19 16:35:22 +01:00
Nikolay Sivov 7a00f31ecf msxml3: Stub support for external entity resolver. 2012-11-16 17:42:48 +01:00
Nikolay Sivov a644bad2af msxml3: Store handler pointers so casts to particular type are avoided. 2012-11-16 17:42:47 +01:00
Nikolay Sivov 2a8552a925 msxml3: Implement xmldecl-version property for a reader. 2012-08-27 11:32:00 +02:00
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