]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - reports/slice-22g/after/native-and-negative-controls.json
Qualify closed XML/C14N 1.0 infrastructure for XTM resourceData
[topic-maps.git] / reports / slice-22g / after / native-and-negative-controls.json
1 {
2 "positiveControls": 19,
3 "negativeControls": 27,
4 "mergingDimensions": [
5 "parent",
6 "type",
7 "scope"
8 ],
9 "identityKinds": [
10 "SI",
11 "SL",
12 "II"
13 ],
14 "controls": [
15 {
16 "label": "default",
17 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceData> V &amp; 馬🦊 </resourceData></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
18 "model": {
19 "existingCharacteristics": {
20 "identity": {
21 "identity": {
22 "nameModel": {
23 "identity": {
24 "topicCount": 3,
25 "associationCount": 0,
26 "canonicalParentsAndInverseReferences": true,
27 "topics": [
28 {
29 "ordinal": 1,
30 "itemIdentifiers": [
31 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
32 ],
33 "subjectIdentifiers": [],
34 "subjectLocators": []
35 },
36 {
37 "ordinal": 2,
38 "itemIdentifiers": [
39 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
40 ],
41 "subjectIdentifiers": [],
42 "subjectLocators": []
43 },
44 {
45 "ordinal": 3,
46 "itemIdentifiers": [
47 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
48 ],
49 "subjectIdentifiers": [],
50 "subjectLocators": []
51 }
52 ],
53 "associations": []
54 },
55 "mapItemIdentifiers": [],
56 "canonicalNameParentTypeReferences": true,
57 "names": []
58 },
59 "canonicalVariantReferences": true,
60 "variants": []
61 },
62 "canonicalNameReifierInverseEQ": true,
63 "mapReifierTopic": null,
64 "nameReifierTopics": [],
65 "topicReifiedNames": [
66 null,
67 null,
68 null
69 ]
70 },
71 "canonicalVariantReifierInverseEQ": true,
72 "variantReifierTopics": [],
73 "topicReifiedVariants": [
74 null,
75 null,
76 null
77 ]
78 },
79 "canonicalOccurrenceReferencesEQ": true,
80 "occurrenceCount": 1,
81 "occurrences": [
82 {
83 "parent": 1,
84 "type": 2,
85 "scope": [
86 3
87 ],
88 "value": " V & 馬🦊 ",
89 "datatype": "http://www.w3.org/2001/XMLSchema#string",
90 "itemIdentifiers": [],
91 "reifier": null
92 }
93 ]
94 },
95 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value> V &amp; 馬🦊 </value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
96 "condition": null,
97 "occurrenceCountsAfterEachRead": [
98 1
99 ],
100 "retainedReadHandles": 1,
101 "retainedHandleEvidence": {
102 "readHandleCount": 1,
103 "distinctReadHandles": 1,
104 "canonicalGroupsInFinalMap": [
105 1
106 ],
107 "replacedReadHandles": [
108 false
109 ]
110 }
111 },
112 {
113 "label": "whitespace",
114 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceData> &#x9;A&#xA; </resourceData></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
115 "model": {
116 "existingCharacteristics": {
117 "identity": {
118 "identity": {
119 "nameModel": {
120 "identity": {
121 "topicCount": 3,
122 "associationCount": 0,
123 "canonicalParentsAndInverseReferences": true,
124 "topics": [
125 {
126 "ordinal": 1,
127 "itemIdentifiers": [
128 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
129 ],
130 "subjectIdentifiers": [],
131 "subjectLocators": []
132 },
133 {
134 "ordinal": 2,
135 "itemIdentifiers": [
136 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
137 ],
138 "subjectIdentifiers": [],
139 "subjectLocators": []
140 },
141 {
142 "ordinal": 3,
143 "itemIdentifiers": [
144 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
145 ],
146 "subjectIdentifiers": [],
147 "subjectLocators": []
148 }
149 ],
150 "associations": []
151 },
152 "mapItemIdentifiers": [],
153 "canonicalNameParentTypeReferences": true,
154 "names": []
155 },
156 "canonicalVariantReferences": true,
157 "variants": []
158 },
159 "canonicalNameReifierInverseEQ": true,
160 "mapReifierTopic": null,
161 "nameReifierTopics": [],
162 "topicReifiedNames": [
163 null,
164 null,
165 null
166 ]
167 },
168 "canonicalVariantReifierInverseEQ": true,
169 "variantReifierTopics": [],
170 "topicReifiedVariants": [
171 null,
172 null,
173 null
174 ]
175 },
176 "canonicalOccurrenceReferencesEQ": true,
177 "occurrenceCount": 1,
178 "occurrences": [
179 {
180 "parent": 1,
181 "type": 2,
182 "scope": [
183 3
184 ],
185 "value": " \tA\n ",
186 "datatype": "http://www.w3.org/2001/XMLSchema#string",
187 "itemIdentifiers": [],
188 "reifier": null
189 }
190 ]
191 },
192 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value> \tA\n </value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
193 "condition": null,
194 "occurrenceCountsAfterEachRead": [
195 1
196 ],
197 "retainedReadHandles": 1,
198 "retainedHandleEvidence": {
199 "readHandleCount": 1,
200 "distinctReadHandles": 1,
201 "canonicalGroupsInFinalMap": [
202 1
203 ],
204 "replacedReadHandles": [
205 false
206 ]
207 }
208 },
209 {
210 "label": "empty",
211 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceData/></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
212 "model": {
213 "existingCharacteristics": {
214 "identity": {
215 "identity": {
216 "nameModel": {
217 "identity": {
218 "topicCount": 3,
219 "associationCount": 0,
220 "canonicalParentsAndInverseReferences": true,
221 "topics": [
222 {
223 "ordinal": 1,
224 "itemIdentifiers": [
225 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
226 ],
227 "subjectIdentifiers": [],
228 "subjectLocators": []
229 },
230 {
231 "ordinal": 2,
232 "itemIdentifiers": [
233 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
234 ],
235 "subjectIdentifiers": [],
236 "subjectLocators": []
237 },
238 {
239 "ordinal": 3,
240 "itemIdentifiers": [
241 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
242 ],
243 "subjectIdentifiers": [],
244 "subjectLocators": []
245 }
246 ],
247 "associations": []
248 },
249 "mapItemIdentifiers": [],
250 "canonicalNameParentTypeReferences": true,
251 "names": []
252 },
253 "canonicalVariantReferences": true,
254 "variants": []
255 },
256 "canonicalNameReifierInverseEQ": true,
257 "mapReifierTopic": null,
258 "nameReifierTopics": [],
259 "topicReifiedNames": [
260 null,
261 null,
262 null
263 ]
264 },
265 "canonicalVariantReifierInverseEQ": true,
266 "variantReifierTopics": [],
267 "topicReifiedVariants": [
268 null,
269 null,
270 null
271 ]
272 },
273 "canonicalOccurrenceReferencesEQ": true,
274 "occurrenceCount": 1,
275 "occurrences": [
276 {
277 "parent": 1,
278 "type": 2,
279 "scope": [
280 3
281 ],
282 "value": "",
283 "datatype": "http://www.w3.org/2001/XMLSchema#string",
284 "itemIdentifiers": [],
285 "reifier": null
286 }
287 ]
288 },
289 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value></value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
290 "condition": null,
291 "occurrenceCountsAfterEachRead": [
292 1
293 ],
294 "retainedReadHandles": 1,
295 "retainedHandleEvidence": {
296 "readHandleCount": 1,
297 "distinctReadHandles": 1,
298 "canonicalGroupsInFinalMap": [
299 1
300 ],
301 "replacedReadHandles": [
302 false
303 ]
304 }
305 },
306 {
307 "label": "custom",
308 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceData datatype='urn:custom'>literal%GG</resourceData></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
309 "model": {
310 "existingCharacteristics": {
311 "identity": {
312 "identity": {
313 "nameModel": {
314 "identity": {
315 "topicCount": 3,
316 "associationCount": 0,
317 "canonicalParentsAndInverseReferences": true,
318 "topics": [
319 {
320 "ordinal": 1,
321 "itemIdentifiers": [
322 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
323 ],
324 "subjectIdentifiers": [],
325 "subjectLocators": []
326 },
327 {
328 "ordinal": 2,
329 "itemIdentifiers": [
330 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
331 ],
332 "subjectIdentifiers": [],
333 "subjectLocators": []
334 },
335 {
336 "ordinal": 3,
337 "itemIdentifiers": [
338 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
339 ],
340 "subjectIdentifiers": [],
341 "subjectLocators": []
342 }
343 ],
344 "associations": []
345 },
346 "mapItemIdentifiers": [],
347 "canonicalNameParentTypeReferences": true,
348 "names": []
349 },
350 "canonicalVariantReferences": true,
351 "variants": []
352 },
353 "canonicalNameReifierInverseEQ": true,
354 "mapReifierTopic": null,
355 "nameReifierTopics": [],
356 "topicReifiedNames": [
357 null,
358 null,
359 null
360 ]
361 },
362 "canonicalVariantReifierInverseEQ": true,
363 "variantReifierTopics": [],
364 "topicReifiedVariants": [
365 null,
366 null,
367 null
368 ]
369 },
370 "canonicalOccurrenceReferencesEQ": true,
371 "occurrenceCount": 1,
372 "occurrences": [
373 {
374 "parent": 1,
375 "type": 2,
376 "scope": [
377 3
378 ],
379 "value": "literal%GG",
380 "datatype": "urn:custom",
381 "itemIdentifiers": [],
382 "reifier": null
383 }
384 ]
385 },
386 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>literal%GG</value>\n<datatype>urn:custom</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
387 "condition": null,
388 "occurrenceCountsAfterEachRead": [
389 1
390 ],
391 "retainedReadHandles": 1,
392 "retainedHandleEvidence": {
393 "readHandleCount": 1,
394 "distinctReadHandles": 1,
395 "canonicalGroupsInFinalMap": [
396 1
397 ],
398 "replacedReadHandles": [
399 false
400 ]
401 }
402 },
403 {
404 "label": "integer-lexical",
405 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#integer'>+00042</resourceData></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
406 "model": {
407 "existingCharacteristics": {
408 "identity": {
409 "identity": {
410 "nameModel": {
411 "identity": {
412 "topicCount": 3,
413 "associationCount": 0,
414 "canonicalParentsAndInverseReferences": true,
415 "topics": [
416 {
417 "ordinal": 1,
418 "itemIdentifiers": [
419 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
420 ],
421 "subjectIdentifiers": [],
422 "subjectLocators": []
423 },
424 {
425 "ordinal": 2,
426 "itemIdentifiers": [
427 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
428 ],
429 "subjectIdentifiers": [],
430 "subjectLocators": []
431 },
432 {
433 "ordinal": 3,
434 "itemIdentifiers": [
435 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
436 ],
437 "subjectIdentifiers": [],
438 "subjectLocators": []
439 }
440 ],
441 "associations": []
442 },
443 "mapItemIdentifiers": [],
444 "canonicalNameParentTypeReferences": true,
445 "names": []
446 },
447 "canonicalVariantReferences": true,
448 "variants": []
449 },
450 "canonicalNameReifierInverseEQ": true,
451 "mapReifierTopic": null,
452 "nameReifierTopics": [],
453 "topicReifiedNames": [
454 null,
455 null,
456 null
457 ]
458 },
459 "canonicalVariantReifierInverseEQ": true,
460 "variantReifierTopics": [],
461 "topicReifiedVariants": [
462 null,
463 null,
464 null
465 ]
466 },
467 "canonicalOccurrenceReferencesEQ": true,
468 "occurrenceCount": 1,
469 "occurrences": [
470 {
471 "parent": 1,
472 "type": 2,
473 "scope": [
474 3
475 ],
476 "value": "+00042",
477 "datatype": "http://www.w3.org/2001/XMLSchema#integer",
478 "itemIdentifiers": [],
479 "reifier": null
480 }
481 ]
482 },
483 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>42</value>\n<datatype>http://www.w3.org/2001/XMLSchema#integer</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
484 "condition": null,
485 "occurrenceCountsAfterEachRead": [
486 1
487 ],
488 "retainedReadHandles": 1,
489 "retainedHandleEvidence": {
490 "readHandleCount": 1,
491 "distinctReadHandles": 1,
492 "canonicalGroupsInFinalMap": [
493 1
494 ],
495 "replacedReadHandles": [
496 false
497 ]
498 }
499 },
500 {
501 "label": "uri-relative",
502 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyURI'>../photo</resourceData></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
503 "model": {
504 "existingCharacteristics": {
505 "identity": {
506 "identity": {
507 "nameModel": {
508 "identity": {
509 "topicCount": 3,
510 "associationCount": 0,
511 "canonicalParentsAndInverseReferences": true,
512 "topics": [
513 {
514 "ordinal": 1,
515 "itemIdentifiers": [
516 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
517 ],
518 "subjectIdentifiers": [],
519 "subjectLocators": []
520 },
521 {
522 "ordinal": 2,
523 "itemIdentifiers": [
524 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
525 ],
526 "subjectIdentifiers": [],
527 "subjectLocators": []
528 },
529 {
530 "ordinal": 3,
531 "itemIdentifiers": [
532 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
533 ],
534 "subjectIdentifiers": [],
535 "subjectLocators": []
536 }
537 ],
538 "associations": []
539 },
540 "mapItemIdentifiers": [],
541 "canonicalNameParentTypeReferences": true,
542 "names": []
543 },
544 "canonicalVariantReferences": true,
545 "variants": []
546 },
547 "canonicalNameReifierInverseEQ": true,
548 "mapReifierTopic": null,
549 "nameReifierTopics": [],
550 "topicReifiedNames": [
551 null,
552 null,
553 null
554 ]
555 },
556 "canonicalVariantReifierInverseEQ": true,
557 "variantReifierTopics": [],
558 "topicReifiedVariants": [
559 null,
560 null,
561 null
562 ]
563 },
564 "canonicalOccurrenceReferencesEQ": true,
565 "occurrenceCount": 1,
566 "occurrences": [
567 {
568 "parent": 1,
569 "type": 2,
570 "scope": [
571 3
572 ],
573 "value": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/photo",
574 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
575 "itemIdentifiers": [],
576 "reifier": null
577 }
578 ]
579 },
580 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>photo</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
581 "condition": null,
582 "occurrenceCountsAfterEachRead": [
583 1
584 ],
585 "retainedReadHandles": 1,
586 "retainedHandleEvidence": {
587 "readHandleCount": 1,
588 "distinctReadHandles": 1,
589 "canonicalGroupsInFinalMap": [
590 1
591 ],
592 "replacedReadHandles": [
593 false
594 ]
595 }
596 },
597 {
598 "label": "ref-relative",
599 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceRef href='../photo'/></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
600 "model": {
601 "existingCharacteristics": {
602 "identity": {
603 "identity": {
604 "nameModel": {
605 "identity": {
606 "topicCount": 3,
607 "associationCount": 0,
608 "canonicalParentsAndInverseReferences": true,
609 "topics": [
610 {
611 "ordinal": 1,
612 "itemIdentifiers": [
613 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
614 ],
615 "subjectIdentifiers": [],
616 "subjectLocators": []
617 },
618 {
619 "ordinal": 2,
620 "itemIdentifiers": [
621 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
622 ],
623 "subjectIdentifiers": [],
624 "subjectLocators": []
625 },
626 {
627 "ordinal": 3,
628 "itemIdentifiers": [
629 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
630 ],
631 "subjectIdentifiers": [],
632 "subjectLocators": []
633 }
634 ],
635 "associations": []
636 },
637 "mapItemIdentifiers": [],
638 "canonicalNameParentTypeReferences": true,
639 "names": []
640 },
641 "canonicalVariantReferences": true,
642 "variants": []
643 },
644 "canonicalNameReifierInverseEQ": true,
645 "mapReifierTopic": null,
646 "nameReifierTopics": [],
647 "topicReifiedNames": [
648 null,
649 null,
650 null
651 ]
652 },
653 "canonicalVariantReifierInverseEQ": true,
654 "variantReifierTopics": [],
655 "topicReifiedVariants": [
656 null,
657 null,
658 null
659 ]
660 },
661 "canonicalOccurrenceReferencesEQ": true,
662 "occurrenceCount": 1,
663 "occurrences": [
664 {
665 "parent": 1,
666 "type": 2,
667 "scope": [
668 3
669 ],
670 "value": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/photo",
671 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
672 "itemIdentifiers": [],
673 "reifier": null
674 }
675 ]
676 },
677 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>photo</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
678 "condition": null,
679 "occurrenceCountsAfterEachRead": [
680 1
681 ],
682 "retainedReadHandles": 1,
683 "retainedHandleEvidence": {
684 "readHandleCount": 1,
685 "distinctReadHandles": 1,
686 "canonicalGroupsInFinalMap": [
687 1
688 ],
689 "replacedReadHandles": [
690 false
691 ]
692 }
693 },
694 {
695 "label": "ref-absolute",
696 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/><topicRef href='#s'/></scope><resourceRef href='urn:photo'/></occurrence></topic><topic id='t'/><topic id='s'/></topicMap>",
697 "model": {
698 "existingCharacteristics": {
699 "identity": {
700 "identity": {
701 "nameModel": {
702 "identity": {
703 "topicCount": 3,
704 "associationCount": 0,
705 "canonicalParentsAndInverseReferences": true,
706 "topics": [
707 {
708 "ordinal": 1,
709 "itemIdentifiers": [
710 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
711 ],
712 "subjectIdentifiers": [],
713 "subjectLocators": []
714 },
715 {
716 "ordinal": 2,
717 "itemIdentifiers": [
718 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
719 ],
720 "subjectIdentifiers": [],
721 "subjectLocators": []
722 },
723 {
724 "ordinal": 3,
725 "itemIdentifiers": [
726 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
727 ],
728 "subjectIdentifiers": [],
729 "subjectLocators": []
730 }
731 ],
732 "associations": []
733 },
734 "mapItemIdentifiers": [],
735 "canonicalNameParentTypeReferences": true,
736 "names": []
737 },
738 "canonicalVariantReferences": true,
739 "variants": []
740 },
741 "canonicalNameReifierInverseEQ": true,
742 "mapReifierTopic": null,
743 "nameReifierTopics": [],
744 "topicReifiedNames": [
745 null,
746 null,
747 null
748 ]
749 },
750 "canonicalVariantReifierInverseEQ": true,
751 "variantReifierTopics": [],
752 "topicReifiedVariants": [
753 null,
754 null,
755 null
756 ]
757 },
758 "canonicalOccurrenceReferencesEQ": true,
759 "occurrenceCount": 1,
760 "occurrences": [
761 {
762 "parent": 1,
763 "type": 2,
764 "scope": [
765 3
766 ],
767 "value": "urn:photo",
768 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
769 "itemIdentifiers": [],
770 "reifier": null
771 }
772 ]
773 },
774 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>urn:photo</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
775 "condition": null,
776 "occurrenceCountsAfterEachRead": [
777 1
778 ],
779 "retainedReadHandles": 1,
780 "retainedHandleEvidence": {
781 "readHandleCount": 1,
782 "distinctReadHandles": 1,
783 "canonicalGroupsInFinalMap": [
784 1
785 ],
786 "replacedReadHandles": [
787 false
788 ]
789 }
790 },
791 {
792 "label": "equality-discriminators",
793 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='urn:type'>V</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='urn:type'>V</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='urn:type'>W</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='urn:other'>V</resourceData></occurrence><occurrence><type><topicRef href='#u'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='urn:type'>V</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#z'/></scope><resourceData datatype='urn:type'>V</resourceData></occurrence></topic><topic id='b'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='urn:type'>V</resourceData></occurrence></topic></topicMap>",
794 "model": {
795 "existingCharacteristics": {
796 "identity": {
797 "identity": {
798 "nameModel": {
799 "identity": {
800 "topicCount": 6,
801 "associationCount": 0,
802 "canonicalParentsAndInverseReferences": true,
803 "topics": [
804 {
805 "ordinal": 1,
806 "itemIdentifiers": [
807 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
808 ],
809 "subjectIdentifiers": [],
810 "subjectLocators": []
811 },
812 {
813 "ordinal": 2,
814 "itemIdentifiers": [
815 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
816 ],
817 "subjectIdentifiers": [],
818 "subjectLocators": []
819 },
820 {
821 "ordinal": 3,
822 "itemIdentifiers": [
823 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
824 ],
825 "subjectIdentifiers": [],
826 "subjectLocators": []
827 },
828 {
829 "ordinal": 4,
830 "itemIdentifiers": [
831 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#u"
832 ],
833 "subjectIdentifiers": [],
834 "subjectLocators": []
835 },
836 {
837 "ordinal": 5,
838 "itemIdentifiers": [
839 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#z"
840 ],
841 "subjectIdentifiers": [],
842 "subjectLocators": []
843 },
844 {
845 "ordinal": 6,
846 "itemIdentifiers": [
847 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#b"
848 ],
849 "subjectIdentifiers": [],
850 "subjectLocators": []
851 }
852 ],
853 "associations": []
854 },
855 "mapItemIdentifiers": [],
856 "canonicalNameParentTypeReferences": true,
857 "names": []
858 },
859 "canonicalVariantReferences": true,
860 "variants": []
861 },
862 "canonicalNameReifierInverseEQ": true,
863 "mapReifierTopic": null,
864 "nameReifierTopics": [],
865 "topicReifiedNames": [
866 null,
867 null,
868 null,
869 null,
870 null,
871 null
872 ]
873 },
874 "canonicalVariantReifierInverseEQ": true,
875 "variantReifierTopics": [],
876 "topicReifiedVariants": [
877 null,
878 null,
879 null,
880 null,
881 null,
882 null
883 ]
884 },
885 "canonicalOccurrenceReferencesEQ": true,
886 "occurrenceCount": 6,
887 "occurrences": [
888 {
889 "parent": 1,
890 "type": 2,
891 "scope": [
892 3
893 ],
894 "value": "V",
895 "datatype": "urn:type",
896 "itemIdentifiers": [],
897 "reifier": null
898 },
899 {
900 "parent": 1,
901 "type": 2,
902 "scope": [
903 3
904 ],
905 "value": "W",
906 "datatype": "urn:type",
907 "itemIdentifiers": [],
908 "reifier": null
909 },
910 {
911 "parent": 1,
912 "type": 2,
913 "scope": [
914 3
915 ],
916 "value": "V",
917 "datatype": "urn:other",
918 "itemIdentifiers": [],
919 "reifier": null
920 },
921 {
922 "parent": 1,
923 "type": 4,
924 "scope": [
925 3
926 ],
927 "value": "V",
928 "datatype": "urn:type",
929 "itemIdentifiers": [],
930 "reifier": null
931 },
932 {
933 "parent": 1,
934 "type": 2,
935 "scope": [
936 5
937 ],
938 "value": "V",
939 "datatype": "urn:type",
940 "itemIdentifiers": [],
941 "reifier": null
942 },
943 {
944 "parent": 6,
945 "type": 2,
946 "scope": [
947 3
948 ],
949 "value": "V",
950 "datatype": "urn:type",
951 "itemIdentifiers": [],
952 "reifier": null
953 }
954 ]
955 },
956 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>urn:other</datatype>\n<type topicref=\"4\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n<occurrence number=\"2\">\n<value>V</value>\n<datatype>urn:type</datatype>\n<type topicref=\"4\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n<occurrence number=\"3\">\n<value>V</value>\n<datatype>urn:type</datatype>\n<type topicref=\"4\"></type>\n<scope>\n<scopingTopic topicref=\"6\"></scopingTopic>\n</scope>\n</occurrence>\n<occurrence number=\"4\">\n<value>V</value>\n<datatype>urn:type</datatype>\n<type topicref=\"5\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n<occurrence number=\"5\">\n<value>W</value>\n<datatype>urn:type</datatype>\n<type topicref=\"4\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#b</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>urn:type</datatype>\n<type topicref=\"4\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"4\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"5\">\n<itemIdentifiers>\n<locator>#u</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"6\">\n<itemIdentifiers>\n<locator>#z</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
957 "condition": null,
958 "occurrenceCountsAfterEachRead": [
959 1,
960 1,
961 2,
962 3,
963 4,
964 5,
965 6
966 ],
967 "retainedReadHandles": 7,
968 "retainedHandleEvidence": {
969 "readHandleCount": 7,
970 "distinctReadHandles": 7,
971 "canonicalGroupsInFinalMap": [
972 1,
973 1,
974 2,
975 3,
976 4,
977 5,
978 6
979 ],
980 "replacedReadHandles": [
981 true,
982 false,
983 false,
984 false,
985 false,
986 false,
987 false
988 ]
989 }
990 },
991 {
992 "label": "merge-parent-subjectIdentifier",
993 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='b'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#a'/><subjectIdentifier href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#b'/><subjectIdentifier href='urn:shared'/></topic></topicMap>",
994 "model": {
995 "existingCharacteristics": {
996 "identity": {
997 "identity": {
998 "nameModel": {
999 "identity": {
1000 "topicCount": 3,
1001 "associationCount": 0,
1002 "canonicalParentsAndInverseReferences": true,
1003 "topics": [
1004 {
1005 "ordinal": 1,
1006 "itemIdentifiers": [
1007 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a",
1008 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1009 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#b",
1010 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1011 ],
1012 "subjectIdentifiers": [
1013 "urn:shared"
1014 ],
1015 "subjectLocators": []
1016 },
1017 {
1018 "ordinal": 2,
1019 "itemIdentifiers": [
1020 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
1021 ],
1022 "subjectIdentifiers": [],
1023 "subjectLocators": []
1024 },
1025 {
1026 "ordinal": 3,
1027 "itemIdentifiers": [
1028 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
1029 ],
1030 "subjectIdentifiers": [],
1031 "subjectLocators": []
1032 }
1033 ],
1034 "associations": []
1035 },
1036 "mapItemIdentifiers": [],
1037 "canonicalNameParentTypeReferences": true,
1038 "names": []
1039 },
1040 "canonicalVariantReferences": true,
1041 "variants": []
1042 },
1043 "canonicalNameReifierInverseEQ": true,
1044 "mapReifierTopic": null,
1045 "nameReifierTopics": [],
1046 "topicReifiedNames": [
1047 null,
1048 null,
1049 null
1050 ]
1051 },
1052 "canonicalVariantReifierInverseEQ": true,
1053 "variantReifierTopics": [],
1054 "topicReifiedVariants": [
1055 null,
1056 null,
1057 null
1058 ]
1059 },
1060 "canonicalOccurrenceReferencesEQ": true,
1061 "occurrenceCount": 1,
1062 "occurrences": [
1063 {
1064 "parent": 1,
1065 "type": 2,
1066 "scope": [
1067 3
1068 ],
1069 "value": "V",
1070 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1071 "itemIdentifiers": [],
1072 "reifier": null
1073 }
1074 ]
1075 },
1076 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<subjectIdentifiers>\n<locator>urn:shared</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#a</locator>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#b</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"2\"></type>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n</topicMap>\n",
1077 "condition": null,
1078 "occurrenceCountsAfterEachRead": [
1079 1,
1080 2
1081 ],
1082 "retainedReadHandles": 2,
1083 "retainedHandleEvidence": {
1084 "readHandleCount": 2,
1085 "distinctReadHandles": 2,
1086 "canonicalGroupsInFinalMap": [
1087 1,
1088 1
1089 ],
1090 "replacedReadHandles": [
1091 true,
1092 true
1093 ]
1094 }
1095 },
1096 {
1097 "label": "merge-type-subjectIdentifier",
1098 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#x'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence><occurrence><type><topicRef href='#y'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#x'/><subjectIdentifier href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#y'/><subjectIdentifier href='urn:shared'/></topic></topicMap>",
1099 "model": {
1100 "existingCharacteristics": {
1101 "identity": {
1102 "identity": {
1103 "nameModel": {
1104 "identity": {
1105 "topicCount": 3,
1106 "associationCount": 0,
1107 "canonicalParentsAndInverseReferences": true,
1108 "topics": [
1109 {
1110 "ordinal": 1,
1111 "itemIdentifiers": [
1112 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1113 ],
1114 "subjectIdentifiers": [],
1115 "subjectLocators": []
1116 },
1117 {
1118 "ordinal": 2,
1119 "itemIdentifiers": [
1120 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#x",
1121 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1122 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#y",
1123 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1124 ],
1125 "subjectIdentifiers": [
1126 "urn:shared"
1127 ],
1128 "subjectLocators": []
1129 },
1130 {
1131 "ordinal": 3,
1132 "itemIdentifiers": [
1133 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
1134 ],
1135 "subjectIdentifiers": [],
1136 "subjectLocators": []
1137 }
1138 ],
1139 "associations": []
1140 },
1141 "mapItemIdentifiers": [],
1142 "canonicalNameParentTypeReferences": true,
1143 "names": []
1144 },
1145 "canonicalVariantReferences": true,
1146 "variants": []
1147 },
1148 "canonicalNameReifierInverseEQ": true,
1149 "mapReifierTopic": null,
1150 "nameReifierTopics": [],
1151 "topicReifiedNames": [
1152 null,
1153 null,
1154 null
1155 ]
1156 },
1157 "canonicalVariantReifierInverseEQ": true,
1158 "variantReifierTopics": [],
1159 "topicReifiedVariants": [
1160 null,
1161 null,
1162 null
1163 ]
1164 },
1165 "canonicalOccurrenceReferencesEQ": true,
1166 "occurrenceCount": 1,
1167 "occurrences": [
1168 {
1169 "parent": 1,
1170 "type": 2,
1171 "scope": [
1172 3
1173 ],
1174 "value": "V",
1175 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1176 "itemIdentifiers": [],
1177 "reifier": null
1178 }
1179 ]
1180 },
1181 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<subjectIdentifiers>\n<locator>urn:shared</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#x</locator>\n<locator>#y</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
1182 "condition": null,
1183 "occurrenceCountsAfterEachRead": [
1184 1,
1185 2
1186 ],
1187 "retainedReadHandles": 2,
1188 "retainedHandleEvidence": {
1189 "readHandleCount": 2,
1190 "distinctReadHandles": 2,
1191 "canonicalGroupsInFinalMap": [
1192 1,
1193 1
1194 ],
1195 "replacedReadHandles": [
1196 true,
1197 true
1198 ]
1199 }
1200 },
1201 {
1202 "label": "merge-scope-subjectIdentifier",
1203 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#x'/></scope><resourceData>V</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#y'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#x'/><subjectIdentifier href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#y'/><subjectIdentifier href='urn:shared'/></topic></topicMap>",
1204 "model": {
1205 "existingCharacteristics": {
1206 "identity": {
1207 "identity": {
1208 "nameModel": {
1209 "identity": {
1210 "topicCount": 3,
1211 "associationCount": 0,
1212 "canonicalParentsAndInverseReferences": true,
1213 "topics": [
1214 {
1215 "ordinal": 1,
1216 "itemIdentifiers": [
1217 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1218 ],
1219 "subjectIdentifiers": [],
1220 "subjectLocators": []
1221 },
1222 {
1223 "ordinal": 2,
1224 "itemIdentifiers": [
1225 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
1226 ],
1227 "subjectIdentifiers": [],
1228 "subjectLocators": []
1229 },
1230 {
1231 "ordinal": 3,
1232 "itemIdentifiers": [
1233 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#x",
1234 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1235 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#y",
1236 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1237 ],
1238 "subjectIdentifiers": [
1239 "urn:shared"
1240 ],
1241 "subjectLocators": []
1242 }
1243 ],
1244 "associations": []
1245 },
1246 "mapItemIdentifiers": [],
1247 "canonicalNameParentTypeReferences": true,
1248 "names": []
1249 },
1250 "canonicalVariantReferences": true,
1251 "variants": []
1252 },
1253 "canonicalNameReifierInverseEQ": true,
1254 "mapReifierTopic": null,
1255 "nameReifierTopics": [],
1256 "topicReifiedNames": [
1257 null,
1258 null,
1259 null
1260 ]
1261 },
1262 "canonicalVariantReifierInverseEQ": true,
1263 "variantReifierTopics": [],
1264 "topicReifiedVariants": [
1265 null,
1266 null,
1267 null
1268 ]
1269 },
1270 "canonicalOccurrenceReferencesEQ": true,
1271 "occurrenceCount": 1,
1272 "occurrences": [
1273 {
1274 "parent": 1,
1275 "type": 2,
1276 "scope": [
1277 3
1278 ],
1279 "value": "V",
1280 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1281 "itemIdentifiers": [],
1282 "reifier": null
1283 }
1284 ]
1285 },
1286 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"2\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<subjectIdentifiers>\n<locator>urn:shared</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#x</locator>\n<locator>#y</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
1287 "condition": null,
1288 "occurrenceCountsAfterEachRead": [
1289 1,
1290 2
1291 ],
1292 "retainedReadHandles": 2,
1293 "retainedHandleEvidence": {
1294 "readHandleCount": 2,
1295 "distinctReadHandles": 2,
1296 "canonicalGroupsInFinalMap": [
1297 1,
1298 1
1299 ],
1300 "replacedReadHandles": [
1301 true,
1302 true
1303 ]
1304 }
1305 },
1306 {
1307 "label": "merge-parent-subjectLocator",
1308 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='b'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#a'/><subjectLocator href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#b'/><subjectLocator href='urn:shared'/></topic></topicMap>",
1309 "model": {
1310 "existingCharacteristics": {
1311 "identity": {
1312 "identity": {
1313 "nameModel": {
1314 "identity": {
1315 "topicCount": 3,
1316 "associationCount": 0,
1317 "canonicalParentsAndInverseReferences": true,
1318 "topics": [
1319 {
1320 "ordinal": 1,
1321 "itemIdentifiers": [
1322 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a",
1323 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1324 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#b",
1325 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1326 ],
1327 "subjectIdentifiers": [],
1328 "subjectLocators": [
1329 "urn:shared"
1330 ]
1331 },
1332 {
1333 "ordinal": 2,
1334 "itemIdentifiers": [
1335 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
1336 ],
1337 "subjectIdentifiers": [],
1338 "subjectLocators": []
1339 },
1340 {
1341 "ordinal": 3,
1342 "itemIdentifiers": [
1343 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
1344 ],
1345 "subjectIdentifiers": [],
1346 "subjectLocators": []
1347 }
1348 ],
1349 "associations": []
1350 },
1351 "mapItemIdentifiers": [],
1352 "canonicalNameParentTypeReferences": true,
1353 "names": []
1354 },
1355 "canonicalVariantReferences": true,
1356 "variants": []
1357 },
1358 "canonicalNameReifierInverseEQ": true,
1359 "mapReifierTopic": null,
1360 "nameReifierTopics": [],
1361 "topicReifiedNames": [
1362 null,
1363 null,
1364 null
1365 ]
1366 },
1367 "canonicalVariantReifierInverseEQ": true,
1368 "variantReifierTopics": [],
1369 "topicReifiedVariants": [
1370 null,
1371 null,
1372 null
1373 ]
1374 },
1375 "canonicalOccurrenceReferencesEQ": true,
1376 "occurrenceCount": 1,
1377 "occurrences": [
1378 {
1379 "parent": 1,
1380 "type": 2,
1381 "scope": [
1382 3
1383 ],
1384 "value": "V",
1385 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1386 "itemIdentifiers": [],
1387 "reifier": null
1388 }
1389 ]
1390 },
1391 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<subjectLocators>\n<locator>urn:shared</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#a</locator>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#b</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"2\"></type>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n</topicMap>\n",
1392 "condition": null,
1393 "occurrenceCountsAfterEachRead": [
1394 1,
1395 2
1396 ],
1397 "retainedReadHandles": 2,
1398 "retainedHandleEvidence": {
1399 "readHandleCount": 2,
1400 "distinctReadHandles": 2,
1401 "canonicalGroupsInFinalMap": [
1402 1,
1403 1
1404 ],
1405 "replacedReadHandles": [
1406 true,
1407 true
1408 ]
1409 }
1410 },
1411 {
1412 "label": "merge-type-subjectLocator",
1413 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#x'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence><occurrence><type><topicRef href='#y'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#x'/><subjectLocator href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#y'/><subjectLocator href='urn:shared'/></topic></topicMap>",
1414 "model": {
1415 "existingCharacteristics": {
1416 "identity": {
1417 "identity": {
1418 "nameModel": {
1419 "identity": {
1420 "topicCount": 3,
1421 "associationCount": 0,
1422 "canonicalParentsAndInverseReferences": true,
1423 "topics": [
1424 {
1425 "ordinal": 1,
1426 "itemIdentifiers": [
1427 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1428 ],
1429 "subjectIdentifiers": [],
1430 "subjectLocators": []
1431 },
1432 {
1433 "ordinal": 2,
1434 "itemIdentifiers": [
1435 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#x",
1436 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1437 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#y",
1438 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1439 ],
1440 "subjectIdentifiers": [],
1441 "subjectLocators": [
1442 "urn:shared"
1443 ]
1444 },
1445 {
1446 "ordinal": 3,
1447 "itemIdentifiers": [
1448 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
1449 ],
1450 "subjectIdentifiers": [],
1451 "subjectLocators": []
1452 }
1453 ],
1454 "associations": []
1455 },
1456 "mapItemIdentifiers": [],
1457 "canonicalNameParentTypeReferences": true,
1458 "names": []
1459 },
1460 "canonicalVariantReferences": true,
1461 "variants": []
1462 },
1463 "canonicalNameReifierInverseEQ": true,
1464 "mapReifierTopic": null,
1465 "nameReifierTopics": [],
1466 "topicReifiedNames": [
1467 null,
1468 null,
1469 null
1470 ]
1471 },
1472 "canonicalVariantReifierInverseEQ": true,
1473 "variantReifierTopics": [],
1474 "topicReifiedVariants": [
1475 null,
1476 null,
1477 null
1478 ]
1479 },
1480 "canonicalOccurrenceReferencesEQ": true,
1481 "occurrenceCount": 1,
1482 "occurrences": [
1483 {
1484 "parent": 1,
1485 "type": 2,
1486 "scope": [
1487 3
1488 ],
1489 "value": "V",
1490 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1491 "itemIdentifiers": [],
1492 "reifier": null
1493 }
1494 ]
1495 },
1496 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<subjectLocators>\n<locator>urn:shared</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#x</locator>\n<locator>#y</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
1497 "condition": null,
1498 "occurrenceCountsAfterEachRead": [
1499 1,
1500 2
1501 ],
1502 "retainedReadHandles": 2,
1503 "retainedHandleEvidence": {
1504 "readHandleCount": 2,
1505 "distinctReadHandles": 2,
1506 "canonicalGroupsInFinalMap": [
1507 1,
1508 1
1509 ],
1510 "replacedReadHandles": [
1511 true,
1512 true
1513 ]
1514 }
1515 },
1516 {
1517 "label": "merge-scope-subjectLocator",
1518 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#x'/></scope><resourceData>V</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#y'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#x'/><subjectLocator href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#y'/><subjectLocator href='urn:shared'/></topic></topicMap>",
1519 "model": {
1520 "existingCharacteristics": {
1521 "identity": {
1522 "identity": {
1523 "nameModel": {
1524 "identity": {
1525 "topicCount": 3,
1526 "associationCount": 0,
1527 "canonicalParentsAndInverseReferences": true,
1528 "topics": [
1529 {
1530 "ordinal": 1,
1531 "itemIdentifiers": [
1532 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1533 ],
1534 "subjectIdentifiers": [],
1535 "subjectLocators": []
1536 },
1537 {
1538 "ordinal": 2,
1539 "itemIdentifiers": [
1540 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
1541 ],
1542 "subjectIdentifiers": [],
1543 "subjectLocators": []
1544 },
1545 {
1546 "ordinal": 3,
1547 "itemIdentifiers": [
1548 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#x",
1549 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1550 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#y",
1551 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1552 ],
1553 "subjectIdentifiers": [],
1554 "subjectLocators": [
1555 "urn:shared"
1556 ]
1557 }
1558 ],
1559 "associations": []
1560 },
1561 "mapItemIdentifiers": [],
1562 "canonicalNameParentTypeReferences": true,
1563 "names": []
1564 },
1565 "canonicalVariantReferences": true,
1566 "variants": []
1567 },
1568 "canonicalNameReifierInverseEQ": true,
1569 "mapReifierTopic": null,
1570 "nameReifierTopics": [],
1571 "topicReifiedNames": [
1572 null,
1573 null,
1574 null
1575 ]
1576 },
1577 "canonicalVariantReifierInverseEQ": true,
1578 "variantReifierTopics": [],
1579 "topicReifiedVariants": [
1580 null,
1581 null,
1582 null
1583 ]
1584 },
1585 "canonicalOccurrenceReferencesEQ": true,
1586 "occurrenceCount": 1,
1587 "occurrences": [
1588 {
1589 "parent": 1,
1590 "type": 2,
1591 "scope": [
1592 3
1593 ],
1594 "value": "V",
1595 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1596 "itemIdentifiers": [],
1597 "reifier": null
1598 }
1599 ]
1600 },
1601 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"2\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<subjectLocators>\n<locator>urn:shared</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#x</locator>\n<locator>#y</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
1602 "condition": null,
1603 "occurrenceCountsAfterEachRead": [
1604 1,
1605 2
1606 ],
1607 "retainedReadHandles": 2,
1608 "retainedHandleEvidence": {
1609 "readHandleCount": 2,
1610 "distinctReadHandles": 2,
1611 "canonicalGroupsInFinalMap": [
1612 1,
1613 1
1614 ],
1615 "replacedReadHandles": [
1616 true,
1617 true
1618 ]
1619 }
1620 },
1621 {
1622 "label": "merge-parent-itemIdentity",
1623 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='b'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#a'/><itemIdentity href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#b'/><itemIdentity href='urn:shared'/></topic></topicMap>",
1624 "model": {
1625 "existingCharacteristics": {
1626 "identity": {
1627 "identity": {
1628 "nameModel": {
1629 "identity": {
1630 "topicCount": 3,
1631 "associationCount": 0,
1632 "canonicalParentsAndInverseReferences": true,
1633 "topics": [
1634 {
1635 "ordinal": 1,
1636 "itemIdentifiers": [
1637 "urn:shared",
1638 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a",
1639 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1640 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#b",
1641 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1642 ],
1643 "subjectIdentifiers": [],
1644 "subjectLocators": []
1645 },
1646 {
1647 "ordinal": 2,
1648 "itemIdentifiers": [
1649 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
1650 ],
1651 "subjectIdentifiers": [],
1652 "subjectLocators": []
1653 },
1654 {
1655 "ordinal": 3,
1656 "itemIdentifiers": [
1657 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
1658 ],
1659 "subjectIdentifiers": [],
1660 "subjectLocators": []
1661 }
1662 ],
1663 "associations": []
1664 },
1665 "mapItemIdentifiers": [],
1666 "canonicalNameParentTypeReferences": true,
1667 "names": []
1668 },
1669 "canonicalVariantReferences": true,
1670 "variants": []
1671 },
1672 "canonicalNameReifierInverseEQ": true,
1673 "mapReifierTopic": null,
1674 "nameReifierTopics": [],
1675 "topicReifiedNames": [
1676 null,
1677 null,
1678 null
1679 ]
1680 },
1681 "canonicalVariantReifierInverseEQ": true,
1682 "variantReifierTopics": [],
1683 "topicReifiedVariants": [
1684 null,
1685 null,
1686 null
1687 ]
1688 },
1689 "canonicalOccurrenceReferencesEQ": true,
1690 "occurrenceCount": 1,
1691 "occurrences": [
1692 {
1693 "parent": 1,
1694 "type": 2,
1695 "scope": [
1696 3
1697 ],
1698 "value": "V",
1699 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1700 "itemIdentifiers": [],
1701 "reifier": null
1702 }
1703 ]
1704 },
1705 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#a</locator>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#b</locator>\n<locator>urn:shared</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"2\"></type>\n<scope>\n<scopingTopic topicref=\"1\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n</topicMap>\n",
1706 "condition": null,
1707 "occurrenceCountsAfterEachRead": [
1708 1,
1709 2
1710 ],
1711 "retainedReadHandles": 2,
1712 "retainedHandleEvidence": {
1713 "readHandleCount": 2,
1714 "distinctReadHandles": 2,
1715 "canonicalGroupsInFinalMap": [
1716 1,
1717 1
1718 ],
1719 "replacedReadHandles": [
1720 true,
1721 true
1722 ]
1723 }
1724 },
1725 {
1726 "label": "merge-type-itemIdentity",
1727 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#x'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence><occurrence><type><topicRef href='#y'/></type><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#x'/><itemIdentity href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#y'/><itemIdentity href='urn:shared'/></topic></topicMap>",
1728 "model": {
1729 "existingCharacteristics": {
1730 "identity": {
1731 "identity": {
1732 "nameModel": {
1733 "identity": {
1734 "topicCount": 3,
1735 "associationCount": 0,
1736 "canonicalParentsAndInverseReferences": true,
1737 "topics": [
1738 {
1739 "ordinal": 1,
1740 "itemIdentifiers": [
1741 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1742 ],
1743 "subjectIdentifiers": [],
1744 "subjectLocators": []
1745 },
1746 {
1747 "ordinal": 2,
1748 "itemIdentifiers": [
1749 "urn:shared",
1750 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#x",
1751 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1752 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#y",
1753 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1754 ],
1755 "subjectIdentifiers": [],
1756 "subjectLocators": []
1757 },
1758 {
1759 "ordinal": 3,
1760 "itemIdentifiers": [
1761 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#s"
1762 ],
1763 "subjectIdentifiers": [],
1764 "subjectLocators": []
1765 }
1766 ],
1767 "associations": []
1768 },
1769 "mapItemIdentifiers": [],
1770 "canonicalNameParentTypeReferences": true,
1771 "names": []
1772 },
1773 "canonicalVariantReferences": true,
1774 "variants": []
1775 },
1776 "canonicalNameReifierInverseEQ": true,
1777 "mapReifierTopic": null,
1778 "nameReifierTopics": [],
1779 "topicReifiedNames": [
1780 null,
1781 null,
1782 null
1783 ]
1784 },
1785 "canonicalVariantReifierInverseEQ": true,
1786 "variantReifierTopics": [],
1787 "topicReifiedVariants": [
1788 null,
1789 null,
1790 null
1791 ]
1792 },
1793 "canonicalOccurrenceReferencesEQ": true,
1794 "occurrenceCount": 1,
1795 "occurrences": [
1796 {
1797 "parent": 1,
1798 "type": 2,
1799 "scope": [
1800 3
1801 ],
1802 "value": "V",
1803 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1804 "itemIdentifiers": [],
1805 "reifier": null
1806 }
1807 ]
1808 },
1809 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#s</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#x</locator>\n<locator>#y</locator>\n<locator>urn:shared</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
1810 "condition": null,
1811 "occurrenceCountsAfterEachRead": [
1812 1,
1813 2
1814 ],
1815 "retainedReadHandles": 2,
1816 "retainedHandleEvidence": {
1817 "readHandleCount": 2,
1818 "distinctReadHandles": 2,
1819 "canonicalGroupsInFinalMap": [
1820 1,
1821 1
1822 ],
1823 "replacedReadHandles": [
1824 true,
1825 true
1826 ]
1827 }
1828 },
1829 {
1830 "label": "merge-scope-itemIdentity",
1831 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#x'/></scope><resourceData>V</resourceData></occurrence><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#y'/></scope><resourceData>V</resourceData></occurrence></topic><topic id='alias1'><itemIdentity href='#x'/><itemIdentity href='urn:shared'/></topic><topic id='alias2'><itemIdentity href='#y'/><itemIdentity href='urn:shared'/></topic></topicMap>",
1832 "model": {
1833 "existingCharacteristics": {
1834 "identity": {
1835 "identity": {
1836 "nameModel": {
1837 "identity": {
1838 "topicCount": 3,
1839 "associationCount": 0,
1840 "canonicalParentsAndInverseReferences": true,
1841 "topics": [
1842 {
1843 "ordinal": 1,
1844 "itemIdentifiers": [
1845 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1846 ],
1847 "subjectIdentifiers": [],
1848 "subjectLocators": []
1849 },
1850 {
1851 "ordinal": 2,
1852 "itemIdentifiers": [
1853 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
1854 ],
1855 "subjectIdentifiers": [],
1856 "subjectLocators": []
1857 },
1858 {
1859 "ordinal": 3,
1860 "itemIdentifiers": [
1861 "urn:shared",
1862 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#x",
1863 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias1",
1864 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#y",
1865 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#alias2"
1866 ],
1867 "subjectIdentifiers": [],
1868 "subjectLocators": []
1869 }
1870 ],
1871 "associations": []
1872 },
1873 "mapItemIdentifiers": [],
1874 "canonicalNameParentTypeReferences": true,
1875 "names": []
1876 },
1877 "canonicalVariantReferences": true,
1878 "variants": []
1879 },
1880 "canonicalNameReifierInverseEQ": true,
1881 "mapReifierTopic": null,
1882 "nameReifierTopics": [],
1883 "topicReifiedNames": [
1884 null,
1885 null,
1886 null
1887 ]
1888 },
1889 "canonicalVariantReifierInverseEQ": true,
1890 "variantReifierTopics": [],
1891 "topicReifiedVariants": [
1892 null,
1893 null,
1894 null
1895 ]
1896 },
1897 "canonicalOccurrenceReferencesEQ": true,
1898 "occurrenceCount": 1,
1899 "occurrences": [
1900 {
1901 "parent": 1,
1902 "type": 2,
1903 "scope": [
1904 3
1905 ],
1906 "value": "V",
1907 "datatype": "http://www.w3.org/2001/XMLSchema#string",
1908 "itemIdentifiers": [],
1909 "reifier": null
1910 }
1911 ]
1912 },
1913 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"2\"></type>\n<scope>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#alias1</locator>\n<locator>#alias2</locator>\n<locator>#x</locator>\n<locator>#y</locator>\n<locator>urn:shared</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
1914 "condition": null,
1915 "occurrenceCountsAfterEachRead": [
1916 1,
1917 2
1918 ],
1919 "retainedReadHandles": 2,
1920 "retainedHandleEvidence": {
1921 "readHandleCount": 2,
1922 "distinctReadHandles": 2,
1923 "canonicalGroupsInFinalMap": [
1924 1,
1925 1
1926 ],
1927 "replacedReadHandles": [
1928 true,
1929 true
1930 ]
1931 }
1932 },
1933 {
1934 "label": "other-characteristics-preserved",
1935 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><instanceOf><topicRef href='#class'/></instanceOf><name><value>N</value><variant><scope><topicRef href='#vscope'/></scope><resourceData>V</resourceData></variant></name><occurrence><type><topicRef href='#t'/></type><resourceData>O</resourceData></occurrence></topic></topicMap>",
1936 "model": {
1937 "existingCharacteristics": {
1938 "identity": {
1939 "identity": {
1940 "nameModel": {
1941 "identity": {
1942 "topicCount": 8,
1943 "associationCount": 1,
1944 "canonicalParentsAndInverseReferences": true,
1945 "topics": [
1946 {
1947 "ordinal": 1,
1948 "itemIdentifiers": [
1949 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#a"
1950 ],
1951 "subjectIdentifiers": [],
1952 "subjectLocators": []
1953 },
1954 {
1955 "ordinal": 2,
1956 "itemIdentifiers": [
1957 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#class"
1958 ],
1959 "subjectIdentifiers": [],
1960 "subjectLocators": []
1961 },
1962 {
1963 "ordinal": 3,
1964 "itemIdentifiers": [],
1965 "subjectIdentifiers": [
1966 "http://psi.topicmaps.org/iso13250/model/type-instance"
1967 ],
1968 "subjectLocators": []
1969 },
1970 {
1971 "ordinal": 4,
1972 "itemIdentifiers": [],
1973 "subjectIdentifiers": [
1974 "http://psi.topicmaps.org/iso13250/model/type"
1975 ],
1976 "subjectLocators": []
1977 },
1978 {
1979 "ordinal": 5,
1980 "itemIdentifiers": [],
1981 "subjectIdentifiers": [
1982 "http://psi.topicmaps.org/iso13250/model/instance"
1983 ],
1984 "subjectLocators": []
1985 },
1986 {
1987 "ordinal": 6,
1988 "itemIdentifiers": [],
1989 "subjectIdentifiers": [
1990 "http://psi.topicmaps.org/iso13250/model/topic-name"
1991 ],
1992 "subjectLocators": []
1993 },
1994 {
1995 "ordinal": 7,
1996 "itemIdentifiers": [
1997 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#vscope"
1998 ],
1999 "subjectIdentifiers": [],
2000 "subjectLocators": []
2001 },
2002 {
2003 "ordinal": 8,
2004 "itemIdentifiers": [
2005 "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm#t"
2006 ],
2007 "subjectIdentifiers": [],
2008 "subjectLocators": []
2009 }
2010 ],
2011 "associations": [
2012 {
2013 "type": 3,
2014 "roles": [
2015 {
2016 "type": 4,
2017 "player": 2
2018 },
2019 {
2020 "type": 5,
2021 "player": 1
2022 }
2023 ]
2024 }
2025 ]
2026 },
2027 "mapItemIdentifiers": [],
2028 "canonicalNameParentTypeReferences": true,
2029 "names": [
2030 {
2031 "value": "N",
2032 "parent": 1,
2033 "type": 6,
2034 "scope": [],
2035 "itemIdentifiers": [],
2036 "variantCount": 1
2037 }
2038 ]
2039 },
2040 "canonicalVariantReferences": true,
2041 "variants": [
2042 {
2043 "value": "V",
2044 "datatype": "http://www.w3.org/2001/XMLSchema#string",
2045 "parentName": 1,
2046 "scope": [
2047 7
2048 ],
2049 "itemIdentifiers": [],
2050 "reifier": null
2051 }
2052 ]
2053 },
2054 "canonicalNameReifierInverseEQ": true,
2055 "mapReifierTopic": null,
2056 "nameReifierTopics": [
2057 null
2058 ],
2059 "topicReifiedNames": [
2060 null,
2061 null,
2062 null,
2063 null,
2064 null,
2065 null,
2066 null,
2067 null
2068 ]
2069 },
2070 "canonicalVariantReifierInverseEQ": true,
2071 "variantReifierTopics": [
2072 null
2073 ],
2074 "topicReifiedVariants": [
2075 null,
2076 null,
2077 null,
2078 null,
2079 null,
2080 null,
2081 null,
2082 null
2083 ]
2084 },
2085 "canonicalOccurrenceReferencesEQ": true,
2086 "occurrenceCount": 1,
2087 "occurrences": [
2088 {
2089 "parent": 1,
2090 "type": 8,
2091 "scope": [],
2092 "value": "O",
2093 "datatype": "http://www.w3.org/2001/XMLSchema#string",
2094 "itemIdentifiers": [],
2095 "reifier": null
2096 }
2097 ]
2098 },
2099 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<name number=\"1\">\n<value>N</value>\n<type topicref=\"6\"></type>\n<variant number=\"1\">\n<value>V</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<scope>\n<scopingTopic topicref=\"4\"></scopingTopic>\n</scope>\n</variant>\n</name>\n<occurrence number=\"1\">\n<value>O</value>\n<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\n<type topicref=\"3\"></type>\n</occurrence>\n<rolePlayed ref=\"association.1.role.1\"></rolePlayed>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#class</locator>\n</itemIdentifiers>\n<rolePlayed ref=\"association.1.role.2\"></rolePlayed>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"4\">\n<itemIdentifiers>\n<locator>#vscope</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"5\">\n<subjectIdentifiers>\n<locator>http://psi.topicmaps.org/iso13250/model/instance</locator>\n</subjectIdentifiers>\n</topic>\n<topic number=\"6\">\n<subjectIdentifiers>\n<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\n</subjectIdentifiers>\n</topic>\n<topic number=\"7\">\n<subjectIdentifiers>\n<locator>http://psi.topicmaps.org/iso13250/model/type</locator>\n</subjectIdentifiers>\n</topic>\n<topic number=\"8\">\n<subjectIdentifiers>\n<locator>http://psi.topicmaps.org/iso13250/model/type-instance</locator>\n</subjectIdentifiers>\n</topic>\n<association number=\"1\">\n<type topicref=\"8\"></type>\n<role number=\"1\">\n<player topicref=\"1\"></player>\n<type topicref=\"5\"></type>\n</role>\n<role number=\"2\">\n<player topicref=\"2\"></player>\n<type topicref=\"7\"></type>\n</role>\n</association>\n</topicMap>\n",
2100 "condition": null,
2101 "occurrenceCountsAfterEachRead": [
2102 1
2103 ],
2104 "retainedReadHandles": 1,
2105 "retainedHandleEvidence": {
2106 "readHandleCount": 1,
2107 "distinctReadHandles": 1,
2108 "canonicalGroupsInFinalMap": [
2109 1
2110 ],
2111 "replacedReadHandles": [
2112 false
2113 ]
2114 }
2115 },
2116 {
2117 "label": "occurrence-negative:missing-type",
2118 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><resourceData>V</resourceData></occurrence></topic></topicMap>",
2119 "condition": {
2120 "class": "XTM-REJECTION",
2121 "code": "missing-occurrence-type",
2122 "detail": "occurrence requires type before its resource.",
2123 "message": "XTM MISSING-OCCURRENCE-TYPE at occurrence-negative:missing-type (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:103: occurrence requires type before its resource.",
2124 "line": 1,
2125 "column": 103,
2126 "positionUnit": "approximate-SAX-line-column",
2127 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2128 "sourceKey": "occurrence-negative:missing-type",
2129 "cause": null
2130 }
2131 },
2132 {
2133 "label": "occurrence-negative:missing-resource",
2134 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type></occurrence></topic></topicMap>",
2135 "condition": {
2136 "class": "XTM-REJECTION",
2137 "code": "missing-occurrence-resource",
2138 "detail": "occurrence requires a resource element.",
2139 "message": "XTM MISSING-OCCURRENCE-RESOURCE at occurrence-negative:missing-resource (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:89: occurrence requires a resource element.",
2140 "line": 1,
2141 "column": 89,
2142 "positionUnit": "approximate-SAX-line-column",
2143 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2144 "sourceKey": "occurrence-negative:missing-resource",
2145 "cause": null
2146 }
2147 },
2148 {
2149 "label": "occurrence-negative:two-resources",
2150 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData>V</resourceData><resourceRef href='urn:v'/></occurrence></topic></topicMap>",
2151 "condition": {
2152 "class": "XTM-REJECTION",
2153 "code": "occurrence-resource-cardinality",
2154 "detail": "occurrence requires exactly one resource.",
2155 "message": "XTM OCCURRENCE-RESOURCE-CARDINALITY at occurrence-negative:two-resources (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:180: occurrence requires exactly one resource.",
2156 "line": 1,
2157 "column": 180,
2158 "positionUnit": "approximate-SAX-line-column",
2159 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2160 "sourceKey": "occurrence-negative:two-resources",
2161 "cause": null
2162 }
2163 },
2164 {
2165 "label": "occurrence-negative:two-types",
2166 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><type><topicRef href='#u'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2167 "condition": {
2168 "class": "XTM-REJECTION",
2169 "code": "duplicate-occurrence-type",
2170 "detail": "Only one occurrence type is allowed.",
2171 "message": "XTM DUPLICATE-OCCURRENCE-TYPE at occurrence-negative:two-types (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:129: Only one occurrence type is allowed.",
2172 "line": 1,
2173 "column": 129,
2174 "positionUnit": "approximate-SAX-line-column",
2175 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2176 "sourceKey": "occurrence-negative:two-types",
2177 "cause": null
2178 }
2179 },
2180 {
2181 "label": "occurrence-negative:empty-type",
2182 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type/><resourceData>V</resourceData></occurrence></topic></topicMap>",
2183 "condition": {
2184 "class": "XTM-REJECTION",
2185 "code": "type-cardinality",
2186 "detail": "type requires exactly one topicRef.",
2187 "message": "XTM TYPE-CARDINALITY at occurrence-negative:empty-type (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:96: type requires exactly one topicRef.",
2188 "line": 1,
2189 "column": 96,
2190 "positionUnit": "approximate-SAX-line-column",
2191 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2192 "sourceKey": "occurrence-negative:empty-type",
2193 "cause": null
2194 }
2195 },
2196 {
2197 "label": "occurrence-negative:two-type-refs",
2198 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/><topicRef href='#u'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2199 "condition": {
2200 "class": "XTM-REJECTION",
2201 "code": "type-cardinality",
2202 "detail": "type requires exactly one topicRef.",
2203 "message": "XTM TYPE-CARDINALITY at occurrence-negative:two-type-refs (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:95: type requires exactly one topicRef.",
2204 "line": 1,
2205 "column": 95,
2206 "positionUnit": "approximate-SAX-line-column",
2207 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2208 "sourceKey": "occurrence-negative:two-type-refs",
2209 "cause": null
2210 }
2211 },
2212 {
2213 "label": "occurrence-negative:bad-type-ref",
2214 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='t'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2215 "condition": {
2216 "class": "XTM-REJECTION",
2217 "code": "invalid-topic-ref",
2218 "detail": "topicRef requires an XPointer shorthand fragment.",
2219 "message": "XTM INVALID-TOPIC-REF at occurrence-negative:bad-type-ref (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:115: topicRef requires an XPointer shorthand fragment.",
2220 "line": 1,
2221 "column": 115,
2222 "positionUnit": "approximate-SAX-line-column",
2223 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2224 "sourceKey": "occurrence-negative:bad-type-ref",
2225 "cause": null
2226 }
2227 },
2228 {
2229 "label": "occurrence-negative:empty-scope",
2230 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope/><resourceData>V</resourceData></occurrence></topic></topicMap>",
2231 "condition": {
2232 "class": "XTM-REJECTION",
2233 "code": "empty-scope",
2234 "detail": "scope requires at least one topicRef.",
2235 "message": "XTM EMPTY-SCOPE at occurrence-negative:empty-scope (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:131: scope requires at least one topicRef.",
2236 "line": 1,
2237 "column": 131,
2238 "positionUnit": "approximate-SAX-line-column",
2239 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2240 "sourceKey": "occurrence-negative:empty-scope",
2241 "cause": null
2242 }
2243 },
2244 {
2245 "label": "occurrence-negative:bad-scope-ref",
2246 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#2bad'/></scope><resourceData>V</resourceData></occurrence></topic></topicMap>",
2247 "condition": {
2248 "class": "XTM-REJECTION",
2249 "code": "invalid-topic-ref",
2250 "detail": "topicRef requires an XPointer shorthand fragment.",
2251 "message": "XTM INVALID-TOPIC-REF at occurrence-negative:bad-scope-ref (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:154: topicRef requires an XPointer shorthand fragment.",
2252 "line": 1,
2253 "column": 154,
2254 "positionUnit": "approximate-SAX-line-column",
2255 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2256 "sourceKey": "occurrence-negative:bad-scope-ref",
2257 "cause": null
2258 }
2259 },
2260 {
2261 "label": "occurrence-negative:two-scopes",
2262 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></occurrence></topic></topicMap>",
2263 "condition": {
2264 "class": "XTM-REJECTION",
2265 "code": "duplicate-occurrence-scope",
2266 "detail": "Only one occurrence scope is allowed.",
2267 "message": "XTM DUPLICATE-OCCURRENCE-SCOPE at occurrence-negative:two-scopes (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:166: Only one occurrence scope is allowed.",
2268 "line": 1,
2269 "column": 166,
2270 "positionUnit": "approximate-SAX-line-column",
2271 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2272 "sourceKey": "occurrence-negative:two-scopes",
2273 "cause": null
2274 }
2275 },
2276 {
2277 "label": "occurrence-negative:wrong-order",
2278 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData>V</resourceData><scope><topicRef href='#s'/></scope></occurrence></topic></topicMap>",
2279 "condition": {
2280 "class": "XTM-REJECTION",
2281 "code": "element-order",
2282 "detail": "occurrence child order is invalid.",
2283 "message": "XTM ELEMENT-ORDER at occurrence-negative:wrong-order (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:160: occurrence child order is invalid.",
2284 "line": 1,
2285 "column": 160,
2286 "positionUnit": "approximate-SAX-line-column",
2287 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2288 "sourceKey": "occurrence-negative:wrong-order",
2289 "cause": null
2290 }
2291 },
2292 {
2293 "label": "occurrence-negative:early-scope",
2294 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><scope><topicRef href='#s'/></scope><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2295 "condition": {
2296 "class": "XTM-REJECTION",
2297 "code": "missing-occurrence-type",
2298 "detail": "occurrence requires type before scope.",
2299 "message": "XTM MISSING-OCCURRENCE-TYPE at occurrence-negative:early-scope (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:96: occurrence requires type before scope.",
2300 "line": 1,
2301 "column": 96,
2302 "positionUnit": "approximate-SAX-line-column",
2303 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2304 "sourceKey": "occurrence-negative:early-scope",
2305 "cause": null
2306 }
2307 },
2308 {
2309 "label": "occurrence-negative:bad-child",
2310 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><wrong/></occurrence></topic></topicMap>",
2311 "condition": {
2312 "class": "XTM-REJECTION",
2313 "code": "unexpected-element",
2314 "detail": "Unexpected wrong element.",
2315 "message": "XTM UNEXPECTED-ELEMENT at occurrence-negative:bad-child (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:97: Unexpected wrong element.",
2316 "line": 1,
2317 "column": 97,
2318 "positionUnit": "approximate-SAX-line-column",
2319 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2320 "sourceKey": "occurrence-negative:bad-child",
2321 "cause": null
2322 }
2323 },
2324 {
2325 "label": "occurrence-negative:foreign-namespace",
2326 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence xmlns='urn:foreign'/></topic></topicMap>",
2327 "condition": {
2328 "class": "XTM-REJECTION",
2329 "code": "invalid-namespace",
2330 "detail": "Expected the XTM 2.0 namespace.",
2331 "message": "XTM INVALID-NAMESPACE at occurrence-negative:foreign-namespace (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:110: Expected the XTM 2.0 namespace.",
2332 "line": 1,
2333 "column": 110,
2334 "positionUnit": "approximate-SAX-line-column",
2335 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2336 "sourceKey": "occurrence-negative:foreign-namespace",
2337 "cause": null
2338 }
2339 },
2340 {
2341 "label": "occurrence-negative:bad-attribute",
2342 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence bogus='x'/></topic></topicMap>",
2343 "condition": {
2344 "class": "XTM-REJECTION",
2345 "code": "unexpected-attribute",
2346 "detail": "Attribute \"bogus\" on occurrence.",
2347 "message": "XTM UNEXPECTED-ATTRIBUTE at occurrence-negative:bad-attribute (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:100: Attribute \"bogus\" on occurrence.",
2348 "line": 1,
2349 "column": 100,
2350 "positionUnit": "approximate-SAX-line-column",
2351 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2352 "sourceKey": "occurrence-negative:bad-attribute",
2353 "cause": null
2354 }
2355 },
2356 {
2357 "label": "occurrence-negative:text-child",
2358 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence>unexpected</occurrence></topic></topicMap>",
2359 "condition": {
2360 "class": "XTM-REJECTION",
2361 "code": "unexpected-text",
2362 "detail": "Only XML whitespace is allowed here.",
2363 "message": "XTM UNEXPECTED-TEXT at occurrence-negative:text-child (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:89: Only XML whitespace is allowed here.",
2364 "line": 1,
2365 "column": 89,
2366 "positionUnit": "approximate-SAX-line-column",
2367 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2368 "sourceKey": "occurrence-negative:text-child",
2369 "cause": null
2370 }
2371 },
2372 {
2373 "label": "occurrence-negative:relative-datatype",
2374 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData datatype='relative'>V</resourceData></occurrence></topic></topicMap>",
2375 "condition": {
2376 "class": "XTM-REJECTION",
2377 "code": "invalid-resource-data-datatype",
2378 "detail": "resourceData datatype must be an absolute IRI.",
2379 "message": "XTM INVALID-RESOURCE-DATA-DATATYPE at occurrence-negative:relative-datatype (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:157: resourceData datatype must be an absolute IRI.",
2380 "line": 1,
2381 "column": 157,
2382 "positionUnit": "approximate-SAX-line-column",
2383 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2384 "sourceKey": "occurrence-negative:relative-datatype",
2385 "cause": null
2386 }
2387 },
2388 {
2389 "label": "occurrence-negative:embedded-without-anyType",
2390 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData><x xmlns='urn:xml'/></resourceData></occurrence></topic></topicMap>",
2391 "condition": {
2392 "class": "XTM-REJECTION",
2393 "code": "unexpected-child",
2394 "detail": "Textual resourceData cannot contain child elements.",
2395 "message": "XTM UNEXPECTED-CHILD at occurrence-negative:embedded-without-anyType (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:157: Textual resourceData cannot contain child elements.",
2396 "line": 1,
2397 "column": 157,
2398 "positionUnit": "approximate-SAX-line-column",
2399 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2400 "sourceKey": "occurrence-negative:embedded-without-anyType",
2401 "cause": null
2402 }
2403 },
2404 {
2405 "label": "occurrence-negative:anyType-text",
2406 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>V</resourceData></occurrence></topic></topicMap>",
2407 "condition": {
2408 "class": "XTM-UNSUPPORTED",
2409 "code": "resource-data-datatype",
2410 "detail": "xsd:anyType XML canonicalization is outside this subset.",
2411 "message": "XTM RESOURCE-DATA-DATATYPE at occurrence-negative:anyType-text (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:189: xsd:anyType XML canonicalization is outside this subset.",
2412 "line": 1,
2413 "column": 189,
2414 "positionUnit": "approximate-SAX-line-column",
2415 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2416 "sourceKey": "occurrence-negative:anyType-text",
2417 "cause": null
2418 }
2419 },
2420 {
2421 "label": "occurrence-negative:anyType-XML",
2422 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'><x xmlns='urn:xml'/></resourceData></occurrence></topic></topicMap>",
2423 "condition": {
2424 "class": "XTM-UNSUPPORTED",
2425 "code": "resource-data-datatype",
2426 "detail": "xsd:anyType XML canonicalization is outside this subset.",
2427 "message": "XTM RESOURCE-DATA-DATATYPE at occurrence-negative:anyType-XML (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:189: xsd:anyType XML canonicalization is outside this subset.",
2428 "line": 1,
2429 "column": 189,
2430 "positionUnit": "approximate-SAX-line-column",
2431 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2432 "sourceKey": "occurrence-negative:anyType-XML",
2433 "cause": null
2434 }
2435 },
2436 {
2437 "label": "occurrence-negative:item-identity",
2438 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><itemIdentity href='urn:o'/><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2439 "condition": {
2440 "class": "XTM-UNSUPPORTED",
2441 "code": "unsupported-construct",
2442 "detail": "XTM occurrence item identifiers are not implemented in this subset.",
2443 "message": "XTM UNSUPPORTED-CONSTRUCT at occurrence-negative:item-identity (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:117: XTM occurrence item identifiers are not implemented in this subset.",
2444 "line": 1,
2445 "column": 117,
2446 "positionUnit": "approximate-SAX-line-column",
2447 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2448 "sourceKey": "occurrence-negative:item-identity",
2449 "cause": null
2450 }
2451 },
2452 {
2453 "label": "occurrence-negative:reification",
2454 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence reifier='#r'><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2455 "condition": {
2456 "class": "XTM-UNSUPPORTED",
2457 "code": "unsupported-construct",
2458 "detail": "XTM occurrence reification is not implemented in this subset.",
2459 "message": "XTM UNSUPPORTED-CONSTRUCT at occurrence-negative:reification (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:102: XTM occurrence reification is not implemented in this subset.",
2460 "line": 1,
2461 "column": 102,
2462 "positionUnit": "approximate-SAX-line-column",
2463 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2464 "sourceKey": "occurrence-negative:reification",
2465 "cause": null
2466 }
2467 },
2468 {
2469 "label": "invalid-parent-context",
2470 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><occurrence/></topicMap>",
2471 "condition": {
2472 "class": "XTM-REJECTION",
2473 "code": "unexpected-element",
2474 "detail": "Unexpected occurrence element.",
2475 "message": "XTM UNEXPECTED-ELEMENT at local:xtm-semantic-test (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:76: Unexpected occurrence element.",
2476 "line": 1,
2477 "column": 76,
2478 "positionUnit": "approximate-SAX-line-column",
2479 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2480 "sourceKey": "local:xtm-semantic-test",
2481 "cause": null
2482 }
2483 },
2484 {
2485 "label": "invalid-parent-context",
2486 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><name><value>N</value><occurrence/></name></topic></topicMap>",
2487 "condition": {
2488 "class": "XTM-REJECTION",
2489 "code": "unexpected-element",
2490 "detail": "Unexpected occurrence element.",
2491 "message": "XTM UNEXPECTED-ELEMENT at local:xtm-semantic-test (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:112: Unexpected occurrence element.",
2492 "line": 1,
2493 "column": 112,
2494 "positionUnit": "approximate-SAX-line-column",
2495 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2496 "sourceKey": "local:xtm-semantic-test",
2497 "cause": null
2498 }
2499 },
2500 {
2501 "label": "real-XML-error",
2502 "sourceText": "<a><b></a>",
2503 "condition": {
2504 "class": "XTM-XML-ERROR",
2505 "code": "xml-not-well-formed",
2506 "detail": "Document not well-formed: Bad nesting. \"b\" / (:ETAG \"a\")\nContext:\n Line 1, column 11 in NIL\n",
2507 "message": "XTM XML-NOT-WELL-FORMED at occurrence:XML (https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm), approximately 1:11: Document not well-formed: Bad nesting. \"b\" / (:ETAG \"a\")\nContext:\n Line 1, column 11 in NIL\n",
2508 "line": 1,
2509 "column": 11,
2510 "positionUnit": "approximate-SAX-line-column",
2511 "documentIRI": "https://xtm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/xtm2/in/example.xtm",
2512 "sourceKey": "occurrence:XML",
2513 "cause": {
2514 "class": "WELL-FORMEDNESS-VIOLATION",
2515 "code": null,
2516 "detail": null,
2517 "message": "Document not well-formed: Bad nesting. \"b\" / (:ETAG \"a\")\nContext:\n Line 1, column 11 in NIL\n",
2518 "line": null,
2519 "column": null,
2520 "positionUnit": null,
2521 "documentIRI": null,
2522 "sourceKey": null,
2523 "cause": null
2524 }
2525 }
2526 },
2527 {
2528 "label": "occurrence-native-conflict",
2529 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#integer'>bad</resourceData></occurrence></topic></topicMap>",
2530 "condition": {
2531 "class": "OCCURRENCE-ERROR",
2532 "code": "invalid-integer-value",
2533 "detail": null,
2534 "message": "Occurrence INVALID-INTEGER-VALUE: Value is not an xsd:integer lexical form.",
2535 "line": null,
2536 "column": null,
2537 "positionUnit": null,
2538 "documentIRI": null,
2539 "sourceKey": null,
2540 "cause": null
2541 }
2542 },
2543 {
2544 "label": "occurrence-native-conflict",
2545 "sourceText": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><itemIdentity href='#t'/><topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence></topic></topicMap>",
2546 "condition": {
2547 "class": "OCCURRENCE-IDENTIFIER-ERROR",
2548 "code": "duplicate-item-identifier",
2549 "detail": "Locator already identifies a different information item.",
2550 "message": "Occurrence DUPLICATE-ITEM-IDENTIFIER: Locator already identifies a different information item.",
2551 "line": null,
2552 "column": null,
2553 "positionUnit": null,
2554 "documentIRI": null,
2555 "sourceKey": null,
2556 "cause": null
2557 }
2558 }
2559 ]
2560 }