]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - reports/slice-22t/after/equivalence-audit.json
perf(tmdm): index topic normalization merge candidates
[topic-maps.git] / reports / slice-22t / after / equivalence-audit.json
1 {
2 "retainedRowsByteIdentical": 33,
3 "retainedPositivePairs": 30,
4 "retainedContrasts": 3,
5 "retainedChecksUnchanged": 529,
6 "newChecks": 199,
7 "checks": 728,
8 "positiveReaderPairs": 34,
9 "contrasts": 4,
10 "newProductiveReaderCalls": 18,
11 "newSourceItemConstructorCalls": 26,
12 "newRows": [
13 {
14 "id": "anytype-occurrence",
15 "kind": "direct-reader-equivalence-pair",
16 "normativeReason": "Same canonical XML string/datatype, Occurrence Parent/Type/Scope/Reifier and all three Topic identifier categories.",
17 "clauses": [
18 "CTM 3.4.1 [28]-[29],3.10-3.12",
19 "XTM 4.16.2-4.16.3",
20 "TMDM 4.4,5.5-5.6,6.4-6.5"
21 ],
22 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
23 "canonicalBaseIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
24 "ctmSource": "a <urn:anytype:subject>. a =<urn:anytype:resource>. a ^<urn:anytype:item>. a t:\"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"^^<http://www.w3.org/2001/XMLSchema#anyType>@s ~r.",
25 "xtmSource": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><subjectIdentifier href='urn:anytype:subject'/><subjectLocator href='urn:anytype:resource'/><itemIdentity href='urn:anytype:item'/><occurrence reifier='#r'><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType' xmlns:p='urn:payload' xmlns:u='urn:unused'><p:x a='&#65;'>Grüße 水 &amp; B</p:x></resourceData></occurrence></topic></topicMap>",
26 "resourceIRI": null,
27 "resourceSource": null,
28 "ctmTrace": {
29 "entryPoint": "topic-maps.ctm:deserialize-string",
30 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
31 "sourceKey": "ctm:anytype-occurrence",
32 "resolverCalls": [],
33 "qualifiedXMLParserCalls": [],
34 "imports": [],
35 "sourcePreserved": true
36 },
37 "xtmTrace": {
38 "entryPoint": "topic-maps.xtm:deserialize-octets",
39 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
40 "sourceKey": "xtm:anytype-occurrence",
41 "resolverCalls": [],
42 "qualifiedXMLParserCalls": [
43 {
44 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
45 "sourceKey": "xtm:anytype-occurrence",
46 "originalRootOctetsEQ": true,
47 "originalResourceOctetsEQ": false,
48 "bytes": 498
49 }
50 ],
51 "imports": [],
52 "sourcePreserved": true
53 },
54 "ctmCondition": null,
55 "xtmCondition": null,
56 "ctmModel": {
57 "countOrder": [
58 "topics",
59 "names",
60 "variants",
61 "occurrences",
62 "associations",
63 "roles",
64 "reifiedItems"
65 ],
66 "counts": [
67 4,
68 0,
69 0,
70 1,
71 0,
72 0,
73 1
74 ],
75 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL))",
76 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL))\n NIL))\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL)\n \"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL)))\n NIL\n (:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL\n NIL)\n NIL)\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n (\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n NIL\n (NIL\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL)\n \"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL))))\n NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL\n (NIL NIL NIL\n (:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL)\n \"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL)))))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL\n (NIL NIL NIL NIL)))"
77 },
78 "xtmModel": {
79 "countOrder": [
80 "topics",
81 "names",
82 "variants",
83 "occurrences",
84 "associations",
85 "roles",
86 "reifiedItems"
87 ],
88 "counts": [
89 4,
90 0,
91 0,
92 1,
93 0,
94 0,
95 1
96 ],
97 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL))",
98 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL))\n NIL))\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL)\n \"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL)))\n NIL\n (:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL\n NIL)\n NIL)\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n (\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n NIL\n (NIL\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL)\n \"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL))))\n NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence/map#r\") NIL\n (NIL NIL NIL\n (:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#a\"\n \"urn:anytype:item\")\n (\"urn:anytype:subject\") (\"urn:anytype:resource\"))\n ((\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL NIL)\n \"<p:x xmlns:p=\\\"urn:payload\\\" a=\\\"A\\\">Grüße 水 &amp; B</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL)))))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence/map#s\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence/map#t\") NIL\n (NIL NIL NIL NIL)))"
99 },
100 "nativePropertiesEqual": true,
101 "ctmCanonicalEQ": true,
102 "xtmCanonicalEQ": true,
103 "crossMapEQRequired": false,
104 "ctmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#r</locator>\n</itemIdentifiers>\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<topic number=\"4\">\n<subjectIdentifiers>\n<locator>urn:anytype:subject</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>urn:anytype:resource</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#a</locator>\n<locator>urn:anytype:item</locator>\n</itemIdentifiers>\n<occurrence number=\"1\" reifier=\"1\">\n<value>&lt;p:x xmlns:p=\"urn:payload\" a=\"A\"&gt;Grüße 水 &amp;amp; B&lt;/p:x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n</topicMap>\n",
105 "xtmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#r</locator>\n</itemIdentifiers>\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<topic number=\"4\">\n<subjectIdentifiers>\n<locator>urn:anytype:subject</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>urn:anytype:resource</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#a</locator>\n<locator>urn:anytype:item</locator>\n</itemIdentifiers>\n<occurrence number=\"1\" reifier=\"1\">\n<value>&lt;p:x xmlns:p=\"urn:payload\" a=\"A\"&gt;Grüße 水 &amp;amp; B&lt;/p:x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<type topicref=\"3\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n</occurrence>\n</topic>\n</topicMap>\n",
106 "ctmBytes": 855,
107 "xtmBytes": 855,
108 "firstDifferentByte": null,
109 "byteExact": true,
110 "slice": "22T",
111 "independentExpectedCanonicalValue": "<p:x xmlns:p=\"urn:payload\" a=\"A\">Grüße 水 &amp; B</p:x>",
112 "expectedXTMCanonicalValue": "<p:x xmlns:p=\"urn:payload\" a=\"A\">Grüße 水 &amp; B</p:x>",
113 "expectedDatatype": "http://www.w3.org/2001/XMLSchema#anyType",
114 "expectedNativeCounts": [
115 4,
116 0,
117 0,
118 1,
119 0,
120 0,
121 1
122 ],
123 "normalizationRequired": false,
124 "actualReaderEntries": [
125 {
126 "entryPoint": "topic-maps.ctm:deserialize-string",
127 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
128 "sourceKey": "ctm:anytype-occurrence",
129 "inputHex": "61203C75726E3A616E79747970653A7375626A6563743E2E2061203D3C75726E3A616E79747970653A7265736F757263653E2E2061205E3C75726E3A616E79747970653A6974656D3E2E206120743A223C703A7820786D6C6E733A703D5C2275726E3A7061796C6F61645C2220613D5C22415C223E4772C3BCC39F6520E6B0B42026616D703B20423C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4073207E722E"
130 },
131 {
132 "entryPoint": "topic-maps.xtm:deserialize-octets",
133 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
134 "sourceKey": "xtm:anytype-occurrence",
135 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C7375626A6563744964656E74696669657220687265663D2775726E3A616E79747970653A7375626A656374272F3E3C7375626A6563744C6F6361746F7220687265663D2775726E3A616E79747970653A7265736F75726365272F3E3C6974656D4964656E7469747920687265663D2775726E3A616E79747970653A6974656D272F3E3C6F6363757272656E636520726569666965723D272372273E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272373272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A7061796C6F61642720786D6C6E733A753D2775726E3A756E75736564273E3C703A7820613D27262336353B273E4772C3BCC39F6520E6B0B42026616D703B20423C2F703A783E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C2F746F7069633E3C2F746F7069634D61703E"
136 },
137 {
138 "entryPoint": "topic-maps.ctm:deserialize-string",
139 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
140 "sourceKey": "other:CTM-key",
141 "inputHex": "61203C75726E3A616E79747970653A7375626A6563743E2E2061203D3C75726E3A616E79747970653A7265736F757263653E2E2061205E3C75726E3A616E79747970653A6974656D3E2E206120743A223C703A7820786D6C6E733A703D5C2275726E3A7061796C6F61645C2220613D5C22415C223E4772C3BCC39F6520E6B0B42026616D703B20423C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4073207E722E"
142 },
143 {
144 "entryPoint": "topic-maps.xtm:deserialize-octets",
145 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence/map",
146 "sourceKey": "other:XTM-key",
147 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C7375626A6563744964656E74696669657220687265663D2775726E3A616E79747970653A7375626A656374272F3E3C7375626A6563744C6F6361746F7220687265663D2775726E3A616E79747970653A7265736F75726365272F3E3C6974656D4964656E7469747920687265663D2775726E3A616E79747970653A6974656D272F3E3C6F6363757272656E636520726569666965723D272372273E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272373272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A7061796C6F61642720786D6C6E733A753D2775726E3A756E75736564273E3C703A7820613D27262336353B273E4772C3BCC39F6520E6B0B42026616D703B20423C2F703A783E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C2F746F7069633E3C2F746F7069634D61703E"
148 }
149 ],
150 "nativeConstructorEvidence": [
151 {
152 "entryPoint": "topic-maps.ctm:deserialize-string",
153 "sourceKey": "ctm:anytype-occurrence",
154 "sourceItemCalls": 1,
155 "nativeItemCountsBefore": [
156 0
157 ],
158 "nativeItemCountsAfter": [
159 1
160 ],
161 "allReturnedHandlesCanonicalAndLive": true
162 },
163 {
164 "entryPoint": "topic-maps.xtm:deserialize-octets",
165 "sourceKey": "xtm:anytype-occurrence",
166 "sourceItemCalls": 1,
167 "nativeItemCountsBefore": [
168 0
169 ],
170 "nativeItemCountsAfter": [
171 1
172 ],
173 "allReturnedHandlesCanonicalAndLive": true
174 },
175 {
176 "entryPoint": "topic-maps.ctm:deserialize-string",
177 "sourceKey": "other:CTM-key",
178 "sourceItemCalls": 1,
179 "nativeItemCountsBefore": [
180 0
181 ],
182 "nativeItemCountsAfter": [
183 1
184 ],
185 "allReturnedHandlesCanonicalAndLive": true
186 },
187 {
188 "entryPoint": "topic-maps.xtm:deserialize-octets",
189 "sourceKey": "other:XTM-key",
190 "sourceItemCalls": 1,
191 "nativeItemCountsBefore": [
192 0
193 ],
194 "nativeItemCountsAfter": [
195 1
196 ],
197 "allReturnedHandlesCanonicalAndLive": true
198 }
199 ]
200 },
201 {
202 "id": "anytype-variant",
203 "kind": "direct-reader-equivalence-pair",
204 "normativeReason": "Same explicit Name Type, Name Scope, proper-superset Variant Scope, inherited XML prefix, Name/Variant Reifiers and inverses.",
205 "clauses": [
206 "CTM 3.4.1 [28]-[29],3.10-3.12",
207 "XTM 4.16.2-4.16.3",
208 "TMDM 4.4,5.5-5.6,6.4-6.5"
209 ],
210 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
211 "canonicalBaseIRI": "https://equivalence.example.invalid/anytype-variant/map",
212 "ctmSource": "a - nt:\"N\"@base ~nr (\"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"^^<http://www.w3.org/2001/XMLSchema#anyType>@extra,extra ~vr).",
213 "xtmSource": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><name reifier='#nr'><type><topicRef href='#nt'/></type><scope><topicRef href='#base'/></scope><value>N</value><variant reifier='#vr'><scope><topicRef href='#extra'/><topicRef href='#extra'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType' xmlns:p='urn:variant' xmlns:u='urn:unused'><p:outer><p:leaf b='2' a='1'>V&amp;🦊</p:leaf></p:outer></resourceData></variant></name></topic></topicMap>",
214 "resourceIRI": null,
215 "resourceSource": null,
216 "ctmTrace": {
217 "entryPoint": "topic-maps.ctm:deserialize-string",
218 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
219 "sourceKey": "ctm:anytype-variant",
220 "resolverCalls": [],
221 "qualifiedXMLParserCalls": [],
222 "imports": [],
223 "sourcePreserved": true
224 },
225 "xtmTrace": {
226 "entryPoint": "topic-maps.xtm:deserialize-octets",
227 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
228 "sourceKey": "xtm:anytype-variant",
229 "resolverCalls": [],
230 "qualifiedXMLParserCalls": [
231 {
232 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
233 "sourceKey": "xtm:anytype-variant",
234 "originalRootOctetsEQ": true,
235 "originalResourceOctetsEQ": false,
236 "bytes": 492
237 }
238 ],
239 "imports": [],
240 "sourcePreserved": true
241 },
242 "ctmCondition": null,
243 "xtmCondition": null,
244 "ctmModel": {
245 "countOrder": [
246 "topics",
247 "names",
248 "variants",
249 "occurrences",
250 "associations",
251 "roles",
252 "reifiedItems"
253 ],
254 "counts": [
255 6,
256 1,
257 1,
258 0,
259 0,
260 0,
261 2
262 ],
263 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL NIL))",
264 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL NIL))\n NIL))\n ((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL) \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n NIL\n (:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL\n NIL)\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n \"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)))))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL\n (((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL))))\n NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL\n (NIL NIL NIL\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL\n (NIL NIL NIL\n (:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n \"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)))))\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n \"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)))\n NIL\n (:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL\n NIL)\n NIL))"
265 },
266 "xtmModel": {
267 "countOrder": [
268 "topics",
269 "names",
270 "variants",
271 "occurrences",
272 "associations",
273 "roles",
274 "reifiedItems"
275 ],
276 "counts": [
277 6,
278 1,
279 1,
280 0,
281 0,
282 0,
283 2
284 ],
285 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL NIL))",
286 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL NIL))\n NIL))\n ((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL) \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n NIL\n (:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL\n NIL)\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n \"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)))))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL\n (((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL))))\n NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#nr\") NIL\n (NIL NIL NIL\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL\n (NIL NIL NIL NIL))\n ((:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL\n (NIL NIL NIL\n (:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n \"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)))))\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant/map#a\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#nt\") NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL\n NIL)))\n \"<p:outer xmlns:p=\\\"urn:variant\\\"><p:leaf a=\\\"1\\\" b=\\\"2\\\">V&amp;🦊</p:leaf></p:outer>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant/map#base\") NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant/map#extra\") NIL\n NIL)))\n NIL\n (:TOPIC (\"https://equivalence.example.invalid/anytype-variant/map#vr\") NIL\n NIL)\n NIL))"
287 },
288 "nativePropertiesEqual": true,
289 "ctmCanonicalEQ": true,
290 "xtmCanonicalEQ": true,
291 "crossMapEQRequired": false,
292 "ctmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<name number=\"1\" reifier=\"4\">\n<value>N</value>\n<type topicref=\"5\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n<variant number=\"1\" reifier=\"6\">\n<value>&lt;p:outer xmlns:p=\"urn:variant\"&gt;&lt;p:leaf a=\"1\" b=\"2\"&gt;V&amp;amp;🦊&lt;/p:leaf&gt;&lt;/p:outer&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</variant>\n</name>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#base</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#extra</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"4\">\n<itemIdentifiers>\n<locator>#nr</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"5\">\n<itemIdentifiers>\n<locator>#nt</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"6\">\n<itemIdentifiers>\n<locator>#vr</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
293 "xtmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<name number=\"1\" reifier=\"4\">\n<value>N</value>\n<type topicref=\"5\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n<variant number=\"1\" reifier=\"6\">\n<value>&lt;p:outer xmlns:p=\"urn:variant\"&gt;&lt;p:leaf a=\"1\" b=\"2\"&gt;V&amp;amp;🦊&lt;/p:leaf&gt;&lt;/p:outer&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</variant>\n</name>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#base</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#extra</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"4\">\n<itemIdentifiers>\n<locator>#nr</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"5\">\n<itemIdentifiers>\n<locator>#nt</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"6\">\n<itemIdentifiers>\n<locator>#vr</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
294 "ctmBytes": 1030,
295 "xtmBytes": 1030,
296 "firstDifferentByte": null,
297 "byteExact": true,
298 "slice": "22T",
299 "independentExpectedCanonicalValue": "<p:outer xmlns:p=\"urn:variant\"><p:leaf a=\"1\" b=\"2\">V&amp;🦊</p:leaf></p:outer>",
300 "expectedXTMCanonicalValue": "<p:outer xmlns:p=\"urn:variant\"><p:leaf a=\"1\" b=\"2\">V&amp;🦊</p:leaf></p:outer>",
301 "expectedDatatype": "http://www.w3.org/2001/XMLSchema#anyType",
302 "expectedNativeCounts": [
303 6,
304 1,
305 1,
306 0,
307 0,
308 0,
309 2
310 ],
311 "normalizationRequired": false,
312 "actualReaderEntries": [
313 {
314 "entryPoint": "topic-maps.ctm:deserialize-string",
315 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
316 "sourceKey": "ctm:anytype-variant",
317 "inputHex": "61202D206E743A224E224062617365207E6E722028223C703A6F7574657220786D6C6E733A703D5C2275726E3A76617269616E745C223E3C703A6C65616620613D5C22315C2220623D5C22325C223E5626616D703BF09FA68A3C2F703A6C6561663E3C2F703A6F757465723E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4065787472612C6578747261207E7672292E"
318 },
319 {
320 "entryPoint": "topic-maps.xtm:deserialize-octets",
321 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
322 "sourceKey": "xtm:anytype-variant",
323 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6E616D6520726569666965723D27236E72273E3C747970653E3C746F70696352656620687265663D27236E74272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272362617365272F3E3C2F73636F70653E3C76616C75653E4E3C2F76616C75653E3C76617269616E7420726569666965723D27237672273E3C73636F70653E3C746F70696352656620687265663D27236578747261272F3E3C746F70696352656620687265663D27236578747261272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A76617269616E742720786D6C6E733A753D2775726E3A756E75736564273E3C703A6F757465723E3C703A6C65616620623D27322720613D2731273E5626616D703BF09FA68A3C2F703A6C6561663E3C2F703A6F757465723E3C2F7265736F75726365446174613E3C2F76617269616E743E3C2F6E616D653E3C2F746F7069633E3C2F746F7069634D61703E"
324 },
325 {
326 "entryPoint": "topic-maps.ctm:deserialize-string",
327 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
328 "sourceKey": "other:CTM-key",
329 "inputHex": "61202D206E743A224E224062617365207E6E722028223C703A6F7574657220786D6C6E733A703D5C2275726E3A76617269616E745C223E3C703A6C65616620613D5C22315C2220623D5C22325C223E5626616D703BF09FA68A3C2F703A6C6561663E3C2F703A6F757465723E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4065787472612C6578747261207E7672292E"
330 },
331 {
332 "entryPoint": "topic-maps.xtm:deserialize-octets",
333 "documentIRI": "https://equivalence.example.invalid/anytype-variant/map",
334 "sourceKey": "other:XTM-key",
335 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6E616D6520726569666965723D27236E72273E3C747970653E3C746F70696352656620687265663D27236E74272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272362617365272F3E3C2F73636F70653E3C76616C75653E4E3C2F76616C75653E3C76617269616E7420726569666965723D27237672273E3C73636F70653E3C746F70696352656620687265663D27236578747261272F3E3C746F70696352656620687265663D27236578747261272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A76617269616E742720786D6C6E733A753D2775726E3A756E75736564273E3C703A6F757465723E3C703A6C65616620623D27322720613D2731273E5626616D703BF09FA68A3C2F703A6C6561663E3C2F703A6F757465723E3C2F7265736F75726365446174613E3C2F76617269616E743E3C2F6E616D653E3C2F746F7069633E3C2F746F7069634D61703E"
336 }
337 ],
338 "nativeConstructorEvidence": [
339 {
340 "entryPoint": "topic-maps.ctm:deserialize-string",
341 "sourceKey": "ctm:anytype-variant",
342 "sourceItemCalls": 1,
343 "nativeItemCountsBefore": [
344 0
345 ],
346 "nativeItemCountsAfter": [
347 1
348 ],
349 "allReturnedHandlesCanonicalAndLive": true
350 },
351 {
352 "entryPoint": "topic-maps.xtm:deserialize-octets",
353 "sourceKey": "xtm:anytype-variant",
354 "sourceItemCalls": 1,
355 "nativeItemCountsBefore": [
356 0
357 ],
358 "nativeItemCountsAfter": [
359 1
360 ],
361 "allReturnedHandlesCanonicalAndLive": true
362 },
363 {
364 "entryPoint": "topic-maps.ctm:deserialize-string",
365 "sourceKey": "other:CTM-key",
366 "sourceItemCalls": 1,
367 "nativeItemCountsBefore": [
368 0
369 ],
370 "nativeItemCountsAfter": [
371 1
372 ],
373 "allReturnedHandlesCanonicalAndLive": true
374 },
375 {
376 "entryPoint": "topic-maps.xtm:deserialize-octets",
377 "sourceKey": "other:XTM-key",
378 "sourceItemCalls": 1,
379 "nativeItemCountsBefore": [
380 0
381 ],
382 "nativeItemCountsAfter": [
383 1
384 ],
385 "allReturnedHandlesCanonicalAndLive": true
386 }
387 ]
388 },
389 {
390 "id": "anytype-occurrence-normalization",
391 "kind": "direct-reader-equivalence-pair",
392 "normativeReason": "Two source occurrences in each notation have the same Parent/Type/Scope/value/datatype and normalize to one canonical Occurrence; XML attribute order, references, CDATA and empty-tag spelling differ.",
393 "clauses": [
394 "CTM 3.4.1 [28]-[29],3.10-3.12",
395 "XTM 4.16.2-4.16.3",
396 "TMDM 4.4,5.5-5.6,6.4-6.5"
397 ],
398 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
399 "canonicalBaseIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
400 "ctmSource": "a t:\"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"^^<http://www.w3.org/2001/XMLSchema#anyType>@s ~r; t:\"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"^^<http://www.w3.org/2001/XMLSchema#anyType>@s ~r.",
401 "xtmSource": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><occurrence reifier='#r'><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'><x xmlns='' b='2' a='&#65;'><y/><![CDATA[a&b]]></x></resourceData></occurrence><occurrence reifier='#r'><type><topicRef href='#t'/></type><scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'><x xmlns='' a='A' b='2'><y></y>a&amp;b</x></resourceData></occurrence></topic></topicMap>",
402 "resourceIRI": null,
403 "resourceSource": null,
404 "ctmTrace": {
405 "entryPoint": "topic-maps.ctm:deserialize-string",
406 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
407 "sourceKey": "ctm:anytype-occurrence-normalization",
408 "resolverCalls": [],
409 "qualifiedXMLParserCalls": [],
410 "imports": [],
411 "sourcePreserved": true
412 },
413 "xtmTrace": {
414 "entryPoint": "topic-maps.xtm:deserialize-octets",
415 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
416 "sourceKey": "xtm:anytype-occurrence-normalization",
417 "resolverCalls": [],
418 "qualifiedXMLParserCalls": [
419 {
420 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
421 "sourceKey": "xtm:anytype-occurrence-normalization",
422 "originalRootOctetsEQ": true,
423 "originalResourceOctetsEQ": false,
424 "bytes": 566
425 }
426 ],
427 "imports": [],
428 "sourcePreserved": true
429 },
430 "ctmCondition": null,
431 "xtmCondition": null,
432 "ctmModel": {
433 "countOrder": [
434 "topics",
435 "names",
436 "variants",
437 "occurrences",
438 "associations",
439 "roles",
440 "reifiedItems"
441 ],
442 "counts": [
443 4,
444 0,
445 0,
446 1,
447 0,
448 0,
449 1
450 ],
451 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL))",
452 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL))\n NIL))\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n \"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)))\n NIL\n (:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n NIL)\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL\n (NIL\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n \"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL))))\n NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL\n (NIL NIL NIL\n (:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n \"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)))))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL (NIL NIL NIL NIL)))"
453 },
454 "xtmModel": {
455 "countOrder": [
456 "topics",
457 "names",
458 "variants",
459 "occurrences",
460 "associations",
461 "roles",
462 "reifiedItems"
463 ],
464 "counts": [
465 4,
466 0,
467 0,
468 1,
469 0,
470 0,
471 1
472 ],
473 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL))",
474 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL))\n NIL))\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n \"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)))\n NIL\n (:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n NIL)\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL\n (NIL\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n \"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL))))\n NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#r\")\n NIL\n (NIL NIL NIL\n (:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n \"<x a=\\\"A\\\" b=\\\"2\\\"><y></y>a&amp;b</x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)))))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#s\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-occurrence-normalization/map#t\")\n NIL (NIL NIL NIL NIL)))"
475 },
476 "nativePropertiesEqual": true,
477 "ctmCanonicalEQ": true,
478 "xtmCanonicalEQ": true,
479 "crossMapEQRequired": false,
480 "ctmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\" reifier=\"2\">\n<value>&lt;x a=\"A\" b=\"2\"&gt;&lt;y&gt;&lt;/y&gt;a&amp;amp;b&lt;/x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</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>#r</locator>\n</itemIdentifiers>\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</topicMap>\n",
481 "xtmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\" reifier=\"2\">\n<value>&lt;x a=\"A\" b=\"2\"&gt;&lt;y&gt;&lt;/y&gt;a&amp;amp;b&lt;/x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</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>#r</locator>\n</itemIdentifiers>\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</topicMap>\n",
482 "ctmBytes": 647,
483 "xtmBytes": 647,
484 "firstDifferentByte": null,
485 "byteExact": true,
486 "slice": "22T",
487 "independentExpectedCanonicalValue": "<x a=\"A\" b=\"2\"><y></y>a&amp;b</x>",
488 "expectedXTMCanonicalValue": "<x a=\"A\" b=\"2\"><y></y>a&amp;b</x>",
489 "expectedDatatype": "http://www.w3.org/2001/XMLSchema#anyType",
490 "expectedNativeCounts": [
491 4,
492 0,
493 0,
494 1,
495 0,
496 0,
497 1
498 ],
499 "normalizationRequired": true,
500 "actualReaderEntries": [
501 {
502 "entryPoint": "topic-maps.ctm:deserialize-string",
503 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
504 "sourceKey": "ctm:anytype-occurrence-normalization",
505 "inputHex": "6120743A223C7820613D5C22415C2220623D5C22325C223E3C793E3C2F793E6126616D703B623C2F783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4073207E723B20743A223C7820613D5C22415C2220623D5C22325C223E3C793E3C2F793E6126616D703B623C2F783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4073207E722E"
506 },
507 {
508 "entryPoint": "topic-maps.xtm:deserialize-octets",
509 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
510 "sourceKey": "xtm:anytype-occurrence-normalization",
511 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6F6363757272656E636520726569666965723D272372273E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272373272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E7954797065273E3C7820786D6C6E733D272720623D27322720613D27262336353B273E3C792F3E3C215B43444154415B6126625D5D3E3C2F783E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C6F6363757272656E636520726569666965723D272372273E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272373272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E7954797065273E3C7820786D6C6E733D272720613D27412720623D2732273E3C793E3C2F793E6126616D703B623C2F783E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C2F746F7069633E3C2F746F7069634D61703E"
512 },
513 {
514 "entryPoint": "topic-maps.ctm:deserialize-string",
515 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
516 "sourceKey": "other:CTM-key",
517 "inputHex": "6120743A223C7820613D5C22415C2220623D5C22325C223E3C793E3C2F793E6126616D703B623C2F783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4073207E723B20743A223C7820613D5C22415C2220623D5C22325C223E3C793E3C2F793E6126616D703B623C2F783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E4073207E722E"
518 },
519 {
520 "entryPoint": "topic-maps.xtm:deserialize-octets",
521 "documentIRI": "https://equivalence.example.invalid/anytype-occurrence-normalization/map",
522 "sourceKey": "other:XTM-key",
523 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6F6363757272656E636520726569666965723D272372273E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272373272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E7954797065273E3C7820786D6C6E733D272720623D27322720613D27262336353B273E3C792F3E3C215B43444154415B6126625D5D3E3C2F783E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C6F6363757272656E636520726569666965723D272372273E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272373272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E7954797065273E3C7820786D6C6E733D272720613D27412720623D2732273E3C793E3C2F793E6126616D703B623C2F783E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C2F746F7069633E3C2F746F7069634D61703E"
524 }
525 ],
526 "nativeConstructorEvidence": [
527 {
528 "entryPoint": "topic-maps.ctm:deserialize-string",
529 "sourceKey": "ctm:anytype-occurrence-normalization",
530 "sourceItemCalls": 2,
531 "nativeItemCountsBefore": [
532 0,
533 1
534 ],
535 "nativeItemCountsAfter": [
536 1,
537 1
538 ],
539 "allReturnedHandlesCanonicalAndLive": true
540 },
541 {
542 "entryPoint": "topic-maps.xtm:deserialize-octets",
543 "sourceKey": "xtm:anytype-occurrence-normalization",
544 "sourceItemCalls": 2,
545 "nativeItemCountsBefore": [
546 0,
547 1
548 ],
549 "nativeItemCountsAfter": [
550 1,
551 1
552 ],
553 "allReturnedHandlesCanonicalAndLive": true
554 },
555 {
556 "entryPoint": "topic-maps.ctm:deserialize-string",
557 "sourceKey": "other:CTM-key",
558 "sourceItemCalls": 2,
559 "nativeItemCountsBefore": [
560 0,
561 1
562 ],
563 "nativeItemCountsAfter": [
564 1,
565 1
566 ],
567 "allReturnedHandlesCanonicalAndLive": true
568 },
569 {
570 "entryPoint": "topic-maps.xtm:deserialize-octets",
571 "sourceKey": "other:XTM-key",
572 "sourceItemCalls": 2,
573 "nativeItemCountsBefore": [
574 0,
575 1
576 ],
577 "nativeItemCountsAfter": [
578 1,
579 1
580 ],
581 "allReturnedHandlesCanonicalAndLive": true
582 }
583 ]
584 },
585 {
586 "id": "anytype-variant-normalization",
587 "kind": "direct-reader-equivalence-pair",
588 "normativeReason": "Two source Variants with equal canonical XML values retain the same Parent Name, inherited/explicit Scope and Reifier and normalize through the existing TMDM constructor.",
589 "clauses": [
590 "CTM 3.4.1 [28]-[29],3.10-3.12",
591 "XTM 4.16.2-4.16.3",
592 "TMDM 4.4,5.5-5.6,6.4-6.5"
593 ],
594 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
595 "canonicalBaseIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
596 "ctmSource": "a - nt:\"N\"@base ~nr (\"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"^^<http://www.w3.org/2001/XMLSchema#anyType>@extra ~vr) (\"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"^^<http://www.w3.org/2001/XMLSchema#anyType>@extra ~vr).",
597 "xtmSource": "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><name reifier='#nr'><type><topicRef href='#nt'/></type><scope><topicRef href='#base'/></scope><value>N</value><variant reifier='#vr'><scope><topicRef href='#extra'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType' xmlns:p='urn:variant'><p:x b='2' a='&#65;'><![CDATA[V&🦊]]></p:x></resourceData></variant><variant reifier='#vr'><scope><topicRef href='#extra'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType' xmlns:p='urn:variant'><p:x a='A' b='2'>V&amp;🦊</p:x></resourceData></variant></name></topic></topicMap>",
598 "resourceIRI": null,
599 "resourceSource": null,
600 "ctmTrace": {
601 "entryPoint": "topic-maps.ctm:deserialize-string",
602 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
603 "sourceKey": "ctm:anytype-variant-normalization",
604 "resolverCalls": [],
605 "qualifiedXMLParserCalls": [],
606 "imports": [],
607 "sourcePreserved": true
608 },
609 "xtmTrace": {
610 "entryPoint": "topic-maps.xtm:deserialize-octets",
611 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
612 "sourceKey": "xtm:anytype-variant-normalization",
613 "resolverCalls": [],
614 "qualifiedXMLParserCalls": [
615 {
616 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
617 "sourceKey": "xtm:anytype-variant-normalization",
618 "originalRootOctetsEQ": true,
619 "originalResourceOctetsEQ": false,
620 "bytes": 642
621 }
622 ],
623 "imports": [],
624 "sourcePreserved": true
625 },
626 "ctmCondition": null,
627 "xtmCondition": null,
628 "ctmModel": {
629 "countOrder": [
630 "topics",
631 "names",
632 "variants",
633 "occurrences",
634 "associations",
635 "roles",
636 "reifiedItems"
637 ],
638 "counts": [
639 6,
640 1,
641 1,
642 0,
643 0,
644 0,
645 2
646 ],
647 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL))",
648 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL))\n NIL))\n ((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n NIL\n (:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n \"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)))))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL\n (((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL))))\n NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL\n (NIL NIL NIL\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL\n (NIL NIL NIL\n (:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n \"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)))))\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n \"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)))\n NIL\n (:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL)\n NIL))"
649 },
650 "xtmModel": {
651 "countOrder": [
652 "topics",
653 "names",
654 "variants",
655 "occurrences",
656 "associations",
657 "roles",
658 "reifiedItems"
659 ],
660 "counts": [
661 6,
662 1,
663 1,
664 0,
665 0,
666 0,
667 2
668 ],
669 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL))",
670 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL))\n NIL))\n ((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n NIL\n (:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n \"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)))))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL\n (((:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL))))\n NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nr\")\n NIL\n (NIL NIL NIL\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL (NIL NIL NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL)\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL\n (NIL NIL NIL\n (:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n \"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)))))\n ((:VARIANT\n (:NAME\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#nt\")\n NIL NIL)\n \"N\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)))\n \"<p:x xmlns:p=\\\"urn:variant\\\" a=\\\"A\\\" b=\\\"2\\\">V&amp;🦊</p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\"\n (((\"https://equivalence.example.invalid/anytype-variant-normalization/map#base\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-variant-normalization/map#extra\")\n NIL NIL)))\n NIL\n (:TOPIC\n (\"https://equivalence.example.invalid/anytype-variant-normalization/map#vr\")\n NIL NIL)\n NIL))"
671 },
672 "nativePropertiesEqual": true,
673 "ctmCanonicalEQ": true,
674 "xtmCanonicalEQ": true,
675 "crossMapEQRequired": false,
676 "ctmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<name number=\"1\" reifier=\"4\">\n<value>N</value>\n<type topicref=\"5\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n<variant number=\"1\" reifier=\"6\">\n<value>&lt;p:x xmlns:p=\"urn:variant\" a=\"A\" b=\"2\"&gt;V&amp;amp;🦊&lt;/p:x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</variant>\n</name>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#base</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#extra</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"4\">\n<itemIdentifiers>\n<locator>#nr</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"5\">\n<itemIdentifiers>\n<locator>#nt</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"6\">\n<itemIdentifiers>\n<locator>#vr</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
677 "xtmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<name number=\"1\" reifier=\"4\">\n<value>N</value>\n<type topicref=\"5\"></type>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n</scope>\n<variant number=\"1\" reifier=\"6\">\n<value>&lt;p:x xmlns:p=\"urn:variant\" a=\"A\" b=\"2\"&gt;V&amp;amp;🦊&lt;/p:x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<scope>\n<scopingTopic topicref=\"2\"></scopingTopic>\n<scopingTopic topicref=\"3\"></scopingTopic>\n</scope>\n</variant>\n</name>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#base</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"3\">\n<itemIdentifiers>\n<locator>#extra</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"4\">\n<itemIdentifiers>\n<locator>#nr</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"5\">\n<itemIdentifiers>\n<locator>#nt</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"6\">\n<itemIdentifiers>\n<locator>#vr</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
678 "ctmBytes": 993,
679 "xtmBytes": 993,
680 "firstDifferentByte": null,
681 "byteExact": true,
682 "slice": "22T",
683 "independentExpectedCanonicalValue": "<p:x xmlns:p=\"urn:variant\" a=\"A\" b=\"2\">V&amp;🦊</p:x>",
684 "expectedXTMCanonicalValue": "<p:x xmlns:p=\"urn:variant\" a=\"A\" b=\"2\">V&amp;🦊</p:x>",
685 "expectedDatatype": "http://www.w3.org/2001/XMLSchema#anyType",
686 "expectedNativeCounts": [
687 6,
688 1,
689 1,
690 0,
691 0,
692 0,
693 2
694 ],
695 "normalizationRequired": true,
696 "actualReaderEntries": [
697 {
698 "entryPoint": "topic-maps.ctm:deserialize-string",
699 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
700 "sourceKey": "ctm:anytype-variant-normalization",
701 "inputHex": "61202D206E743A224E224062617365207E6E722028223C703A7820786D6C6E733A703D5C2275726E3A76617269616E745C2220613D5C22415C2220623D5C22325C223E5626616D703BF09FA68A3C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E406578747261207E7672292028223C703A7820786D6C6E733A703D5C2275726E3A76617269616E745C2220613D5C22415C2220623D5C22325C223E5626616D703BF09FA68A3C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E406578747261207E7672292E"
702 },
703 {
704 "entryPoint": "topic-maps.xtm:deserialize-octets",
705 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
706 "sourceKey": "xtm:anytype-variant-normalization",
707 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6E616D6520726569666965723D27236E72273E3C747970653E3C746F70696352656620687265663D27236E74272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272362617365272F3E3C2F73636F70653E3C76616C75653E4E3C2F76616C75653E3C76617269616E7420726569666965723D27237672273E3C73636F70653E3C746F70696352656620687265663D27236578747261272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A76617269616E74273E3C703A7820623D27322720613D27262336353B273E3C215B43444154415B5626F09FA68A5D5D3E3C2F703A783E3C2F7265736F75726365446174613E3C2F76617269616E743E3C76617269616E7420726569666965723D27237672273E3C73636F70653E3C746F70696352656620687265663D27236578747261272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A76617269616E74273E3C703A7820613D27412720623D2732273E5626616D703BF09FA68A3C2F703A783E3C2F7265736F75726365446174613E3C2F76617269616E743E3C2F6E616D653E3C2F746F7069633E3C2F746F7069634D61703E"
708 },
709 {
710 "entryPoint": "topic-maps.ctm:deserialize-string",
711 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
712 "sourceKey": "other:CTM-key",
713 "inputHex": "61202D206E743A224E224062617365207E6E722028223C703A7820786D6C6E733A703D5C2275726E3A76617269616E745C2220613D5C22415C2220623D5C22325C223E5626616D703BF09FA68A3C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E406578747261207E7672292028223C703A7820786D6C6E733A703D5C2275726E3A76617269616E745C2220613D5C22415C2220623D5C22325C223E5626616D703BF09FA68A3C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E406578747261207E7672292E"
714 },
715 {
716 "entryPoint": "topic-maps.xtm:deserialize-octets",
717 "documentIRI": "https://equivalence.example.invalid/anytype-variant-normalization/map",
718 "sourceKey": "other:XTM-key",
719 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6E616D6520726569666965723D27236E72273E3C747970653E3C746F70696352656620687265663D27236E74272F3E3C2F747970653E3C73636F70653E3C746F70696352656620687265663D272362617365272F3E3C2F73636F70653E3C76616C75653E4E3C2F76616C75653E3C76617269616E7420726569666965723D27237672273E3C73636F70653E3C746F70696352656620687265663D27236578747261272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A76617269616E74273E3C703A7820623D27322720613D27262336353B273E3C215B43444154415B5626F09FA68A5D5D3E3C2F703A783E3C2F7265736F75726365446174613E3C2F76617269616E743E3C76617269616E7420726569666965723D27237672273E3C73636F70653E3C746F70696352656620687265663D27236578747261272F3E3C2F73636F70653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A76617269616E74273E3C703A7820613D27412720623D2732273E5626616D703BF09FA68A3C2F703A783E3C2F7265736F75726365446174613E3C2F76617269616E743E3C2F6E616D653E3C2F746F7069633E3C2F746F7069634D61703E"
720 }
721 ],
722 "nativeConstructorEvidence": [
723 {
724 "entryPoint": "topic-maps.ctm:deserialize-string",
725 "sourceKey": "ctm:anytype-variant-normalization",
726 "sourceItemCalls": 2,
727 "nativeItemCountsBefore": [
728 0,
729 1
730 ],
731 "nativeItemCountsAfter": [
732 1,
733 1
734 ],
735 "allReturnedHandlesCanonicalAndLive": true
736 },
737 {
738 "entryPoint": "topic-maps.xtm:deserialize-octets",
739 "sourceKey": "xtm:anytype-variant-normalization",
740 "sourceItemCalls": 2,
741 "nativeItemCountsBefore": [
742 0,
743 1
744 ],
745 "nativeItemCountsAfter": [
746 1,
747 1
748 ],
749 "allReturnedHandlesCanonicalAndLive": true
750 },
751 {
752 "entryPoint": "topic-maps.ctm:deserialize-string",
753 "sourceKey": "other:CTM-key",
754 "sourceItemCalls": 2,
755 "nativeItemCountsBefore": [
756 0,
757 1
758 ],
759 "nativeItemCountsAfter": [
760 1,
761 1
762 ],
763 "allReturnedHandlesCanonicalAndLive": true
764 },
765 {
766 "entryPoint": "topic-maps.xtm:deserialize-octets",
767 "sourceKey": "other:XTM-key",
768 "sourceItemCalls": 2,
769 "nativeItemCountsBefore": [
770 0,
771 1
772 ],
773 "nativeItemCountsAfter": [
774 1,
775 1
776 ],
777 "allReturnedHandlesCanonicalAndLive": true
778 }
779 ]
780 },
781 {
782 "id": "anytype-namespace-meaning",
783 "kind": "intentional-semantic-difference",
784 "reason": "Same prefix/local name but different namespace URI produces different canonical XML values. All other native properties are held equal; neither is rewritten.",
785 "ctmSource": "a t:\"<p:x xmlns:p=\\\"urn:left\\\"></p:x>\"^^<http://www.w3.org/2001/XMLSchema#anyType>.",
786 "xtmSource": "<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' xmlns:p='urn:right'><p:x/></resourceData></occurrence></topic></topicMap>",
787 "ctmDocumentIRI": "https://equivalence.example.invalid/anytype-namespace-meaning/map",
788 "xtmDocumentIRI": "https://equivalence.example.invalid/anytype-namespace-meaning/map",
789 "canonicalBaseIRI": "https://equivalence.example.invalid/anytype-namespace-meaning/map",
790 "ctmModel": {
791 "countOrder": [
792 "topics",
793 "names",
794 "variants",
795 "occurrences",
796 "associations",
797 "roles",
798 "reifiedItems"
799 ],
800 "counts": [
801 2,
802 0,
803 0,
804 1,
805 0,
806 0,
807 0
808 ],
809 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n NIL))",
810 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\")\n NIL NIL))\n NIL))\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n NIL)\n \"<p:x xmlns:p=\\\"urn:left\\\"></p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\" NIL)\n NIL NIL NIL)\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n (NIL\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\")\n NIL NIL)\n \"<p:x xmlns:p=\\\"urn:left\\\"></p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\" NIL))\n NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n (NIL NIL NIL NIL)))"
811 },
812 "xtmModel": {
813 "countOrder": [
814 "topics",
815 "names",
816 "variants",
817 "occurrences",
818 "associations",
819 "roles",
820 "reifiedItems"
821 ],
822 "counts": [
823 2,
824 0,
825 0,
826 1,
827 0,
828 0,
829 0
830 ],
831 "topicIdentities": "(((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n NIL))",
832 "completeNativePropertyTuples": "(((:MAP) NIL NIL\n ((((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\")\n NIL NIL))\n NIL))\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n NIL)\n \"<p:x xmlns:p=\\\"urn:right\\\"></p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\" NIL)\n NIL NIL NIL)\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\") NIL\n (NIL\n ((:OCCURRENCE\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#a\")\n NIL NIL)\n ((\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\")\n NIL NIL)\n \"<p:x xmlns:p=\\\"urn:right\\\"></p:x>\"\n \"http://www.w3.org/2001/XMLSchema#anyType\" NIL))\n NIL NIL))\n ((:TOPIC\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n NIL)\n (\"https://equivalence.example.invalid/anytype-namespace-meaning/map#t\") NIL\n (NIL NIL NIL NIL)))"
833 },
834 "ctmBytes": 382,
835 "xtmBytes": 383,
836 "ctmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>&lt;p:x xmlns:p=\"urn:left\"&gt;&lt;/p:x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<type topicref=\"2\"></type>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
837 "xtmCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#a</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>&lt;p:x xmlns:p=\"urn:right\"&gt;&lt;/p:x&gt;</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyType</datatype>\n<type topicref=\"2\"></type>\n</occurrence>\n</topic>\n<topic number=\"2\">\n<itemIdentifiers>\n<locator>#t</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
838 "firstDifferentByte": 141,
839 "nativePropertiesEqual": false,
840 "byteExact": false,
841 "slice": "22T",
842 "independentExpectedCanonicalValue": "<p:x xmlns:p=\"urn:left\"></p:x>",
843 "expectedXTMCanonicalValue": "<p:x xmlns:p=\"urn:right\"></p:x>",
844 "expectedDatatype": "http://www.w3.org/2001/XMLSchema#anyType",
845 "expectedNativeCounts": [
846 2,
847 0,
848 0,
849 1,
850 0,
851 0,
852 0
853 ],
854 "normalizationRequired": false,
855 "actualReaderEntries": [
856 {
857 "entryPoint": "topic-maps.ctm:deserialize-string",
858 "documentIRI": "https://equivalence.example.invalid/anytype-namespace-meaning/map",
859 "sourceKey": "contrast:CTM",
860 "inputHex": "6120743A223C703A7820786D6C6E733A703D5C2275726E3A6C6566745C223E3C2F703A783E225E5E3C687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970653E2E"
861 },
862 {
863 "entryPoint": "topic-maps.xtm:deserialize-octets",
864 "documentIRI": "https://equivalence.example.invalid/anytype-namespace-meaning/map",
865 "sourceKey": "contrast:XTM",
866 "inputHex": "3C746F7069634D617020786D6C6E733D27687474703A2F2F7777772E746F7069636D6170732E6F72672F78746D2F272076657273696F6E3D27322E30273E3C746F7069632069643D2761273E3C6F6363757272656E63653E3C747970653E3C746F70696352656620687265663D272374272F3E3C2F747970653E3C7265736F75726365446174612064617461747970653D27687474703A2F2F7777772E77332E6F72672F323030312F584D4C536368656D6123616E79547970652720786D6C6E733A703D2775726E3A7269676874273E3C703A782F3E3C2F7265736F75726365446174613E3C2F6F6363757272656E63653E3C2F746F7069633E3C2F746F7069634D61703E"
867 }
868 ],
869 "nativeConstructorEvidence": [
870 {
871 "entryPoint": "topic-maps.ctm:deserialize-string",
872 "sourceKey": "contrast:CTM",
873 "sourceItemCalls": 1,
874 "nativeItemCountsBefore": [
875 0
876 ],
877 "nativeItemCountsAfter": [
878 1
879 ],
880 "allReturnedHandlesCanonicalAndLive": true
881 },
882 {
883 "entryPoint": "topic-maps.xtm:deserialize-octets",
884 "sourceKey": "contrast:XTM",
885 "sourceItemCalls": 1,
886 "nativeItemCountsBefore": [
887 0
888 ],
889 "nativeItemCountsAfter": [
890 1
891 ],
892 "allReturnedHandlesCanonicalAndLive": true
893 }
894 ]
895 }
896 ]
897 }