Don't crash whith documents with no lang attribute