We're updating the issue view to help you get more done. 

Control characters within localized string caused transaction fail

Description

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)
at org.openrdf.http.client.HTTPClient.sendTransaction(HTTPClient.java:738)
at org.openrdf.repository.http.HTTPRepositoryConnection.commit(HTTPRepositoryConnection.java:277)

Environment

None

Status

Assignee

JeenB

Reporter

Marek Šurek

Labels

None

Fix versions

Affects versions

2.6.10

Priority

Major