Nikolay Sivov (@nsivov) commented about dlls/xmllite/writer.c:
- writer_close_starttag(writer); default: ; }
- return E_NOTIMPL;
- while (*pwch && cwch)
- {
if (FAILED(hr = writer_get_next_write_count(pwch, cwch, &count))) return hr;
if (FAILED(hr = write_output_buffer(writer->output, pwch, count))) return hr;
pwch += count;
cwch -= count;
- }
- if (cwch) return WC_E_XMLCHARACTER;
Why do we need it here, but not in WriteRaw() ?