Make sure the xml file is saved to an absolute path.
This may have been the problem. Have we fixed this before? Might be another case of me having to redo work because of uncommitted code...