Adds support to REQBODY_ERROR_MSG and REQBODY_ERROR

Support to REQBODY_PROCESSOR_ERROR and REQBODY_PROCESSOR_ERROR_MSG
were also added.
This commit is contained in:
Felipe Zimmerle
2016-06-16 23:14:15 -03:00
parent 7bd6e9a2bd
commit ebe8424758
6 changed files with 120 additions and 29 deletions

View File

@@ -46,8 +46,8 @@ class XML {
explicit XML(Transaction *transaction);
~XML();
bool init();
bool processChunk(const char *buf, unsigned int size);
bool complete();
bool processChunk(const char *buf, unsigned int size, std::string *err);
bool complete(std::string *err);
static xmlParserInputBufferPtr unloadExternalEntity(const char *URI,
xmlCharEncoding enc);