W3C home > Mailing lists > Public > public-rdf-dawg-comments@w3.org > April 2006

Test case w/unsupported datatypes

From: Geoff Chappell <gchappell@intellidimension.com>
Date: Fri, 7 Apr 2006 12:39:38 -0400
To: <public-rdf-dawg-comments@w3.org>
Message-ID: <E1FRu0X-0002Pb-Kg@maggie.w3.org>

I'm working through the testcases and wondering about this test case:

       http://www.w3.org/2001/sw/DataAccess/tests/#extendedtype-ne-fail

which tests the decision that opaque types can not be tested for != . I
understand the intent, but wonder how that is justified given the definition
of A != B as fn:not(RDFterm-equal(A, B))? I guess A != B is in fact
something like:

	if A and B are literals of unsupported type 
		A != B is false
	else
		A != B is fn:not(RDFterm-equal(A, B))?  

Is that right? Some clarification of this in the docs would be good if so.

FWIW, I think it would have been a better decision to say that RDFterm-equal
of unsupported datatypes is a type exception if the lexical values aren't
the same (and so != would be as well). 

Thanks,

-Geoff
Received on Friday, 7 April 2006 16:40:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:14:50 GMT