From e4cecd6006f17b9f549e689294536f1e29548adf Mon Sep 17 00:00:00 2001 From: Patrick van Kleef Date: Fri, 12 May 2023 22:35:15 +0200 Subject: [PATCH] Added support for showing custom datatypes (fixes #963) Custom datatype is not shown when the value is treated as a string. When there is no language and it is not `xsd:string`, it should be displayed. Reported-by: IS4Code --- sql/description.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/description.sql b/sql/description.sql index 944d06a..d433614 100644 --- a/sql/description.sql +++ b/sql/description.sql @@ -1130,7 +1130,8 @@ again: else http_value (vlbl); http (''); - --lang := ''; + if ((lang is NULL or lang = '') and rdfs_type <> 'http://www.w3.org/2001/XMLSchema#string') + lang := b3s_xsd_link (rdfs_type); } else if (__tag (_object) = 211) {