diff --git a/dlls/msxml3/saxreader.c b/dlls/msxml3/saxreader.c index 857083a9ca5..b77180232a8 100644 --- a/dlls/msxml3/saxreader.c +++ b/dlls/msxml3/saxreader.c @@ -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;