msxml3: Support setting unlimited xml stream length for a reader.

oldstable
Nikolay Sivov 2011-10-05 11:19:43 -05:00 committed by Alexandre Julliard
parent 165d1b5d70
commit 393c232b05
1 changed files with 8 additions and 4 deletions

View File

@ -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;