[Fwd: Error in langMatches test LangMatches-3]

 From the comments list:

This test looks wrong as Steve noted:

http://lists.w3.org/Archives/Public/public-rdf-dawg/2006AprJun/0081.html

	Andy

-------- Original Message --------
Subject: Error in langMatches test LangMatches-3
Resent-Date: Thu, 22 Jun 2006 14:01:25 +0000
Resent-From: public-rdf-dawg-comments@w3.org
Date: Thu, 22 Jun 2006 16:01:06 +0200
From: Jan Wielemaker <wielemak@science.uva.nl>
Organization: HCS, University of Amsterdam
To: public-rdf-dawg-comments@w3.org


Hi,

The test langMatches-3 reads:

================================================================
PREFIX : <http://example.org/#>

SELECT *
{ :x ?p ?v . FILTER langMatches(lang(?v), "*") . }
================================================================

With data

================================================================
@prefix : <http://example.org/#> .

:x :p1 "abc" .
:x :p2 <abc> .
:x :p3 "abc"@en .
:x :p4 "abc"@en-gb .
:x :p5 "abc"@fr .
================================================================

The result-set specifies the answers p1, p3, p4 and p5.  P1 is in conflict
with "11.4.11 langMatches", which explicitely states * does *not* match
literals without a language qualifier.

	Cheers --- Jan

Received on Monday, 26 June 2006 10:44:40 UTC