]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - reports/slice-21h/variant-merge-original.json
test: prove CTM/XTM anyType equivalence (slice 22T)
[topic-maps.git] / reports / slice-21h / variant-merge-original.json
1 {
2 "kind": "executed-original-variant-merge-registration",
3 "case": {
4 "id": "xtm2/in/merge-itemid-with-variants.xtm",
5 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm",
6 "sourceKey": "xtm2/in/merge-itemid-with-variants.xtm",
7 "sourceBytes": 641,
8 "sourceHex": "3C746F7069634D617020786D6C6E733D22687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F222076657273696F6E3D22322E30223E0A20203C746F7069632069643D22746F706963223E0A202020203C6974656D4964656E7469747920687265663D22687474703A2F2F6578616D706C652E6F72672F23746F706963222F3E0A202020203C6E616D653E0A2020202020203C76616C75653E546F7069633C2F76616C75653E0A2020202020203C76617269616E743E0A20202020202020203C73636F70653E0A202020202020202020203C746F70696352656620687265663D22237468656D65222F3E0A20202020202020203C2F73636F70653E0A20202020202020203C7265736F75726365446174613E544F504943213C2F7265736F75726365446174613E0A2020202020203C2F76617269616E743E0A202020203C2F6E616D653E0A20203C2F746F7069633E0A20203C746F7069632069643D22746F70696332223E0A202020203C6974656D4964656E7469747920687265663D22687474703A2F2F6578616D706C652E6F72672F23746F706963222F3E0A202020203C6E616D653E0A2020202020203C76616C75653E546F70696320323C2F76616C75653E0A2020202020203C76617269616E743E0A20202020202020203C73636F70653E0A202020202020202020203C746F70696352656620687265663D22237468656D65222F3E0A20202020202020203C2F73636F70653E0A20202020202020203C7265736F75726365446174613E544F50494332213C2F7265736F75726365446174613E0A2020202020203C2F76617269616E743E0A202020203C2F6E616D653E0A20203C2F746F7069633E0A3C2F746F7069634D61703E0A",
9 "sourceText": "<topicMap xmlns=\"http://www.topicmaps.org/xtm/\" version=\"2.0\">\n <topic id=\"topic\">\n <itemIdentity href=\"http://example.org/#topic\"/>\n <name>\n <value>Topic</value>\n <variant>\n <scope>\n <topicRef href=\"#theme\"/>\n </scope>\n <resourceData>TOPIC!</resourceData>\n </variant>\n </name>\n </topic>\n <topic id=\"topic2\">\n <itemIdentity href=\"http://example.org/#topic\"/>\n <name>\n <value>Topic 2</value>\n <variant>\n <scope>\n <topicRef href=\"#theme\"/>\n </scope>\n <resourceData>TOPIC2!</resourceData>\n </variant>\n </name>\n </topic>\n</topicMap>\n",
10 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#theme</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>#topic2</locator>\n<locator>http://example.org/#topic</locator>\n</itemIdentifiers>\n<name number=\"1\">\n<value>Topic</value>\n<type topicref=\"3\"></type>\n<variant number=\"1\">\n<value>TOPIC!</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</variant>\n</name>\n<name number=\"2\">\n<value>Topic 2</value>\n<type topicref=\"3\"></type>\n<variant number=\"1\">\n<value>TOPIC2!</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</variant>\n</name>\n</topic>\n<topic number=\"3\">\n<subjectIdentifiers>\n<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\n</subjectIdentifiers>\n</topic>\n</topicMap>\n",
11 "expectedCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#theme</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>#topic2</locator>\n<locator>http://example.org/#topic</locator>\n</itemIdentifiers>\n<name number=\"1\">\n<value>Topic</value>\n<type topicref=\"3\"></type>\n<variant number=\"1\">\n<value>TOPIC!</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</variant>\n</name>\n<name number=\"2\">\n<value>Topic 2</value>\n<type topicref=\"3\"></type>\n<variant number=\"1\">\n<value>TOPIC2!</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</variant>\n</name>\n</topic>\n<topic number=\"3\">\n<subjectIdentifiers>\n<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\n</subjectIdentifiers>\n</topic>\n</topicMap>\n",
12 "actualBytes": 919,
13 "expectedBytes": 919,
14 "firstDifferentByte": null,
15 "condition": null,
16 "model": {
17 "nameModel": {
18 "identity": {
19 "topicCount": 3,
20 "associationCount": 0,
21 "canonicalParentsAndInverseReferences": true,
22 "topics": [
23 {
24 "ordinal": 1,
25 "itemIdentifiers": [
26 "http://example.org/#topic",
27 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#topic",
28 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#topic2"
29 ],
30 "subjectIdentifiers": [],
31 "subjectLocators": []
32 },
33 {
34 "ordinal": 2,
35 "itemIdentifiers": [],
36 "subjectIdentifiers": [
37 "http://psi.topicmaps.org/iso13250/model/topic-name"
38 ],
39 "subjectLocators": []
40 },
41 {
42 "ordinal": 3,
43 "itemIdentifiers": [
44 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#theme"
45 ],
46 "subjectIdentifiers": [],
47 "subjectLocators": []
48 }
49 ],
50 "associations": []
51 },
52 "mapItemIdentifiers": [],
53 "canonicalNameParentTypeReferences": true,
54 "names": [
55 {
56 "value": "Topic",
57 "parent": 1,
58 "type": 2,
59 "scope": [],
60 "itemIdentifiers": [],
61 "variantCount": 1
62 },
63 {
64 "value": "Topic 2",
65 "parent": 1,
66 "type": 2,
67 "scope": [],
68 "itemIdentifiers": [],
69 "variantCount": 1
70 }
71 ]
72 },
73 "canonicalVariantReferences": true,
74 "variants": [
75 {
76 "value": "TOPIC!",
77 "datatype": "http://www.w3.org/2001/XMLSchema#string",
78 "parentName": 1,
79 "scope": [
80 3
81 ],
82 "itemIdentifiers": [],
83 "reifier": null
84 },
85 {
86 "value": "TOPIC2!",
87 "datatype": "http://www.w3.org/2001/XMLSchema#string",
88 "parentName": 2,
89 "scope": [
90 3
91 ],
92 "itemIdentifiers": [],
93 "reifier": null
94 }
95 ]
96 },
97 "originalReaderStages": [
98 {
99 "afterTopic": 1,
100 "model": {
101 "nameModel": {
102 "identity": {
103 "topicCount": 3,
104 "associationCount": 0,
105 "canonicalParentsAndInverseReferences": true,
106 "topics": [
107 {
108 "ordinal": 1,
109 "itemIdentifiers": [
110 "http://example.org/#topic",
111 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#topic"
112 ],
113 "subjectIdentifiers": [],
114 "subjectLocators": []
115 },
116 {
117 "ordinal": 2,
118 "itemIdentifiers": [],
119 "subjectIdentifiers": [
120 "http://psi.topicmaps.org/iso13250/model/topic-name"
121 ],
122 "subjectLocators": []
123 },
124 {
125 "ordinal": 3,
126 "itemIdentifiers": [
127 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#theme"
128 ],
129 "subjectIdentifiers": [],
130 "subjectLocators": []
131 }
132 ],
133 "associations": []
134 },
135 "mapItemIdentifiers": [],
136 "canonicalNameParentTypeReferences": true,
137 "names": [
138 {
139 "value": "Topic",
140 "parent": 1,
141 "type": 2,
142 "scope": [],
143 "itemIdentifiers": [],
144 "variantCount": 1
145 }
146 ]
147 },
148 "canonicalVariantReferences": true,
149 "variants": [
150 {
151 "value": "TOPIC!",
152 "datatype": "http://www.w3.org/2001/XMLSchema#string",
153 "parentName": 1,
154 "scope": [
155 3
156 ],
157 "itemIdentifiers": [],
158 "reifier": null
159 }
160 ]
161 }
162 },
163 {
164 "afterTopic": 2,
165 "model": {
166 "nameModel": {
167 "identity": {
168 "topicCount": 3,
169 "associationCount": 0,
170 "canonicalParentsAndInverseReferences": true,
171 "topics": [
172 {
173 "ordinal": 1,
174 "itemIdentifiers": [
175 "http://example.org/#topic",
176 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#topic",
177 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#topic2"
178 ],
179 "subjectIdentifiers": [],
180 "subjectLocators": []
181 },
182 {
183 "ordinal": 2,
184 "itemIdentifiers": [],
185 "subjectIdentifiers": [
186 "http://psi.topicmaps.org/iso13250/model/topic-name"
187 ],
188 "subjectLocators": []
189 },
190 {
191 "ordinal": 3,
192 "itemIdentifiers": [
193 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/merge-itemid-with-variants.xtm#theme"
194 ],
195 "subjectIdentifiers": [],
196 "subjectLocators": []
197 }
198 ],
199 "associations": []
200 },
201 "mapItemIdentifiers": [],
202 "canonicalNameParentTypeReferences": true,
203 "names": [
204 {
205 "value": "Topic",
206 "parent": 1,
207 "type": 2,
208 "scope": [],
209 "itemIdentifiers": [],
210 "variantCount": 1
211 },
212 {
213 "value": "Topic 2",
214 "parent": 1,
215 "type": 2,
216 "scope": [],
217 "itemIdentifiers": [],
218 "variantCount": 1
219 }
220 ]
221 },
222 "canonicalVariantReferences": true,
223 "variants": [
224 {
225 "value": "TOPIC!",
226 "datatype": "http://www.w3.org/2001/XMLSchema#string",
227 "parentName": 1,
228 "scope": [
229 3
230 ],
231 "itemIdentifiers": [],
232 "reifier": null
233 },
234 {
235 "value": "TOPIC2!",
236 "datatype": "http://www.w3.org/2001/XMLSchema#string",
237 "parentName": 2,
238 "scope": [
239 3
240 ],
241 "itemIdentifiers": [],
242 "reifier": null
243 }
244 ]
245 }
246 }
247 ],
248 "status": "pass",
249 "sourceSHA256": "1712d72a0f3d908a259c539c13197af5e0d405a1572bbfd865aed8603b1edb45",
250 "baselineSHA256": "f157b2f40fa516c51dcc99cc7e151ed709d9ae3e29ba5c5c2bb5d9e9ef8a016a",
251 "actualSHA256": "f157b2f40fa516c51dcc99cc7e151ed709d9ae3e29ba5c5c2bb5d9e9ef8a016a",
252 "executedInASDFTestOp": true
253 }
254 }