]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-mergemap.lisp
Implement XTM occurrence core and register eleven originals (Slice 22G)
[topic-maps.git] / tests / xtm-mergemap.lisp
index 31c28dfabc2951e5b266d00a3d8cbfccbb1f92eb..6eb1d0f9739d00973ad521726e7e26f874384e29 100644 (file)
@@ -286,7 +286,7 @@ AUGMENT is explicit native-only test setup for constructs outside XML support."
       (list "bad-namespace" (bytes "<topicMap version='2.0'/>") 'xtm-rejection :invalid-namespace)
       (list "unknown-structure" (bytes (document "<unknown/>")) 'xtm-rejection :unexpected-element)
       (list "anyType-unimplemented" (bytes (document (datatype-body (datatype-resource "http://www.w3.org/2001/XMLSchema#anyType" "<x xmlns='urn:x'>V</x>")))) 'xtm-unsupported :resource-data-datatype)
       (list "bad-namespace" (bytes "<topicMap version='2.0'/>") 'xtm-rejection :invalid-namespace)
       (list "unknown-structure" (bytes (document "<unknown/>")) 'xtm-rejection :unexpected-element)
       (list "anyType-unimplemented" (bytes (document (datatype-body (datatype-resource "http://www.w3.org/2001/XMLSchema#anyType" "<x xmlns='urn:x'>V</x>")))) 'xtm-unsupported :resource-data-datatype)
-      (list "occurrence-XML-still-unsupported" (bytes (document "<topic id='a'><occurrence><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence></topic>")) 'xtm-unsupported :unsupported-construct)))
+      (list "occurrence-XML-still-unsupported" (bytes (document "<topic id='a'><occurrence reifier='#r'><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence></topic>")) 'xtm-unsupported :unsupported-construct)))
       (destructuring-bind (label raw class code) row
         (mm-error label text class code :expected-doc child :expected-key "child-source"
           :resolver (lambda (&rest args) (declare (ignore args)) (values raw "child-source")))))
       (destructuring-bind (label raw class code) row
         (mm-error label text class code :expected-doc child :expected-key "child-source"
           :resolver (lambda (&rest args) (declare (ignore args)) (values raw "child-source")))))