I am getting the below error when parsing a xml
Creating XML context...
Parsing XML ...
In line 1 of buffer:LPX-00217: invalid character 0 (U+0000)
The xml is already read into a buffer
ecode = XmlLoadSax(xctx, &saxcb, &sc, "buffer", addr_buf, "buffer_length", buf_len,
"validate", TRUE, "discard_whitespace", TRUE, NULL)
I understand that null characters are getting appended when the xml is read into the buffer.I need to remove them!!!
Any help appreciated.