9 "harnessCaseStatesUnchanged": true,
12 "id": "ctm/in/template-ambiguous-parameter5.ctm",
13 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
15 "expectedOutcome": "CXTM-EQUAL",
17 "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",
18 "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",
19 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter5.ctm.cxtm",
21 "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",
23 "condition": "INVALID-TEMPLATE-BODY",
24 "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.",
25 "code": "template-identity-tail",
29 "positionUnit": "character",
30 "source": "ctm/in/template-ambiguous-parameter5.ctm",
38 "canonicalizationPreservesMap": false,
39 "referencesCurrent": false
42 "id": "ctm/in/template-ambiguous-parameter6.ctm",
43 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
45 "expectedOutcome": "CXTM-EQUAL",
47 "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",
48 "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",
49 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-ambiguous-parameter6.ctm.cxtm",
51 "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",
53 "condition": "INVALID-TEMPLATE-BODY",
54 "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.",
55 "code": "template-identity-tail",
59 "positionUnit": "character",
60 "source": "ctm/in/template-ambiguous-parameter6.ctm",
68 "canonicalizationPreservesMap": false,
69 "referencesCurrent": false
72 "id": "ctm/in/template-subject-identifier2.ctm",
73 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
75 "expectedOutcome": "CXTM-EQUAL",
77 "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",
78 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(<http://psi.example.org/fake>)\n",
79 "baselinePath": "/Users/rgb/workspace/topic-maps/vendor/cxtm/ctm/baseline/template-subject-identifier2.ctm.cxtm",
81 "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",
83 "condition": "INVALID-TEMPLATE-BODY",
84 "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.",
85 "code": "template-identity-tail",
89 "positionUnit": "character",
90 "source": "ctm/in/template-subject-identifier2.ctm",
98 "canonicalizationPreservesMap": false,
99 "referencesCurrent": false
102 "id": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
103 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier-2nd-arg.ctm",
104 "category": "INVALID",
105 "expectedOutcome": "CTM-REJECTION",
107 "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",
108 "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",
109 "baselinePath": null,
110 "baselineBytes": null,
111 "baselineText": null,
113 "condition": "INVALID-TEMPLATE-BODY",
114 "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.",
115 "code": "template-identity-tail",
119 "positionUnit": "character",
120 "source": "ctm/invalid/template-item-identifier-2nd-arg.ctm",
128 "canonicalizationPreservesMap": false,
129 "referencesCurrent": false
132 "id": "ctm/invalid/template-item-identifier3.ctm",
133 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier3.ctm",
134 "category": "INVALID",
135 "expectedOutcome": "CTM-REJECTION",
137 "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",
138 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(^<http://www.example.org/>)\n",
139 "baselinePath": null,
140 "baselineBytes": null,
141 "baselineText": null,
143 "condition": "INVALID-TEMPLATE-BODY",
144 "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.",
145 "code": "template-identity-tail",
149 "positionUnit": "character",
150 "source": "ctm/invalid/template-item-identifier3.ctm",
158 "canonicalizationPreservesMap": false,
159 "referencesCurrent": false
162 "id": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
163 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator-2nd-arg.ctm",
164 "category": "INVALID",
165 "expectedOutcome": "CTM-REJECTION",
167 "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",
168 "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",
169 "baselinePath": null,
170 "baselineBytes": null,
171 "baselineText": null,
173 "condition": "INVALID-TEMPLATE-BODY",
174 "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.",
175 "code": "template-identity-tail",
179 "positionUnit": "character",
180 "source": "ctm/invalid/template-subject-locator-2nd-arg.ctm",
188 "canonicalizationPreservesMap": false,
189 "referencesCurrent": false
192 "id": "ctm/invalid/template-subject-locator3.ctm",
193 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator3.ctm",
194 "category": "INVALID",
195 "expectedOutcome": "CTM-REJECTION",
197 "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",
198 "sourceText": "\ndef template($iri)\n topic $iri.\nend\n\ntemplate(=<http://www.example.org/>)\n",
199 "baselinePath": null,
200 "baselineBytes": null,
201 "baselineText": null,
203 "condition": "INVALID-TEMPLATE-BODY",
204 "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.",
205 "code": "template-identity-tail",
209 "positionUnit": "character",
210 "source": "ctm/invalid/template-subject-locator3.ctm",
218 "canonicalizationPreservesMap": false,
219 "referencesCurrent": false