Allow XML_GetBuffer() with len=0 on a fresh parser

len=0 was previously OK if there had previously been a non-zero call.
It makes sense to allow an application to work the same way on a
newly-created parser, and not have to care if its incoming buffer
happens to be 0.
2 files changed