Unable to retrieve literal with invalid language tag

Description

I have accidentally added literal with invalid language tag to http repository and whenever it would be returned from query I get error. To reproduce:

Generates:

The connection.getValueFactory().createLiteral("Fooo", XMLSchema.STRING.stringValue()) is clearly invalid but it was added successfully but subsequent retrieval fails. It would be better to fail earlier during insert, because now repository ends "broken" and for example workbench export functionality do not work.

Environment

Windows Vista

Assignee

Jeen Broekstra

Reporter

Grzegorz Abramczyk

Labels

None

Components

Fix versions

Affects versions

Priority

Minor
Configure