better handling with exceptions in __toString()
refactored generators.
typo
Bug in XML format
Merge pull request #803 from borro/patch-1

Bug in XML format