From 0babf85f08b274dcdc464d65556562d5eac0adb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konrad=20H=C3=B6ffner?= Date: Tue, 27 May 2025 14:09:00 +0200 Subject: [PATCH] fix xsd prefix Just found it due to a bug in my code when using this library. It should be http://www.w3... and not https:/.. . --- grammar/ntriple.rustpeg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar/ntriple.rustpeg b/grammar/ntriple.rustpeg index db7d204..95ecb0c 100644 --- a/grammar/ntriple.rustpeg +++ b/grammar/ntriple.rustpeg @@ -44,7 +44,7 @@ literal -> Literal { let type_lang = match tl { Some(type_lang) => type_lang, - None => TypeLang::Type(String::from("https://www.w3.org/2001/XMLSchema#string")) // a literal without type defaults to string + None => TypeLang::Type(String::from("http://www.w3.org/2001/XMLSchema#string")) // a literal without type defaults to string }; Literal {data: lit, data_type: type_lang} }