When importing a form via XML, it fails if there's a closing > in comments in the submission template, e.g. at the end of a script: /* ]]> */