Re: is there an implementation of Shape Expressions that correctly handles recursive shapes?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't see anything in the referenced message that explains what I am
getting, which is:

Validating <http://ex.example/#a> as <S>.
error: exception testing against:

<http://ex.example/#p> @<T>*

[[ReferenceError: testExclusiveness is not defined]]


peter




On 03/21/2015 11:41 PM, Eric Prud'hommeaux wrote:
> * Peter F. Patel-Schneider <pfpschneider@gmail.com> [2015-03-21
> 18:10-0700]
>> I don't know whether that has helped.  I'm now getting an error.
> 
> I believe that <http://www.w3.org/mid/20150320172527.GB649@w3.org> 
> describes that error.
> 
> 
>> peter
>> 
>> 
>> On 03/21/2015 05:15 PM, Eric Prud'hommeaux wrote:
>>> * Eric Prud'hommeaux <eric@w3.org> [2015-03-20 13:25-0400]
>>>> * Peter F. Patel-Schneider <pfpschneider@gmail.com> [2015-03-20 
>>>> 09:29-0700]
>>>>> On 03/20/2015 07:53 AM, Eric Prud'hommeaux wrote:
>>>>>> * Peter F. Patel-Schneider <pfpschneider@gmail.com> [2015-03-20
>>>>>>  06:54-0700]
>>>>> .
>>>>>>> 
>>>>>>> I tried the following example of a recursive shape in all
>>>>>>> the ways that I could think of in the online tools:
>>>>>>> 
>>>>>>> 
>>>>>>> SCHEMA:
>>>>>>> 
>>>>>>> PREFIX ex: <http://ex.example/#> start = <S> <S> { ex:p @<T>*
>>>>>>> } <T> { ( ex:q @<Z> | ex:r @<T> ) } <Z> { }
>>>>>>> 
>>>>>>> DATA:
>>>>>>> 
>>>>>>> PREFIX ex: <http://ex.example/#> ex:a ex:p ex:b . ex:a ex:p
>>>>>>> ex:c . ex:b ex:q ex:z . ex:c ex:q ex:z . ex:b ex:r ex:c .
>>>>>>> ex:c ex:r ex:b .
>>>>>>> 
>>>>>>> ShEx Demo (http://www.w3.org/2013/ShEx/FancyShExDemo) appears
>>>>>>> to go into an infinite loop on this input.
>>>>>> 
>>>>>> Interesting, what browser were you using?
>>>>> 
>>>>> Firefox.  I have attached a screenshot.
>>>> 
>>>> I tracked it down and I have a race condition in my parallelized 
>>>> validator. I'm going to have to scratch my head a bit to figure out
>>>> how to deal with this. In the mean time, I add a switch to run it
>>>> in synchronous mode.
>>> 
>>> Added an Async switch.
>>> 
>>> http://www.w3.org/2013/ShEx/FancyShExDemo.html?starting-nodes=ex%3Aa&schema=PREFIX%20ex%3A%20%3Chttp%3A%2F%2Fex.example%2F%23%3E%0Astart%20%3D%20%3CS%3E%0A%3CS%3E%20%7B%20ex%3Ap%20%40%3CT%3E*%20%7D%0A%3CT%3E%20%7B%20(%20ex%3Aq%20%40%3CZ%3E%20%7C%20ex%3Ar%20%40%3CT%3E%20)%20%7D%0A%3CZ%3E%20%7B%20%7D%0A&data=PREFIX%20ex%3A%20%3Chttp%3A%2F%2Fex.example%2F%23%3E%0Aex%3Aa%20ex%3Ap%20ex%3Ab%20.%0Aex%3Aa%20ex%3Ap%20ex%3Ac%20.%0Aex%3Ab%20ex%3Aq%20ex%3Az%20.%0Aex%3Ac%20ex%3Aq%20ex%3Az%20.%0Aex%3Ab%20ex%3Ar%20ex%3Ac%20.%0Aex%3Ac%20ex%3Ar%20ex%3Ab%20.%0A#resNo0
>>>
>
>>> 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVDrWlAAoJECjN6+QThfjzdbQH/RLbWD2b2mrj5VzKBeGQ2NIa
RjAPV2eGjq7A3BBs0yK0n2wNkcsO3N3zDat3jR7W/9PJdsOyVUcqEuFq/VrHCDVV
2kBAuPD9WFJGIV8TAILHE0UWTdbwQUhpXr34FHsCxXlYKqhoYDnLdjjjSCCaSqwq
C06k39eKCTdILjwx6wFdzgNd4/y+axtLtHn0+6E7Ly2JCJKqm5qhO6Hx1zvC1Rf0
qFzBPcD9eQ09Jv5HE+eHeycqSQ2uuQvxp1ViCPMZk3aeadBmj63iTl572AsBOu2g
g2gh1VZKATriGzriXH5QMlo9zQCH04o5p5KwCQewnvfRBa4vU8XBfEJvWhGKeBA=
=UMJc
-----END PGP SIGNATURE-----

Received on Sunday, 22 March 2015 12:29:56 UTC