lukin0110 / poeditor-gradle

Gradle plugin to manage translations with POEditor
https://poeditor.com
Apache License 2.0
26 stars 7 forks source link

Malformed file written to disk #9

Open bpappin opened 8 years ago

bpappin commented 8 years ago

We are getting a bad xml file from the server in some way, for Urdu. We are unsure if its related to the translated content or encoding during transmission or writing the file to the disk by the plugin.

The problem is mostly like related to this stack overflow issue: http://stackoverflow.com/questions/4569123/content-is-not-allowed-in-prolog-saxparserexception

The error we are seeing when we try a compile with --debug option is: Error: Content is not allowed in prolog.

bpappin commented 8 years ago

I'm beginning to this the problem is actually caused by something else related to unicode cares for this Language (ur, Urdu). The XML being generated is not friendly to the compiler.