While loading triples into repository no exception is thrown when literal xsd:string with control character is loaded from trig file.
"some text.\u0005 Some text."@en
When transaction is handled with this literal this exception is thrown :
org.openrdf.repository.RepositoryException: Transaction failed: MALFORMED DATA: An invalid XML character (Unicode: 0x5) was found in the element content of the document. (400)