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

Re: proposed set of SHACL tests

From: Simon Steyskal <simon.steyskal@wu.ac.at>
Date: Fri, 15 Jan 2016 06:55:38 +0100
To: Holger Knublauch <holger@topquadrant.com>
Cc: public-data-shapes-wg@w3.org
Message-ID: <a80b7ec24a13a16ad7bc14dd13110755@wu.ac.at>
Hi!

> Does the commit below look correct?

yes, that should do the trick.

thx,
simon

---
DDipl.-Ing. Simon Steyskal
Institute for Information Business, WU Vienna

www: http://www.steyskal.info/  twitter: @simonsteys

Am 2016-01-15 06:20, schrieb Holger Knublauch:
> On 8/01/2016 5:27 PM, Simon Steyskal wrote:
>> 
>> @ Holger
>> If one states that an arbitrary number of results should be returned 
>> by using "ms:result false", your engine throws a 
>> ResourceRequiredException.
>> I fixed that by adding
>> 
>>     else if(JenaDatatypes.FALSE.equals(resultS.getObject())){
>>         if(results.isEmpty())
>>             fail("Validation was expected to produce validation 
>> results for " + testResource);
>>     }
>> 
>> to AbstractSHACLTestClass.java
> 
> Thanks for reporting this - that isn't a case that I have encountered
> yet, and in general my test framework isn't complete. Does the commit
> below look correct?
> 
> https://github.com/TopQuadrant/shacl/commit/47da5a8c6f25ad5c36fb2258c6d162bfd3e832fb
> 
> Thanks
> Holger
Received on Friday, 15 January 2016 05:56:10 UTC

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