Fixing files with BOM
Woops! You edited a file with XML Copy Editor, but missed this note about how to make it safe to use. Now when you try to validate, you’re getting mysterious messages about “Content not allowed in prolog,” and your terminal looks something like this:
The fix is easy:
cdto the directory with your edited file (something likecd /vagrant/YOUR_REPOS/editions/Iliadorcd /vagrant/YOUR_REPOS/editions/scholia).- Fix the file with this command
bomstrip-files FILE_NAME(whereFILE_NAMEmight be something likeVenetusA-Iliad.xmlorMainScholia.xml). - Make sure you check the configuration of XML Copy Editor following these instructions.