Fixes XmlFormat to parse the root namespace properly, fixing exports
Fixes XmlFormat for encoding bugs and missing attributes