applied a patch from Rob Richards fixing a couple of bugs in the writer

* xmlwriter.c: applied a patch from Rob Richards fixing a couple
  of bugs in the writer
Daniel
2 files changed