If you get an error like this, please make sure that you used:
<wr:out value="${localisation.data1}"/>
and not
<wr:out select="${localisation.data1}"/>
A select passes the string to the database as a query. A value uses data from an existing select.