Quick Way to Validate XML/Identify Point of Brokenness
There's a linux command called xmllint that is good for this. It's very fast, handles honking great files without barfing, and gives useful validation error messages.
The other answer one-liner-fied:
python -c "import sys, xml.dom.minidom as d; d.parse(sys.argv[1])" FILE