checkTranslation fails on non-xml content

Fixes #7