Re: [spec] divergence between JSON and ShExC versions of examples

Unfortunately, this got mixed in with a [larger commit](https://github.com/shexSpec/spec/commit/48789f5e37e8d4f533b6173260332908d8d85757#diff-eacf331f0ffc35d4b482f1d15a887d3bL2316-L2317) which automates verifying that the two produce the same AST. This is disabled for incomplete examples and for  ShEx2.1 IMPORTS. Please close this issue if this satisfies your comment.

I believe these are the relevant fixes from that commit:

``` diff
@@ -2229,14 +2230,14 @@ ex:S {ex:p <span class="lookit">NOT</span> @ex:S}
         "valueExpr": "http://schema.example/#US" } }
   ] }</pre>
                 <pre class="shexc nohighlight">                                                         
-ex:S {ex:p @ex:T} <!-- ex:S NOT @ex:T -->
+ex:US {ex:Up NOT @ex:UT} <!-- ex:S NOT @ex:T -->
 
 
 
 
 
 
-ex:T {ex:q @ex:S} <!--     ex:T @ex:S -->
+ex:UT { ex:Uq @ex:US} <!--     ex:T @ex:S -->
 
 
 
```
``` diff
@@ -2328,8 +2329,8 @@ ex:T {ex:q @ex:S} <!--     ex:T @ex:S -->
     ex:S
 
 
-      NOT
-        @ex:T
+     (NOT
+        @ex:T)
      AND @ex:U
 
      ex:U .
```
``` diff
@@ -2378,8 +2379,8 @@ ex:T {ex:q @ex:S} <!--     ex:T @ex:S -->
 
 
                      (
-                       NOT
-                         @ex:T
+                       (NOT
+                          @ex:T)
                        AND @ex:U )
 
```
``` diff
@@ -2443,8 +2444,8 @@ ex:T {ex:q @ex:S} <!--     ex:T @ex:S -->
     ex:S
 
 
-      NOT
-        @ex:T
+      (NOT
+         @ex:T)
       AND @ex:U
                 </pre>
```
``` diff
@@ -2503,8 +2504,8 @@ ex:T {ex:q @ex:S} <!--     ex:T @ex:S -->
     ex:S
 
 
-      NOT
-        @ex:T
+      (NOT
+         @ex:T)
     AND @ex:U
                 </pre>
               </div>
```
``` diff
@@ -3802,28 +3805,28 @@ inst:Testgrammer23
 
                          &lt;http://schema.example/p1&gt;
 
 
-                         ["a" "b"] ;
+                         ["a" "b"] + ;
 
-                         &lt;http://schema.example/p2&gt; . {0}
+                         &lt;http://schema.example/#p2&gt; . {0}
 }              </pre>
             </div>
             <div style="clear:both;" class="exsec">Data:</div>
```

-- 
GitHub Notification of comment by ericprud
Please view or discuss this issue at https://github.com/shexSpec/spec/issues/22#issuecomment-419089951 using your GitHub account

Received on Thursday, 6 September 2018 13:18:44 UTC