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

Re: proposed set of SHACL tests

From: Holger Knublauch <holger@topquadrant.com>
Date: Fri, 15 Jan 2016 15:20:29 +1000
To: public-data-shapes-wg@w3.org
Message-ID: <5698819D.8040506@topquadrant.com>
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:21:06 UTC

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