xmllite/writer: Implement WriteFullEndElement().

This commit is contained in:
Nikolay Sivov 2014-06-15 14:13:43 +04:00 committed by Alexandre Julliard
parent 8436b58ee7
commit bfceaa4f39
1 changed files with 13 additions and 2 deletions

View File

@ -675,10 +675,21 @@ static HRESULT WINAPI xmlwriter_WriteEntityRef(IXmlWriter *iface, LPCWSTR pwszNa
static HRESULT WINAPI xmlwriter_WriteFullEndElement(IXmlWriter *iface)
{
xmlwriter *This = impl_from_IXmlWriter(iface);
struct element *element;
FIXME("%p\n", This);
TRACE("%p\n", This);
return E_NOTIMPL;
element = pop_element(This);
if (!element)
return WR_E_INVALIDACTION;
/* write full end tag */
write_output_buffer(This->output, closeelementW, ARRAY_SIZE(closeelementW));
write_output_buffer(This->output, element->qname, element->len);
write_output_buffer(This->output, gtW, ARRAY_SIZE(gtW));
This->starttagopen = FALSE;
return S_OK;
}
static HRESULT WINAPI xmlwriter_WriteName(IXmlWriter *iface, LPCWSTR pwszName)