1 {"kind":"read-only-original-observations-no-registration","caseStatesUnchanged":true,"cases":[{"id":"ctm/in/include-template.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm","sourceKey":"ctm/in/include-template.ctm","sourceBytes":48,"sourceHex":"25696E636C756465203C696E636C7564652D74656D706C6174652E7375623E0A0A74656D706C61746528746F70696329","sourceText":"%include <include-template.sub>\u000A\u000Atemplate(topic)","condition":null,"model":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm#topic"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[{"value":"Test","datatype":"http://www.w3.org/2001/XMLSchema#string","parent":1,"type":2,"scope":[]}]},{"ordinal":2,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm#occtype"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[]}]},"finalCounter":0,"requests":[{"resourceIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.sub","purpose":"INCLUDE","fromDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm","notation":null,"sourceKey":"ctm/in/include-template.sub"}],"environments":[{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.sub","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm","initialCounter":0,"finalCounter":0,"templateCount":1,"model":{"topicCount":0,"associationCount":0,"topics":[]}},{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm","initialCounter":0,"finalCounter":0,"templateCount":1,"model":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm#topic"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[{"value":"Test","datatype":"http://www.w3.org/2001/XMLSchema#string","parent":1,"type":2,"scope":[]}]},{"ordinal":2,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm#occtype"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[]}]}}],"aliasTransfers":[{"childDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.sub","parentDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-template.ctm","before":{"topicCount":0,"associationCount":0,"topics":[]},"after":{"topicCount":0,"associationCount":0,"topics":[]}}],"actualCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#occtype</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A</itemIdentifiers>\u000A<occurrence number=\"1\">\u000A<value>Test</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\u000A<type topicref=\"1\"></type>\u000A</occurrence>\u000A</topic>\u000A</topicMap>\u000A","actualBytes":353,"expectedBytes":401,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A</itemIdentifiers>\u000A<occurrence number=\"1\">\u000A<value>Test</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#string</datatype>\u000A<type topicref=\"2\"></type>\u000A</occurrence>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#occtype</locator>\u000A<locator>include-template.sub#occtype</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":58,"byteExact":false,"canonicalizationPreservesMap":true,"referencesCurrent":true},{"id":"ctm/in/include-wildcard2.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm","sourceKey":"ctm/in/include-wildcard2.ctm","sourceBytes":50,"sourceHex":"25696E636C756465203C696E636C7564652D77696C6463617264322E7375623E0A0A3F666F6F202D20224D6173746572222E","sourceText":"%include <include-wildcard2.sub>\u000A\u000A?foo - \"Master\".","condition":null,"model":{"topicCount":4,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__1.foo","https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__2.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":4,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__3.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Master","parent":4,"type":2,"scope":[],"variantCount":0}],"occurrences":[]}]},"finalCounter":3,"requests":[{"resourceIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub","purpose":"INCLUDE","fromDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm","notation":null,"sourceKey":"ctm/in/include-wildcard2.sub"},{"resourceIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub2","purpose":"INCLUDE","fromDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub","notation":null,"sourceKey":"ctm/in/include-wildcard2.sub2"}],"environments":[{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub2","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub","initialCounter":0,"finalCounter":1,"templateCount":0,"model":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]}]}},{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm","initialCounter":0,"finalCounter":2,"templateCount":0,"model":{"topicCount":3,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__2.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[]}]}},{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm","initialCounter":0,"finalCounter":3,"templateCount":0,"model":{"topicCount":4,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__1.foo","https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__2.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":4,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__3.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Master","parent":4,"type":2,"scope":[],"variantCount":0}],"occurrences":[]}]}}],"aliasTransfers":[{"childDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub2","parentDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub","before":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]}]},"after":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]}]}},{"childDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub","parentDocumentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm","before":{"topicCount":3,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__2.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[]}]},"after":{"topicCount":3,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__1.foo","https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.sub#$__1.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub Sub","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/include-wildcard2.ctm#$__2.foo"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"Sub","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[]}]}}],"actualCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#$__2.foo</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>Sub</value>\u000A<type topicref=\"4\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#$__3.foo</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>Master</value>\u000A<type topicref=\"4\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"3\">\u000A<itemIdentifiers>\u000A<locator>#$__1.foo</locator>\u000A<locator>include-wildcard2.sub#$__1.foo</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>Sub Sub</value>\u000A<type topicref=\"4\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"4\">\u000A<subjectIdentifiers>\u000A<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\u000A</subjectIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","actualBytes":719,"expectedBytes":669,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#$__1.foo</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>Sub Sub</value>\u000A<type topicref=\"4\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#$__2.foo</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>Sub</value>\u000A<type topicref=\"4\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"3\">\u000A<itemIdentifiers>\u000A<locator>#$__3.foo</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>Master</value>\u000A<type topicref=\"4\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"4\">\u000A<subjectIdentifiers>\u000A<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\u000A</subjectIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":61,"byteExact":false,"canonicalizationPreservesMap":true,"referencesCurrent":true},{"id":"ctm/in/occurrence-datetime-timezone2.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm","sourceKey":"ctm/in/occurrence-datetime-timezone2.ctm","sourceBytes":92,"sourceHex":"6461746574696D65202D20226461746574696D6522202E0A0A736F6D652D746F706963202D2022736F6D6520746F70696322203B0A20206461746574696D653A20323031312D30312D30315430303A30303A30302B30323A30300A2E","sourceText":"datetime - \"datetime\" .\u000A\u000Asome-topic - \"some topic\" ;\u000A datetime: 2011-01-01T00:00:00+02:00\u000A.","condition":null,"model":{"topicCount":3,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm#datetime"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"datetime","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm#some-topic"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"some topic","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[{"value":"2010-12-31T22:00:00Z","datatype":"http://www.w3.org/2001/XMLSchema#dateTime","parent":3,"type":1,"scope":[]}]}]},"finalCounter":0,"requests":[],"environments":[{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm","initialCounter":0,"finalCounter":0,"templateCount":0,"model":{"topicCount":3,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm#datetime"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"datetime","parent":1,"type":2,"scope":[],"variantCount":0}],"occurrences":[]},{"ordinal":2,"itemIdentifiers":[],"subjectIdentifiers":["http://psi.topicmaps.org/iso13250/model/topic-name"],"subjectLocators":[],"names":[],"occurrences":[]},{"ordinal":3,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime-timezone2.ctm#some-topic"],"subjectIdentifiers":[],"subjectLocators":[],"names":[{"value":"some topic","parent":3,"type":2,"scope":[],"variantCount":0}],"occurrences":[{"value":"2010-12-31T22:00:00Z","datatype":"http://www.w3.org/2001/XMLSchema#dateTime","parent":3,"type":1,"scope":[]}]}]}}],"aliasTransfers":[],"actualCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#datetime</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>datetime</value>\u000A<type topicref=\"3\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#some-topic</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>some topic</value>\u000A<type topicref=\"3\"></type>\u000A</name>\u000A<occurrence number=\"1\">\u000A<value>2010-12-31T22:00:00Z</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#dateTime</datatype>\u000A<type topicref=\"1\"></type>\u000A</occurrence>\u000A</topic>\u000A<topic number=\"3\">\u000A<subjectIdentifiers>\u000A<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\u000A</subjectIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","actualBytes":674,"expectedBytes":679,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#datetime</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>datetime</value>\u000A<type topicref=\"3\"></type>\u000A</name>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#some-topic</locator>\u000A</itemIdentifiers>\u000A<name number=\"1\">\u000A<value>some topic</value>\u000A<type topicref=\"3\"></type>\u000A</name>\u000A<occurrence number=\"1\">\u000A<value>2011-01-01T00:00:00+02:00</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#dateTime</datatype>\u000A<type topicref=\"1\"></type>\u000A</occurrence>\u000A</topic>\u000A<topic number=\"3\">\u000A<subjectIdentifiers>\u000A<locator>http://psi.topicmaps.org/iso13250/model/topic-name</locator>\u000A</subjectIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":382,"byteExact":false,"canonicalizationPreservesMap":true,"referencesCurrent":true},{"id":"ctm/in/occurrence-datetime2.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm","sourceKey":"ctm/in/occurrence-datetime2.ctm","sourceBytes":122,"sourceHex":"EFBBBF230A23205465737420666F72206C656170207365636F6E64732C200A2320632E662E203C687474703A2F2F70726F6A656374732E746F7069636D6170736C61622E64652F6973737565732F323536333E0A230A746F7069630A6F6363747970653A20313937362D30392D31395431323A30313A3630202E","sourceText":"\uFEFF#\u000A# Test for leap seconds, \u000A# c.f. <http://projects.topicmapslab.de/issues/2563>\u000A#\u000Atopic\u000Aocctype: 1976-09-19T12:01:60 .","condition":null,"model":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm#topic"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[{"value":"1976-09-19T12:02:00","datatype":"http://www.w3.org/2001/XMLSchema#dateTime","parent":1,"type":2,"scope":[]}]},{"ordinal":2,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm#occtype"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[]}]},"finalCounter":0,"requests":[],"environments":[{"documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm","wildcardIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm","initialCounter":0,"finalCounter":0,"templateCount":0,"model":{"topicCount":2,"associationCount":0,"topics":[{"ordinal":1,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm#topic"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[{"value":"1976-09-19T12:02:00","datatype":"http://www.w3.org/2001/XMLSchema#dateTime","parent":1,"type":2,"scope":[]}]},{"ordinal":2,"itemIdentifiers":["https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/occurrence-datetime2.ctm#occtype"],"subjectIdentifiers":[],"subjectLocators":[],"names":[],"occurrences":[]}]}}],"aliasTransfers":[],"actualCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#occtype</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A</itemIdentifiers>\u000A<occurrence number=\"1\">\u000A<value>1976-09-19T12:02:00</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#dateTime</datatype>\u000A<type topicref=\"1\"></type>\u000A</occurrence>\u000A</topic>\u000A</topicMap>\u000A","actualBytes":370,"expectedBytes":370,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#occtype</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A<topic number=\"2\">\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A</itemIdentifiers>\u000A<occurrence number=\"1\">\u000A<value>1976-09-19T12:01:60</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#dateTime</datatype>\u000A<type topicref=\"1\"></type>\u000A</occurrence>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":232,"byteExact":false,"canonicalizationPreservesMap":true,"referencesCurrent":true},{"id":"ctm/in/template-ambiguous-parameter5.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm","sourceKey":"ctm/in/template-ambiguous-parameter5.ctm","sourceBytes":146,"sourceHex":"0A23205573696E6720616E2049524920617267756D656E7420696E20646966666572656E7420636F6E74657874730A0A6465662074656D706C6174652824697269290A2020746F70696320246972693B203D246972693B205E246972692E0A656E640A0A74656D706C617465283C687474703A2F2F7777772E6578616D706C652E6F72672F736F6D657468696E672F3E290A","sourceText":"\u000A# Using an IRI argument in different contexts\u000A\u000Adef template($iri)\u000A topic $iri; =$iri; ^$iri.\u000Aend\u000A\u000Atemplate(<http://www.example.org/something/>)\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter5.ctm at CHARACTER 79 (line 5, column 13): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":79,"line":5,"column":13,"positionUnit":"character","source":"ctm/in/template-ambiguous-parameter5.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":353,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<subjectIdentifiers>\u000A<locator>http://www.example.org/something/</locator>\u000A</subjectIdentifiers>\u000A<subjectLocators>\u000A<locator>http://www.example.org/something/</locator>\u000A</subjectLocators>\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A<locator>http://www.example.org/something/</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null},{"id":"ctm/in/template-ambiguous-parameter6.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm","sourceKey":"ctm/in/template-ambiguous-parameter6.ctm","sourceBytes":163,"sourceHex":"0A25707265666978206578203C687474703A2F2F7777772E6578616D706C652E6F72672F3E0A0A23205573696E67206120514E616D6520617267756D656E7420696E20646966666572656E7420636F6E74657874730A0A6465662074656D706C617465282471290A2020746F7069632024713B203D24713B205E24713B206F63633A2024712E0A656E640A0A74656D706C6174652865783A736F6D657468696E67290A","sourceText":"\u000A%prefix ex <http://www.example.org/>\u000A\u000A# Using a QName argument in different contexts\u000A\u000Adef template($q)\u000A topic $q; =$q; ^$q; occ: $q.\u000Aend\u000A\u000Atemplate(ex:something)\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/in/template-ambiguous-parameter6.ctm at CHARACTER 114 (line 7, column 11): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":114,"line":7,"column":11,"positionUnit":"character","source":"ctm/in/template-ambiguous-parameter6.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":613,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<itemIdentifiers>\u000A<locator>#occ</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A<topic number=\"2\">\u000A<subjectIdentifiers>\u000A<locator>http://www.example.org/something</locator>\u000A</subjectIdentifiers>\u000A<subjectLocators>\u000A<locator>http://www.example.org/something</locator>\u000A</subjectLocators>\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A<locator>http://www.example.org/something</locator>\u000A</itemIdentifiers>\u000A<occurrence number=\"1\">\u000A<value>http://www.example.org/something</value>\u000A<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\u000A<type topicref=\"1\"></type>\u000A</occurrence>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null},{"id":"ctm/in/template-subject-identifier2.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm","sourceKey":"ctm/in/template-subject-identifier2.ctm","sourceBytes":81,"sourceHex":"0A6465662074656D706C6174652824697269290A20202020746F70696320246972692E0A656E640A0A74656D706C617465283C687474703A2F2F7073692E6578616D706C652E6F72672F66616B653E290A","sourceText":"\u000Adef template($iri)\u000A topic $iri.\u000Aend\u000A\u000Atemplate(<http://psi.example.org/fake>)\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/in/template-subject-identifier2.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":34,"line":3,"column":15,"positionUnit":"character","source":"ctm/in/template-subject-identifier2.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":204,"expectedCXTM":"<topicMap>\u000A<topic number=\"1\">\u000A<subjectIdentifiers>\u000A<locator>http://psi.example.org/fake</locator>\u000A</subjectIdentifiers>\u000A<itemIdentifiers>\u000A<locator>#topic</locator>\u000A</itemIdentifiers>\u000A</topic>\u000A</topicMap>\u000A","firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null},{"id":"ctm/invalid/template-item-identifier-2nd-arg.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier-2nd-arg.ctm","sourceKey":"ctm/invalid/template-item-identifier-2nd-arg.ctm","sourceBytes":167,"sourceHex":"0A6465662074656D706C6174652824697269312C202469726932290A20202020746F706963312024697269312E0A20202020746F706963322024697269322E0A656E640A0A74656D706C617465283C687474703A2F2F7777772E6578616D706C652E6F72672F3E2C2020202020232076616C69640A20202020202020205E3C687474703A2F2F7777772E6578616D706C652E6F72672F3E2920202020202320696E76616C69640A","sourceText":"\u000Adef template($iri1, $iri2)\u000A topic1 $iri1.\u000A topic2 $iri2.\u000Aend\u000A\u000Atemplate(<http://www.example.org/>, # valid\u000A ^<http://www.example.org/>) # invalid\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":44,"line":3,"column":17,"positionUnit":"character","source":"ctm/invalid/template-item-identifier-2nd-arg.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":null,"expectedCXTM":null,"firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null},{"id":"ctm/invalid/template-item-identifier3.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-item-identifier3.ctm","sourceKey":"ctm/invalid/template-item-identifier3.ctm","sourceBytes":78,"sourceHex":"0A6465662074656D706C6174652824697269290A20202020746F70696320246972692E0A656E640A0A74656D706C617465285E3C687474703A2F2F7777772E6578616D706C652E6F72672F3E290A","sourceText":"\u000Adef template($iri)\u000A topic $iri.\u000Aend\u000A\u000Atemplate(^<http://www.example.org/>)\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-item-identifier3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":34,"line":3,"column":15,"positionUnit":"character","source":"ctm/invalid/template-item-identifier3.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":null,"expectedCXTM":null,"firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null},{"id":"ctm/invalid/template-subject-locator-2nd-arg.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator-2nd-arg.ctm","sourceKey":"ctm/invalid/template-subject-locator-2nd-arg.ctm","sourceBytes":167,"sourceHex":"0A6465662074656D706C6174652824697269312C202469726932290A20202020746F706963312024697269312E0A20202020746F706963322024697269322E0A656E640A0A74656D706C617465283C687474703A2F2F7777772E6578616D706C652E6F72672F3E2C2020202020232076616C69640A2020202020202020203D3C687474703A2F2F7777772E6578616D706C652E6F72672F3E29202020202320696E76616C69640A","sourceText":"\u000Adef template($iri1, $iri2)\u000A topic1 $iri1.\u000A topic2 $iri2.\u000Aend\u000A\u000Atemplate(<http://www.example.org/>, # valid\u000A =<http://www.example.org/>) # invalid\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator-2nd-arg.ctm at CHARACTER 44 (line 3, column 17): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":44,"line":3,"column":17,"positionUnit":"character","source":"ctm/invalid/template-subject-locator-2nd-arg.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":null,"expectedCXTM":null,"firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null},{"id":"ctm/invalid/template-subject-locator3.ctm","documentIRI":"https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/invalid/template-subject-locator3.ctm","sourceKey":"ctm/invalid/template-subject-locator3.ctm","sourceBytes":78,"sourceHex":"0A6465662074656D706C6174652824697269290A20202020746F70696320246972692E0A656E640A0A74656D706C617465283D3C687474703A2F2F7777772E6578616D706C652E6F72672F3E290A","sourceText":"\u000Adef template($iri)\u000A topic $iri.\u000Aend\u000A\u000Atemplate(=<http://www.example.org/>)\u000A","condition":{"condition":"INVALID-TEMPLATE-BODY","message":"TEMPLATE-IDENTITY-TAIL in ctm/invalid/template-subject-locator3.ctm at CHARACTER 34 (line 3, column 15): Unmarked variable identities in Topic Tails remain outside the supported grammar.","code":"template-identity-tail","position":34,"line":3,"column":15,"positionUnit":"character","source":"ctm/invalid/template-subject-locator3.ctm","cause":null,"context":null},"model":null,"finalCounter":null,"requests":[],"environments":[],"aliasTransfers":[],"actualCXTM":null,"actualBytes":null,"expectedBytes":null,"expectedCXTM":null,"firstDifferentByte":null,"byteExact":false,"canonicalizationPreservesMap":null,"referencesCurrent":null}]}