msxml3: Support setting unlimited nesting depth for a reader.

This commit is contained in:
Nikolay Sivov 2011-10-05 11:23:56 -05:00 committed by Alexandre Julliard
parent 393c232b05
commit 5f68f3710c
1 changed files with 7 additions and 3 deletions

View File

@ -2390,6 +2390,13 @@ static HRESULT internal_putProperty(
return E_NOTIMPL;
}
if(!memcmp(prop, PropertyMaxElementDepthW, sizeof(PropertyMaxElementDepthW)))
{
if (V_VT(&value) == VT_I4 && V_I4(&value) == 0) return S_OK;
FIXME("(%p)->(%s): max-element-depth 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)))
@ -2401,9 +2408,6 @@ static HRESULT internal_putProperty(
if(!memcmp(prop, PropertyInputSourceW, sizeof(PropertyInputSourceW)))
return E_NOTIMPL;
if(!memcmp(prop, PropertyMaxElementDepthW, sizeof(PropertyMaxElementDepthW)))
return E_NOTIMPL;
if(!memcmp(prop, PropertySchemaDeclHandlerW, sizeof(PropertySchemaDeclHandlerW)))
return E_NOTIMPL;