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

shapes-ISSUE-118 (syntax errors): syntax errors should not be confusable with validation results [SHACL Spec]

From: RDF Data Shapes Working Group Issue Tracker <sysbot+tracker@w3.org>
Date: Mon, 11 Jan 2016 15:06:33 +0000
To: public-data-shapes-wg@w3.org
Message-Id: <E1aIe3F-0002aV-OU@deneb.w3.org>
shapes-ISSUE-118 (syntax errors): syntax errors should not be confusable with validation results [SHACL Spec]

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

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

SHACL syntax errors should not be easily confusable with validation results.

Something like the following is not suitable as the report of a syntax error.

[ a       <http://www.w3.org/ns/shacl#ValidationResult> ;
  <http://www.w3.org/ns/shacl#message>
          "Required minimum value count 1 but found 0"^^<http://www.w3.org/2001/XMLSchema#string> ;
  <http://www.w3.org/ns/shacl#predicate>
          <http://peoplepetsontology.example.com/pet> ;
  <http://www.w3.org/ns/shacl#severity>
          <http://www.w3.org/ns/shacl#Violation> ;
  <http://www.w3.org/ns/shacl#sourceConstraint>
          []  ;
  <http://www.w3.org/ns/shacl#sourceShape>
          []  ;
  <http://www.w3.org/ns/shacl#sourceTemplate>
          <http://www.w3.org/ns/shacl#AbstractMinCountPropertyConstraint>
] .
Received on Monday, 11 January 2016 15:06:36 UTC

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