title: Fix large bad-formatted xml files
body: <p>Is there any library for fixing large (>200MB) bad-formatted (missing closed tags, unmatched quotes, non-escaped characters, non-printable characters, etc.) xml files? A library in any programming language is okay. I found <a href="http://us.php.net/manual/en/book.tidy.php" rel="nofollow">PHP Tidy</a> that works for small files only since it read the whole file into memory.</p>