W3C home > Mailing lists > Public > public-shex-dev@w3.org > January 2019

[shex] cyclic triple expressions (#91)

From: Eric Prud'hommeaux via GitHub <sysbot+gh@w3.org>
Date: Fri, 11 Jan 2019 06:43:34 +0000
To: public-shex-dev@w3.org
Message-ID: <issues.opened-398152037-1547189013-sysbot+gh@w3.org>
ericprud has just created a new issue for https://github.com/shexSpec/shex:

== cyclic triple expressions ==
The cruel test `schemas/_all` has a [cyclic nesting](https://github.com/shexSpec/shexTest/blob/23d746ff603d2f2c35fa0647818a2ee2b634d2c3/schemas/_all.shex#L95-L96):
```
_:a·̀ͯ‿.⁀ CLOSED # &_:a·̀ͯ‿.⁀ &<http://all.example/S2>
{
  $_:a·̀ͯ‿.⁀e (
   &_:a·̀ͯ‿.⁀e;
   &<http://all.example/S2e> )
}
```
Ascii-ifying and ignoring comments, that's:
```
_:b1 CLOSED
{
  $_:b1e (
   &_:b1e;
   &<http://all.example/S2e> )
}
```
I don't think that's useful and it makes the language more complex to analyze and execute.

PROPOSE: prohibit cycles in triple expressions.


Please view or discuss this issue at https://github.com/shexSpec/shex/issues/91 using your GitHub account
Received on Friday, 11 January 2019 06:43:35 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 4 June 2019 11:00:18 UTC