Perhaps your file contains <!- without a following -.
But this is a wild guess - asking us what's wrong with your XML without showing us the XML is a bit optimistic.
Michael Kay
http://www.saxonica.com/
Author, XSLT Programmer's Reference and XPath 2.0 Programmer's Reference