Special characters need to be escaped in package.xml in Salesforce ANT deployment to avoid errors and exceptions.
So, please escape the following special characters.
1. & – ampersand(&)
2. < – less than symbol( < )
3. > – greater than symbol( > )
4. " – quote
5. ' – apostrophe