put a single whitespace in front of the xml declaration at the start of a zanata.xml and the client blows up when you try to push. It should handle whitespace. This is xml, not python! Works: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config xmlns="http://flies.openl10n.net/config/v1/"> <url>http://flies-devel.englab.bne.redhat.com</url> <project>anaconda</project> <project-version>rhel6</project-version> <locales> <locale>af</locale> <locale>am</locale> <locale>as</locale> <locale>ar</locale> </locales> </config> Explodes: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <config xmlns="http://flies.openl10n.net/config/v1/"> <url>http://flies-devel.englab.bne.redhat.com</url> <project>anaconda</project> <project-version>rhel6</project-version> <locales> <locale>af</locale> <locale>am</locale> <locale>as</locale> <locale>ar</locale> </locales> </config>
Assigning to Scrum product owner for prioritisation.
Sorry, but white space is not allowed before the XML declaration: $ xmllint zanata.xml zanata.xml:1: parser error : XML declaration allowed only at the start of the document <?xml version="1.0" encoding="UTF-8" standalone="yes"?> ^