better handling of error cases Daniel

* xmlIO.c: better handling of error cases
Daniel
3 files changed