Some fixes of the XML classes and UTF-8 changes for the documentation.