@@ -33,13 +33,13 @@ const TEST_TYPES = {
33
33
specVersion : [ 'json-ld-1.0' ] ,
34
34
// FIXME
35
35
// NOTE: idRegex format:
36
- //MMM-manifest.jsonld #tNNN$/,
36
+ //MMM-manifest#tNNN$/,
37
37
idRegex : [
38
38
// html
39
- / h t m l - m a n i f e s t . j s o n l d # t c 0 0 1 $ / ,
40
- / h t m l - m a n i f e s t . j s o n l d # t c 0 0 2 $ / ,
41
- / h t m l - m a n i f e s t . j s o n l d # t c 0 0 3 $ / ,
42
- / h t m l - m a n i f e s t . j s o n l d # t c 0 0 4 $ / ,
39
+ / h t m l - m a n i f e s t # t c 0 0 1 $ / ,
40
+ / h t m l - m a n i f e s t # t c 0 0 2 $ / ,
41
+ / h t m l - m a n i f e s t # t c 0 0 3 $ / ,
42
+ / h t m l - m a n i f e s t # t c 0 0 4 $ / ,
43
43
]
44
44
} ,
45
45
fn : 'compact' ,
@@ -57,38 +57,38 @@ const TEST_TYPES = {
57
57
specVersion : [ 'json-ld-1.0' ] ,
58
58
// FIXME
59
59
// NOTE: idRegex format:
60
- //MMM-manifest.jsonld #tNNN$/,
60
+ //MMM-manifest#tNNN$/,
61
61
idRegex : [
62
62
// html
63
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 1 $ / ,
64
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 2 $ / ,
65
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 3 $ / ,
66
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 4 $ / ,
67
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 5 $ / ,
68
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 6 $ / ,
69
- / h t m l - m a n i f e s t . j s o n l d # t e 0 0 7 $ / ,
70
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 0 $ / ,
71
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 1 $ / ,
72
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 2 $ / ,
73
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 3 $ / ,
74
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 4 $ / ,
75
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 5 $ / ,
76
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 6 $ / ,
77
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 7 $ / ,
78
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 8 $ / ,
79
- / h t m l - m a n i f e s t . j s o n l d # t e 0 1 9 $ / ,
80
- / h t m l - m a n i f e s t . j s o n l d # t e 0 2 0 $ / ,
81
- / h t m l - m a n i f e s t . j s o n l d # t e 0 2 1 $ / ,
82
- / h t m l - m a n i f e s t . j s o n l d # t e 0 2 2 $ / ,
83
- / h t m l - m a n i f e s t . j s o n l d # t e x 0 1 $ / ,
63
+ / h t m l - m a n i f e s t # t e 0 0 1 $ / ,
64
+ / h t m l - m a n i f e s t # t e 0 0 2 $ / ,
65
+ / h t m l - m a n i f e s t # t e 0 0 3 $ / ,
66
+ / h t m l - m a n i f e s t # t e 0 0 4 $ / ,
67
+ / h t m l - m a n i f e s t # t e 0 0 5 $ / ,
68
+ / h t m l - m a n i f e s t # t e 0 0 6 $ / ,
69
+ / h t m l - m a n i f e s t # t e 0 0 7 $ / ,
70
+ / h t m l - m a n i f e s t # t e 0 1 0 $ / ,
71
+ / h t m l - m a n i f e s t # t e 0 1 1 $ / ,
72
+ / h t m l - m a n i f e s t # t e 0 1 2 $ / ,
73
+ / h t m l - m a n i f e s t # t e 0 1 3 $ / ,
74
+ / h t m l - m a n i f e s t # t e 0 1 4 $ / ,
75
+ / h t m l - m a n i f e s t # t e 0 1 5 $ / ,
76
+ / h t m l - m a n i f e s t # t e 0 1 6 $ / ,
77
+ / h t m l - m a n i f e s t # t e 0 1 7 $ / ,
78
+ / h t m l - m a n i f e s t # t e 0 1 8 $ / ,
79
+ / h t m l - m a n i f e s t # t e 0 1 9 $ / ,
80
+ / h t m l - m a n i f e s t # t e 0 2 0 $ / ,
81
+ / h t m l - m a n i f e s t # t e 0 2 1 $ / ,
82
+ / h t m l - m a n i f e s t # t e 0 2 2 $ / ,
83
+ / h t m l - m a n i f e s t # t e x 0 1 $ / ,
84
84
// HTML extraction
85
- / e x p a n d - m a n i f e s t . j s o n l d # t h c 0 1 $ / ,
86
- / e x p a n d - m a n i f e s t . j s o n l d # t h c 0 2 $ / ,
87
- / e x p a n d - m a n i f e s t . j s o n l d # t h c 0 3 $ / ,
88
- / e x p a n d - m a n i f e s t . j s o n l d # t h c 0 4 $ / ,
89
- / e x p a n d - m a n i f e s t . j s o n l d # t h c 0 5 $ / ,
85
+ / e x p a n d - m a n i f e s t # t h c 0 1 $ / ,
86
+ / e x p a n d - m a n i f e s t # t h c 0 2 $ / ,
87
+ / e x p a n d - m a n i f e s t # t h c 0 3 $ / ,
88
+ / e x p a n d - m a n i f e s t # t h c 0 4 $ / ,
89
+ / e x p a n d - m a n i f e s t # t h c 0 5 $ / ,
90
90
// remote
91
- / r e m o t e - d o c - m a n i f e s t . j s o n l d # t 0 0 1 3 $ / , // HTML
91
+ / r e m o t e - d o c - m a n i f e s t # t 0 0 1 3 $ / , // HTML
92
92
]
93
93
} ,
94
94
fn : 'expand' ,
@@ -105,13 +105,13 @@ const TEST_TYPES = {
105
105
specVersion : [ 'json-ld-1.0' ] ,
106
106
// FIXME
107
107
// NOTE: idRegex format:
108
- //MMM-manifest.jsonld #tNNN$/,
108
+ //MMM-manifest#tNNN$/,
109
109
idRegex : [
110
110
// html
111
- / h t m l - m a n i f e s t . j s o n l d # t f 0 0 1 $ / ,
112
- / h t m l - m a n i f e s t . j s o n l d # t f 0 0 2 $ / ,
113
- / h t m l - m a n i f e s t . j s o n l d # t f 0 0 3 $ / ,
114
- / h t m l - m a n i f e s t . j s o n l d # t f 0 0 4 $ / ,
111
+ / h t m l - m a n i f e s t # t f 0 0 1 $ / ,
112
+ / h t m l - m a n i f e s t # t f 0 0 2 $ / ,
113
+ / h t m l - m a n i f e s t # t f 0 0 3 $ / ,
114
+ / h t m l - m a n i f e s t # t f 0 0 4 $ / ,
115
115
]
116
116
} ,
117
117
fn : 'flatten' ,
@@ -129,7 +129,7 @@ const TEST_TYPES = {
129
129
specVersion : [ 'json-ld-1.0' ] ,
130
130
// FIXME
131
131
// NOTE: idRegex format:
132
- //MMM-manifest.jsonld #tNNN$/,
132
+ //MMM-manifest#tNNN$/,
133
133
idRegex : [
134
134
]
135
135
} ,
@@ -148,11 +148,11 @@ const TEST_TYPES = {
148
148
specVersion : [ 'json-ld-1.0' ] ,
149
149
// FIXME
150
150
// NOTE: idRegex format:
151
- //MMM-manifest.jsonld #tNNN$/,
151
+ //MMM-manifest#tNNN$/,
152
152
idRegex : [
153
153
// direction (compound-literal)
154
- / f r o m R d f - m a n i f e s t . j s o n l d # t d i 1 1 $ / ,
155
- / f r o m R d f - m a n i f e s t . j s o n l d # t d i 1 2 $ / ,
154
+ / f r o m R d f - m a n i f e s t # t d i 1 1 $ / ,
155
+ / f r o m R d f - m a n i f e s t # t d i 1 2 $ / ,
156
156
]
157
157
} ,
158
158
fn : 'fromRDF' ,
@@ -177,38 +177,38 @@ const TEST_TYPES = {
177
177
specVersion : [ 'json-ld-1.0' ] ,
178
178
// FIXME
179
179
// NOTE: idRegex format:
180
- //MMM-manifest.jsonld #tNNN$/,
180
+ //MMM-manifest#tNNN$/,
181
181
idRegex : [
182
182
// well formed
183
- / t o R d f - m a n i f e s t . j s o n l d # t w f 0 5 $ / ,
183
+ / t o R d f - m a n i f e s t # t w f 0 5 $ / ,
184
184
// html
185
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 1 $ / ,
186
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 2 $ / ,
187
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 3 $ / ,
188
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 4 $ / ,
189
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 5 $ / ,
190
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 6 $ / ,
191
- / h t m l - m a n i f e s t . j s o n l d # t r 0 0 7 $ / ,
192
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 0 $ / ,
193
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 1 $ / ,
194
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 2 $ / ,
195
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 3 $ / ,
196
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 4 $ / ,
197
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 5 $ / ,
198
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 6 $ / ,
199
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 7 $ / ,
200
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 8 $ / ,
201
- / h t m l - m a n i f e s t . j s o n l d # t r 0 1 9 $ / ,
202
- / h t m l - m a n i f e s t . j s o n l d # t r 0 2 0 $ / ,
203
- / h t m l - m a n i f e s t . j s o n l d # t r 0 2 1 $ / ,
204
- / h t m l - m a n i f e s t . j s o n l d # t r 0 2 2 $ / ,
185
+ / h t m l - m a n i f e s t # t r 0 0 1 $ / ,
186
+ / h t m l - m a n i f e s t # t r 0 0 2 $ / ,
187
+ / h t m l - m a n i f e s t # t r 0 0 3 $ / ,
188
+ / h t m l - m a n i f e s t # t r 0 0 4 $ / ,
189
+ / h t m l - m a n i f e s t # t r 0 0 5 $ / ,
190
+ / h t m l - m a n i f e s t # t r 0 0 6 $ / ,
191
+ / h t m l - m a n i f e s t # t r 0 0 7 $ / ,
192
+ / h t m l - m a n i f e s t # t r 0 1 0 $ / ,
193
+ / h t m l - m a n i f e s t # t r 0 1 1 $ / ,
194
+ / h t m l - m a n i f e s t # t r 0 1 2 $ / ,
195
+ / h t m l - m a n i f e s t # t r 0 1 3 $ / ,
196
+ / h t m l - m a n i f e s t # t r 0 1 4 $ / ,
197
+ / h t m l - m a n i f e s t # t r 0 1 5 $ / ,
198
+ / h t m l - m a n i f e s t # t r 0 1 6 $ / ,
199
+ / h t m l - m a n i f e s t # t r 0 1 7 $ / ,
200
+ / h t m l - m a n i f e s t # t r 0 1 8 $ / ,
201
+ / h t m l - m a n i f e s t # t r 0 1 9 $ / ,
202
+ / h t m l - m a n i f e s t # t r 0 2 0 $ / ,
203
+ / h t m l - m a n i f e s t # t r 0 2 1 $ / ,
204
+ / h t m l - m a n i f e s t # t r 0 2 2 $ / ,
205
205
// Invalid Statement
206
- / t o R d f - m a n i f e s t . j s o n l d # t e 0 7 5 $ / ,
207
- / t o R d f - m a n i f e s t . j s o n l d # t e 1 1 1 $ / ,
208
- / t o R d f - m a n i f e s t . j s o n l d # t e 1 1 2 $ / ,
206
+ / t o R d f - m a n i f e s t # t e 0 7 5 $ / ,
207
+ / t o R d f - m a n i f e s t # t e 1 1 1 $ / ,
208
+ / t o R d f - m a n i f e s t # t e 1 1 2 $ / ,
209
209
// direction (compound-literal)
210
- / t o R d f - m a n i f e s t . j s o n l d # t d i 1 1 $ / ,
211
- / t o R d f - m a n i f e s t . j s o n l d # t d i 1 2 $ / ,
210
+ / t o R d f - m a n i f e s t # t d i 1 1 $ / ,
211
+ / t o R d f - m a n i f e s t # t d i 1 2 $ / ,
212
212
]
213
213
} ,
214
214
fn : 'toRDF' ,
@@ -387,7 +387,7 @@ function addTest(manifest, test, tests) {
387
387
// expand @id and input base
388
388
const test_id = test [ '@id' ] || test [ 'id' ] ;
389
389
//var number = test_id.substr(2);
390
- test [ '@id' ] = manifest . baseIri + basename ( manifest . filename ) + test_id ;
390
+ test [ '@id' ] = manifest . baseIri + basename ( manifest . filename ) . replace ( '.jsonld' , '' ) + test_id ;
391
391
test . base = manifest . baseIri + test . input ;
392
392
test . manifest = manifest ;
393
393
const description = test_id + ' ' + ( test . purpose || test . name ) ;
0 commit comments