W3C home > Mailing lists > Public > public-data-shapes-wg@w3.org > April 2016

shapes-ISSUE-158 (ill-typed literals and sh:datatype): ill-typed literals do not always trigger a validation result [SHACL - Core]

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Fri, 29 Apr 2016 09:59:21 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1aw5Cj-000E67-0i@nash.w3.org>
shapes-ISSUE-158 (ill-typed literals and sh:datatype): ill-typed literals do not always trigger a validation result [SHACL - Core]

http://www.w3.org/2014/data-shapes/track/issues/158

Raised by: Peter Patel-Schneider
On product: SHACL - Core

The node ex:i1 in
ex:i1 ex:p "c"^^xsd:integer 
validates against
ex:s1 a sh:Shape ;
  sh:property [ a sh:PropertyConstraint ; sh:predicate ex:p ; sh:datatype xsd:integer ] .

I think that it should not validate because "c" is not in the lexical space of the datatype xsd:integer.
Received on Friday, 29 April 2016 09:59:22 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:30:31 UTC