Some checks for return codes are missing.
Example:
Would you like to add more error handling for null pointers from "malloc" like in the function "xmlformatter_new".
http://gonzui.cvs.sourceforge.net/gonzui/gonzui/gonzui/webapp/xmlformatter.c?revision=1.4&view=markup