[libattean-perl] 24/42: Set rdf:langString for language literals

Jonas Smedegaard dr at jones.dk
Mon Feb 12 13:16:14 UTC 2018


This is an automated email from the git hooks/post-receive script.

js pushed a commit to annotated tag debian/0.019-1
in repository libattean-perl.

commit 9d27c38e21c61ba20db9995cb8bc42b3b645bc60
Author: Kjetil Kjernsmo <kjetil at kjernsmo.net>
Date:   Tue Jan 30 12:23:51 2018 +0100

    Set rdf:langString for language literals
---
 lib/Attean/Literal.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Attean/Literal.pm b/lib/Attean/Literal.pm
index 25c1953..d0f1671 100644
--- a/lib/Attean/Literal.pm
+++ b/lib/Attean/Literal.pm
@@ -94,7 +94,7 @@ package Attean::Literal 0.018 {
 		my $orig	= shift;
 		my $self	= shift;
 		if ($self->has_language) {
-			return Attean::IRI->new(value => 'http://www.w3.org/2001/XMLSchema#langString');
+			return Attean::IRI->new(value => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#langString');
 		} else {
 			return $self->$orig(@_);
 		}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libattean-perl.git



More information about the Pkg-perl-cvs-commits mailing list