Nikolay Sivov : msxml3: Support setting unlimited xml stream length for a reader.
Alexandre Julliard
julliard at winehq.org
Wed Oct 5 18:03:58 CDT 2011
Module: wine
Branch: master
Commit: 393c232b053c829a477192734214393edc0f67dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=393c232b053c829a477192734214393edc0f67dc
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Wed Oct 5 11:19:43 2011 -0500
msxml3: Support setting unlimited xml stream length for a reader.
---
dlls/msxml3/saxreader.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c
index 8498b8d..857083a 100644
--- a/dlls/msxml3/saxreader.c
+++ b/dlls/msxml3/saxreader.c
@@ -2383,7 +2383,14 @@ static HRESULT internal_putProperty(
return S_OK;
}
- FIXME("(%p)->(%s): unsupported property\n", This, debugstr_w(prop));
+ if(!memcmp(prop, PropertyMaxXMLSizeW, sizeof(PropertyMaxXMLSizeW)))
+ {
+ if (V_VT(&value) == VT_I4 && V_I4(&value) == 0) return S_OK;
+ FIXME("(%p)->(%s): max-xml-size unsupported\n", This, debugstr_variant(&value));
+ return E_NOTIMPL;
+ }
+
+ FIXME("(%p)->(%s:%s): unsupported property\n", This, debugstr_w(prop), debugstr_variant(&value));
if(!memcmp(prop, PropertyCharsetW, sizeof(PropertyCharsetW)))
return E_NOTIMPL;
@@ -2397,9 +2404,6 @@ static HRESULT internal_putProperty(
if(!memcmp(prop, PropertyMaxElementDepthW, sizeof(PropertyMaxElementDepthW)))
return E_NOTIMPL;
- if(!memcmp(prop, PropertyMaxXMLSizeW, sizeof(PropertyMaxXMLSizeW)))
- return E_NOTIMPL;
-
if(!memcmp(prop, PropertySchemaDeclHandlerW, sizeof(PropertySchemaDeclHandlerW)))
return E_NOTIMPL;
More information about the wine-cvs
mailing list