2213: Don't crash when we're given invalid XML control chars
Merge pull request #5 from pculture/x-2213

2213: Don't crash when we're given invalid XML control chars