I know what this error means, but the XML I'm deploying (below) was generated by the Migration Tool after running ant retrieve, and every XML validator I've tried says it's valid XML, without typos. I've used this same process to deploy a thousand times, and this is the first I'm seeing of this error (when it hasn't been the result of my manual modification of the package.xml manifest file).

Could this be an issue with the Migration Tool or Salesforce Metadata API?

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
        <members>Campaign-Campaign Layout</members>
        <members>Admin Team</members>
        <members>Aristotle System Admin</members>
        <members>Compliance %2F Finance</members>
        <members>Distributor - Institutional</members>
        <members>Power User - Modify All Objects</members>
        <members>Sales - Advisory</members>
        <members>Sales - Institutional</members>
        <members>System Administrator API Only</members>

1 Answer 1


Ok, so it turns out the error message was a bit misleading. The XML formatting error wasn't in the package.xml file as the message suggests, but in my destructiveChangesPost.xml file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .