Commit 9ee02f80a4d674bac96f88b5a241825aad453a7a

Daniel Veillard 2012-07-16T19:57:42

Harden the buffer code and make it more compatible Mimic the old xmlBuffer strcture in xmlBuf to avaoid catastrophic failures in case of old code directly reading ctxt->input->buf->buffer Check on all buffer entry points if an error previously occured on the buffer, and fail the operation if this is the case, the buffer becomes immutable and unreadable.