I am parsing a bunch of XML files. Nearly all of them are well-formed, but due to a bug beyond my control, some may not be. Is there a quick and easy way to verify that the XML is well-formed before attempting to parse it? I'd really like to just skip the bad files and deal with them later by hand. I tried to use XML_check, but it seems to have an error in it.