2 "kind": "ctm-template-tail-investigation",
3 "baseCommit": "bc04a1657f0b548ec5cdf2862aeed6a1ad0630b8",
4 "runtime": "SBCL 2.5.4",
5 "corpusCommit": "cd165b150176c1d6842b37be9cc9051b40d4996b",
12 "caseStatusChanges": [],
13 "originalComparisonsPerformed": 0,
14 "expandedControlComparisons": 3,
15 "normativeReference": "https://www.isotopicmaps.org/ctm/ctm.html",
16 "normativeFindings": [
19 "epistemicOrigin": "norm-derived",
33 "derivation": "[50] -> [51] -> [52] -> [17] -> [12]",
34 "result": "No variable alternative in this unmarked Tail slot."
38 "epistemicOrigin": "norm-derived",
52 "result": "Explicit variable uses in Topic identity/reference, marked SL/II and literal contexts."
56 "epistemicOrigin": "norm-derived",
71 "result": "Template-only variables, positional binding and use-context constraints."
74 "compatibilityHypothesis": {
76 "epistemicOrigin": "hypothesized",
78 "scope": "Only the Subject Identifier branch of [52] inside a Template Tail.",
79 "additionalRule": "template-tail-subject-identifier ::= iri-ref | variable",
80 "bindingRequirement": "Variable must denote an IRI reference (IRI or resolved QName), added as an SI of the owner.",
82 "marked item identifier",
83 "marked subject locator",
84 "Topic-only argument",
87 "identityKindsMustBePreserved": true,
88 "textualMarkerStrippingAllowed": false,
90 "Topic-head variables",
91 "Type/Player Topic references",
92 "literal substitution"
94 "historicalIntentEstablished": false
96 "historicalQualification": {
97 "localCorpusStatus": "vendor/cxtm/ctm/STATUS.txt: 2010-03-31",
98 "projectIndex": "https://www.isotopicmaps.org/ctm/ links the same reference URL as 2010-03-31",
99 "separateDatedNormTextsCompared": false,
100 "historicalNormChangeEstablished": false
104 "id": "ctm/in/template-ambiguous-parameter5.ctm",
105 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
107 "expectedOutcome": "CXTM-EQUAL",
109 "sourceHex": "0A 23 20 55 73 69 6E 67 20 61 6E 20 49 52 49 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 74 6F 70 69 63 20 24 69 72 69 3B 20 3D 24 69 72 69 3B 20 5E 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 73 6F 6D 65 74 68 69 6E 67 2F 3E 29 0A",
110 "sourceText": "\n# Using an IRI argument in different contexts\n\ndef template($iri)\n topic $iri; =$iri; ^$iri.\nend\n\ntemplate(<http://www.example.org/something/>)\n",
111 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter5.ctm.cxtm",
112 "baselineBytes": 353,
113 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
115 "condition": "INVALID-TEMPLATE-BODY",
116 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter5.ctm at CHARACTER 79 (line 5, column 13): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
117 "code": "template-identity-tail",
121 "positionUnit": "character",
122 "source": "ctm/in/template-ambiguous-parameter5.ctm",
130 "canonicalizationPreservesMap": false,
131 "referencesCurrent": false,
132 "sourceSHA256": "5a4310d6f077776996700a77cd037ca30b1b616f7235128f9500ef16c5cd78a8",
133 "sourcePythonBytes": "b'\\n# Using an IRI argument in different contexts\\n\\ndef template($iri)\\n topic $iri; =$iri; ^$iri.\\nend\\n\\ntemplate(<http://www.example.org/something/>)\\n'",
140 "role": "Parameterdeklaration",
141 "roleOrigin": "observed"
148 "role": "Subject Identifier im Topic Tail (unmarkiert)",
149 "roleOrigin": "inferred"
156 "role": "Subject Locator nach =",
157 "roleOrigin": "inferred"
164 "role": "Item Identifier nach ^",
165 "roleOrigin": "inferred"
168 "declaration": "def template($iri)",
172 "<http://www.example.org/something/>"
177 "text": "template(<http://www.example.org/something/>)",
182 "baselineSHA256": "a90bb867d36b9d99061d3815c6ce41a1cd4d8909c49adc7ce9cc1c9bfe06303f",
184 "label": "expanded-ambiguous5",
185 "originalControlOnly": "ctm/in/template-ambiguous-parameter5.ctm",
186 "sourceText": "topic <http://www.example.org/something/>; =<http://www.example.org/something/>; ^<http://www.example.org/something/>.",
187 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
191 "associationCount": 0,
196 "http://www.example.org/something/",
197 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm#topic"
199 "subjectIdentifiers": [
200 "http://www.example.org/something/"
203 "http://www.example.org/something/"
211 "referencesCurrent": true,
212 "canonicalizationPreservesMap": true,
213 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
215 "expectedBytes": 353,
219 "A": "marked SL/II and literal uses",
220 "B": "unmarked Tail SI variable",
221 "C": "possible specification omission, unproven",
222 "D": "positive source-admissibility expectation only"
226 "id": "ctm/in/template-ambiguous-parameter5.ctm",
227 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
229 "expectedOutcome": "CXTM-EQUAL",
231 "sourceHex": "0A 23 20 55 73 69 6E 67 20 61 6E 20 49 52 49 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 74 6F 70 69 63 20 24 69 72 69 3B 20 3D 24 69 72 69 3B 20 5E 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 73 6F 6D 65 74 68 69 6E 67 2F 3E 29 0A",
232 "sourceText": "\n# Using an IRI argument in different contexts\n\ndef template($iri)\n topic $iri; =$iri; ^$iri.\nend\n\ntemplate(<http://www.example.org/something/>)\n",
233 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter5.ctm.cxtm",
234 "baselineBytes": 353,
235 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
237 "condition": "INVALID-TEMPLATE-BODY",
238 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter5.ctm at CHARACTER 79 (line 5, column 13): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
239 "code": "template-identity-tail",
243 "positionUnit": "character",
244 "source": "ctm/in/template-ambiguous-parameter5.ctm",
252 "canonicalizationPreservesMap": false,
253 "referencesCurrent": false
255 "originalComparisonPerformed": false,
256 "argumentCheckReached": false,
258 "sourceAndCondition": "observed",
259 "intendedRoles": "inferred",
260 "grammar": "norm-derived",
261 "compatibilityRule": "hypothesized"
263 "compatibilityRule": "H-SI-tail",
264 "normativeReferences": [
269 "expandedComparison": {
270 "epistemicOrigin": "observed",
271 "originalTemplateExecutedSuccessfully": false,
273 "expectedBytes": 353,
274 "actualSHA256": "a90bb867d36b9d99061d3815c6ce41a1cd4d8909c49adc7ce9cc1c9bfe06303f",
275 "expectedSHA256": "a90bb867d36b9d99061d3815c6ce41a1cd4d8909c49adc7ce9cc1c9bfe06303f",
276 "firstDifferentByte": null
280 "id": "ctm/in/template-ambiguous-parameter6.ctm",
281 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
283 "expectedOutcome": "CXTM-EQUAL",
285 "sourceHex": "0A 25 70 72 65 66 69 78 20 65 78 20 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 0A 0A 23 20 55 73 69 6E 67 20 61 20 51 4E 61 6D 65 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 71 29 0A 20 20 74 6F 70 69 63 20 24 71 3B 20 3D 24 71 3B 20 5E 24 71 3B 20 6F 63 63 3A 20 24 71 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 65 78 3A 73 6F 6D 65 74 68 69 6E 67 29 0A",
286 "sourceText": "\n%prefix ex <http://www.example.org/>\n\n# Using a QName argument in different contexts\n\ndef template($q)\n topic $q; =$q; ^$q; occ: $q.\nend\n\ntemplate(ex:something)\n",
287 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter6.ctm.cxtm",
288 "baselineBytes": 613,
289 "baselineText": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
291 "condition": "INVALID-TEMPLATE-BODY",
292 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter6.ctm at CHARACTER 114 (line 7, column 11): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
293 "code": "template-identity-tail",
297 "positionUnit": "character",
298 "source": "ctm/in/template-ambiguous-parameter6.ctm",
306 "canonicalizationPreservesMap": false,
307 "referencesCurrent": false,
308 "sourceSHA256": "d2fd507bbbd544b6eae6caf4497c18e746165a5868a1d8e644eb18815db44d50",
309 "sourcePythonBytes": "b'\\n%prefix ex <http://www.example.org/>\\n\\n# Using a QName argument in different contexts\\n\\ndef template($q)\\n topic $q; =$q; ^$q; occ: $q.\\nend\\n\\ntemplate(ex:something)\\n'",
316 "role": "Parameterdeklaration",
317 "roleOrigin": "observed"
324 "role": "Subject Identifier im Topic Tail (unmarkiert)",
325 "roleOrigin": "inferred"
332 "role": "Subject Locator nach =",
333 "roleOrigin": "inferred"
340 "role": "Item Identifier nach ^",
341 "roleOrigin": "inferred"
348 "role": "Occurrence-Literal; Datentyp xsd:anyURI",
349 "roleOrigin": "inferred"
352 "declaration": "def template($q)",
356 "ex:something → http://www.example.org/something"
361 "text": "template(ex:something)",
366 "baselineSHA256": "3b20e3168ad1260c2a4fcb2b5b4b0026324a78263f2431d6637473087eecd672",
368 "label": "expanded-ambiguous6",
369 "originalControlOnly": "ctm/in/template-ambiguous-parameter6.ctm",
370 "sourceText": "%prefix ex <http://www.example.org/> topic ex:something; =ex:something; ^ex:something; occ: ex:something.",
371 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
375 "associationCount": 0,
380 "http://www.example.org/something",
381 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#topic"
383 "subjectIdentifiers": [
384 "http://www.example.org/something"
387 "http://www.example.org/something"
392 "value": "http://www.example.org/something",
393 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
403 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#occ"
405 "subjectIdentifiers": [],
406 "subjectLocators": [],
413 "referencesCurrent": true,
414 "canonicalizationPreservesMap": true,
415 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
417 "expectedBytes": 613,
421 "A": "marked SL/II and literal uses",
422 "B": "unmarked Tail SI variable",
423 "C": "possible specification omission, unproven",
424 "D": "positive source-admissibility expectation only"
428 "id": "ctm/in/template-ambiguous-parameter6.ctm",
429 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
431 "expectedOutcome": "CXTM-EQUAL",
433 "sourceHex": "0A 25 70 72 65 66 69 78 20 65 78 20 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 0A 0A 23 20 55 73 69 6E 67 20 61 20 51 4E 61 6D 65 20 61 72 67 75 6D 65 6E 74 20 69 6E 20 64 69 66 66 65 72 65 6E 74 20 63 6F 6E 74 65 78 74 73 0A 0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 71 29 0A 20 20 74 6F 70 69 63 20 24 71 3B 20 3D 24 71 3B 20 5E 24 71 3B 20 6F 63 63 3A 20 24 71 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 65 78 3A 73 6F 6D 65 74 68 69 6E 67 29 0A",
434 "sourceText": "\n%prefix ex <http://www.example.org/>\n\n# Using a QName argument in different contexts\n\ndef template($q)\n topic $q; =$q; ^$q; occ: $q.\nend\n\ntemplate(ex:something)\n",
435 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter6.ctm.cxtm",
436 "baselineBytes": 613,
437 "baselineText": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
439 "condition": "INVALID-TEMPLATE-BODY",
440 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter6.ctm at CHARACTER 114 (line 7, column 11): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
441 "code": "template-identity-tail",
445 "positionUnit": "character",
446 "source": "ctm/in/template-ambiguous-parameter6.ctm",
454 "canonicalizationPreservesMap": false,
455 "referencesCurrent": false
457 "originalComparisonPerformed": false,
458 "argumentCheckReached": false,
460 "sourceAndCondition": "observed",
461 "intendedRoles": "inferred",
462 "grammar": "norm-derived",
463 "compatibilityRule": "hypothesized"
465 "compatibilityRule": "H-SI-tail",
466 "normativeReferences": [
471 "expandedComparison": {
472 "epistemicOrigin": "observed",
473 "originalTemplateExecutedSuccessfully": false,
475 "expectedBytes": 613,
476 "actualSHA256": "3b20e3168ad1260c2a4fcb2b5b4b0026324a78263f2431d6637473087eecd672",
477 "expectedSHA256": "3b20e3168ad1260c2a4fcb2b5b4b0026324a78263f2431d6637473087eecd672",
478 "firstDifferentByte": null
482 "id": "ctm/in/template-subject-identifier2.ctm",
483 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
485 "expectedOutcome": "CXTM-EQUAL",
487 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 70 73 69 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 66 61 6B 65 3E 29 0A",
488 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(<http://psi.example.org/fake>)\n",
489 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-subject-identifier2.ctm.cxtm",
490 "baselineBytes": 204,
491 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
493 "condition": "INVALID-TEMPLATE-BODY",
494 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-subject-identifier2.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
495 "code": "template-identity-tail",
499 "positionUnit": "character",
500 "source": "ctm/in/template-subject-identifier2.ctm",
508 "canonicalizationPreservesMap": false,
509 "referencesCurrent": false,
510 "sourceSHA256": "ffc9a5554b9c908386f6888ef29ccda5cc433e5519924db52f9441769e1df014",
511 "sourcePythonBytes": "b'\\ndef template($iri)\\n topic $iri.\\nend\\n\\ntemplate(<http://psi.example.org/fake>)\\n'",
518 "role": "Parameterdeklaration",
519 "roleOrigin": "observed"
526 "role": "Subject Identifier im Topic Tail (unmarkiert)",
527 "roleOrigin": "inferred"
530 "declaration": "def template($iri)",
534 "<http://psi.example.org/fake>"
539 "text": "template(<http://psi.example.org/fake>)",
544 "baselineSHA256": "e138a02738dc4a2526c465b11fa6915bed84724a31748eb3578ddf0f8ab16253",
546 "label": "expanded-subject-identifier2",
547 "originalControlOnly": "ctm/in/template-subject-identifier2.ctm",
548 "sourceText": "topic <http://psi.example.org/fake>.",
549 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
553 "associationCount": 0,
558 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm#topic"
560 "subjectIdentifiers": [
561 "http://psi.example.org/fake"
563 "subjectLocators": [],
570 "referencesCurrent": true,
571 "canonicalizationPreservesMap": true,
572 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
574 "expectedBytes": 204,
578 "A": "marked SL/II and literal uses",
579 "B": "unmarked Tail SI variable",
580 "C": "possible specification omission, unproven",
581 "D": "positive source-admissibility expectation only"
585 "id": "ctm/in/template-subject-identifier2.ctm",
586 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
588 "expectedOutcome": "CXTM-EQUAL",
590 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 70 73 69 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 66 61 6B 65 3E 29 0A",
591 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(<http://psi.example.org/fake>)\n",
592 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-subject-identifier2.ctm.cxtm",
593 "baselineBytes": 204,
594 "baselineText": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
596 "condition": "INVALID-TEMPLATE-BODY",
597 "message": "TEMPLATE-IDENTITY-TAIL in ctm/in/template-subject-identifier2.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
598 "code": "template-identity-tail",
602 "positionUnit": "character",
603 "source": "ctm/in/template-subject-identifier2.ctm",
611 "canonicalizationPreservesMap": false,
612 "referencesCurrent": false
614 "originalComparisonPerformed": false,
615 "argumentCheckReached": false,
617 "sourceAndCondition": "observed",
618 "intendedRoles": "inferred",
619 "grammar": "norm-derived",
620 "compatibilityRule": "hypothesized"
622 "compatibilityRule": "H-SI-tail",
623 "normativeReferences": [
628 "expandedComparison": {
629 "epistemicOrigin": "observed",
630 "originalTemplateExecutedSuccessfully": false,
632 "expectedBytes": 204,
633 "actualSHA256": "e138a02738dc4a2526c465b11fa6915bed84724a31748eb3578ddf0f8ab16253",
634 "expectedSHA256": "e138a02738dc4a2526c465b11fa6915bed84724a31748eb3578ddf0f8ab16253",
635 "firstDifferentByte": null
639 "id": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
640 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier-2nd-arg.ctm",
641 "category": "INVALID",
642 "expectedOutcome": "CTM-REJECTION",
644 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
645 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n ^<http://www.example.org/>) # invalid\n",
646 "baselinePath": null,
647 "baselineBytes": null,
648 "baselineText": null,
650 "condition": "INVALID-TEMPLATE-BODY",
651 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
652 "code": "template-identity-tail",
656 "positionUnit": "character",
657 "source": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
665 "canonicalizationPreservesMap": false,
666 "referencesCurrent": false,
667 "sourceSHA256": "ceb46d4457532cc5b432d5e601275cc6950bb105088e2b2ccfa4ffa5fbe82266",
668 "sourcePythonBytes": "b'\\ndef template($iri1, $iri2)\\n topic1 $iri1.\\n topic2 $iri2.\\nend\\n\\ntemplate(<http://www.example.org/>, # valid\\n ^<http://www.example.org/>) # invalid\\n'",
675 "role": "Parameterdeklaration",
676 "roleOrigin": "observed"
683 "role": "Parameterdeklaration",
684 "roleOrigin": "observed"
691 "role": "Subject Identifier von topic1 (unmarkiert)",
692 "roleOrigin": "inferred"
699 "role": "Subject Identifier von topic2 (unmarkiert)",
700 "roleOrigin": "inferred"
703 "declaration": "def template($iri1, $iri2)",
707 "<http://www.example.org/>"
711 "^<http://www.example.org/>"
716 "text": "template(<http://www.example.org/>, # valid\n ^<http://www.example.org/>)",
722 "A": "marked argument as Topic reference",
723 "B": "unmarked Tail SI variable",
724 "C": "intended contextual rejection not reached",
729 "id": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
730 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier-2nd-arg.ctm",
731 "category": "INVALID",
732 "expectedOutcome": "CTM-REJECTION",
734 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
735 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n ^<http://www.example.org/>) # invalid\n",
736 "baselinePath": null,
737 "baselineBytes": null,
738 "baselineText": null,
740 "condition": "INVALID-TEMPLATE-BODY",
741 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
742 "code": "template-identity-tail",
746 "positionUnit": "character",
747 "source": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
755 "canonicalizationPreservesMap": false,
756 "referencesCurrent": false
758 "originalComparisonPerformed": false,
759 "argumentCheckReached": false,
761 "sourceAndCondition": "observed",
762 "intendedRoles": "inferred",
763 "grammar": "norm-derived",
764 "compatibilityRule": "hypothesized"
766 "compatibilityRule": "H-SI-tail",
767 "normativeReferences": [
772 "intendedArgumentCheck": {
773 "epistemicOrigin": "inferred",
775 "parameter": "$iri2",
776 "identityKind": "item-identifier",
777 "targetContext": "unmarked Subject Identifier Tail slot",
778 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
782 "id": "ctm/invalid/template-item-identifier3.ctm",
783 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier3.ctm",
784 "category": "INVALID",
785 "expectedOutcome": "CTM-REJECTION",
787 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
788 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(^<http://www.example.org/>)\n",
789 "baselinePath": null,
790 "baselineBytes": null,
791 "baselineText": null,
793 "condition": "INVALID-TEMPLATE-BODY",
794 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
795 "code": "template-identity-tail",
799 "positionUnit": "character",
800 "source": "ctm/invalid/template-item-identifier3.ctm",
808 "canonicalizationPreservesMap": false,
809 "referencesCurrent": false,
810 "sourceSHA256": "4c7ed0ab1574462b8939379f745a28942aa380fc6cc7fabae597fdc7bb21225f",
811 "sourcePythonBytes": "b'\\ndef template($iri)\\n topic $iri.\\nend\\n\\ntemplate(^<http://www.example.org/>)\\n'",
818 "role": "Parameterdeklaration",
819 "roleOrigin": "observed"
826 "role": "Subject Identifier von topic (unmarkiert)",
827 "roleOrigin": "inferred"
830 "declaration": "def template($iri)",
834 "^<http://www.example.org/>"
839 "text": "template(^<http://www.example.org/>)",
845 "A": "marked argument as Topic reference",
846 "B": "unmarked Tail SI variable",
847 "C": "intended contextual rejection not reached",
852 "id": "ctm/invalid/template-item-identifier3.ctm",
853 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier3.ctm",
854 "category": "INVALID",
855 "expectedOutcome": "CTM-REJECTION",
857 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 5E 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
858 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(^<http://www.example.org/>)\n",
859 "baselinePath": null,
860 "baselineBytes": null,
861 "baselineText": null,
863 "condition": "INVALID-TEMPLATE-BODY",
864 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
865 "code": "template-identity-tail",
869 "positionUnit": "character",
870 "source": "ctm/invalid/template-item-identifier3.ctm",
878 "canonicalizationPreservesMap": false,
879 "referencesCurrent": false
881 "originalComparisonPerformed": false,
882 "argumentCheckReached": false,
884 "sourceAndCondition": "observed",
885 "intendedRoles": "inferred",
886 "grammar": "norm-derived",
887 "compatibilityRule": "hypothesized"
889 "compatibilityRule": "H-SI-tail",
890 "normativeReferences": [
895 "intendedArgumentCheck": {
896 "epistemicOrigin": "inferred",
899 "identityKind": "item-identifier",
900 "targetContext": "unmarked Subject Identifier Tail slot",
901 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
905 "id": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
906 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator-2nd-arg.ctm",
907 "category": "INVALID",
908 "expectedOutcome": "CTM-REJECTION",
910 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 20 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
911 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n =<http://www.example.org/>) # invalid\n",
912 "baselinePath": null,
913 "baselineBytes": null,
914 "baselineText": null,
916 "condition": "INVALID-TEMPLATE-BODY",
917 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
918 "code": "template-identity-tail",
922 "positionUnit": "character",
923 "source": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
931 "canonicalizationPreservesMap": false,
932 "referencesCurrent": false,
933 "sourceSHA256": "e7e8ca08ad1dec89549afbe2d3cf90098269031f239ddae37258bf87ba4c018f",
934 "sourcePythonBytes": "b'\\ndef template($iri1, $iri2)\\n topic1 $iri1.\\n topic2 $iri2.\\nend\\n\\ntemplate(<http://www.example.org/>, # valid\\n =<http://www.example.org/>) # invalid\\n'",
941 "role": "Parameterdeklaration",
942 "roleOrigin": "observed"
949 "role": "Parameterdeklaration",
950 "roleOrigin": "observed"
957 "role": "Subject Identifier von topic1 (unmarkiert)",
958 "roleOrigin": "inferred"
965 "role": "Subject Identifier von topic2 (unmarkiert)",
966 "roleOrigin": "inferred"
969 "declaration": "def template($iri1, $iri2)",
973 "<http://www.example.org/>"
977 "=<http://www.example.org/>"
982 "text": "template(<http://www.example.org/>, # valid\n =<http://www.example.org/>)",
988 "A": "marked argument as Topic reference",
989 "B": "unmarked Tail SI variable",
990 "C": "intended contextual rejection not reached",
995 "id": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
996 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator-2nd-arg.ctm",
997 "category": "INVALID",
998 "expectedOutcome": "CTM-REJECTION",
1000 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 31 2C 20 24 69 72 69 32 29 0A 20 20 20 20 74 6F 70 69 63 31 20 24 69 72 69 31 2E 0A 20 20 20 20 74 6F 70 69 63 32 20 24 69 72 69 32 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 2C 20 20 20 20 20 23 20 76 61 6C 69 64 0A 20 20 20 20 20 20 20 20 20 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 20 20 20 20 23 20 69 6E 76 61 6C 69 64 0A",
1001 "sourceText": "\ndef template($iri1, $iri2)\n topic1 $iri1.\n topic2 $iri2.\nend\n\ntemplate(<http://www.example.org/>, # valid\n =<http://www.example.org/>) # invalid\n",
1002 "baselinePath": null,
1003 "baselineBytes": null,
1004 "baselineText": null,
1006 "condition": "INVALID-TEMPLATE-BODY",
1007 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
1008 "code": "template-identity-tail",
1012 "positionUnit": "character",
1013 "source": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
1019 "actualBytes": null,
1021 "canonicalizationPreservesMap": false,
1022 "referencesCurrent": false
1024 "originalComparisonPerformed": false,
1025 "argumentCheckReached": false,
1026 "evidenceOrigins": {
1027 "sourceAndCondition": "observed",
1028 "intendedRoles": "inferred",
1029 "grammar": "norm-derived",
1030 "compatibilityRule": "hypothesized"
1032 "compatibilityRule": "H-SI-tail",
1033 "normativeReferences": [
1038 "intendedArgumentCheck": {
1039 "epistemicOrigin": "inferred",
1041 "parameter": "$iri2",
1042 "identityKind": "subject-locator",
1043 "targetContext": "unmarked Subject Identifier Tail slot",
1044 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"
1048 "id": "ctm/invalid/template-subject-locator3.ctm",
1049 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator3.ctm",
1050 "category": "INVALID",
1051 "expectedOutcome": "CTM-REJECTION",
1053 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
1054 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(=<http://www.example.org/>)\n",
1055 "baselinePath": null,
1056 "baselineBytes": null,
1057 "baselineText": null,
1059 "condition": "INVALID-TEMPLATE-BODY",
1060 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
1061 "code": "template-identity-tail",
1065 "positionUnit": "character",
1066 "source": "ctm/invalid/template-subject-locator3.ctm",
1072 "actualBytes": null,
1074 "canonicalizationPreservesMap": false,
1075 "referencesCurrent": false,
1076 "sourceSHA256": "d53c835df922469d65e5103f48b38faa94be56c06a4cb1da356a8ad6b277496d",
1077 "sourcePythonBytes": "b'\\ndef template($iri)\\n topic $iri.\\nend\\n\\ntemplate(=<http://www.example.org/>)\\n'",
1084 "role": "Parameterdeklaration",
1085 "roleOrigin": "observed"
1092 "role": "Subject Identifier von topic (unmarkiert)",
1093 "roleOrigin": "inferred"
1096 "declaration": "def template($iri)",
1100 "=<http://www.example.org/>"
1105 "text": "template(=<http://www.example.org/>)",
1111 "A": "marked argument as Topic reference",
1112 "B": "unmarked Tail SI variable",
1113 "C": "intended contextual rejection not reached",
1116 "status": "not-run",
1118 "id": "ctm/invalid/template-subject-locator3.ctm",
1119 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator3.ctm",
1120 "category": "INVALID",
1121 "expectedOutcome": "CTM-REJECTION",
1123 "sourceHex": "0A 64 65 66 20 74 65 6D 70 6C 61 74 65 28 24 69 72 69 29 0A 20 20 20 20 74 6F 70 69 63 20 24 69 72 69 2E 0A 65 6E 64 0A 0A 74 65 6D 70 6C 61 74 65 28 3D 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 65 78 61 6D 70 6C 65 2E 6F 72 67 2F 3E 29 0A",
1124 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(=<http://www.example.org/>)\n",
1125 "baselinePath": null,
1126 "baselineBytes": null,
1127 "baselineText": null,
1129 "condition": "INVALID-TEMPLATE-BODY",
1130 "message": "TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
1131 "code": "template-identity-tail",
1135 "positionUnit": "character",
1136 "source": "ctm/invalid/template-subject-locator3.ctm",
1142 "actualBytes": null,
1144 "canonicalizationPreservesMap": false,
1145 "referencesCurrent": false
1147 "originalComparisonPerformed": false,
1148 "argumentCheckReached": false,
1149 "evidenceOrigins": {
1150 "sourceAndCondition": "observed",
1151 "intendedRoles": "inferred",
1152 "grammar": "norm-derived",
1153 "compatibilityRule": "hypothesized"
1155 "compatibilityRule": "H-SI-tail",
1156 "normativeReferences": [
1161 "intendedArgumentCheck": {
1162 "epistemicOrigin": "inferred",
1164 "parameter": "$iri",
1165 "identityKind": "subject-locator",
1166 "targetContext": "unmarked Subject Identifier Tail slot",
1167 "basis": "invalid corpus category, source argument marker and, for two arguments, original invalid comment"