Check for literals created with both language and datatype, unless the datatype if rdf:langString. Also for datatype of rdf:langString without a language.
Verify that rdf:langString is not used when formatting a language literal.