]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-variant-item-identities.lisp
perf(tmdm): index topic normalization merge candidates
[topic-maps.git] / tests / xtm-variant-item-identities.lisp
index a01a86c875759e7ce4dec0f5e0248ba87a01bbdb..895d20545390999ef249b84819f270181009fde5 100644 (file)
   (variant-error-control "variant-iid:scope-not-proper-superset"
     (format nil "<topic id='a'>~A</topic>" (variant-name-xml '("base") (variant-iid-xml "V" '("base") '("urn:v"))))
     'variant-error :invalid-variant-scope)
-  (variant-error-control "variant-iid:reification-still-unsupported"
-    "<topic id='a'><name><value>N</value><variant reifier='#r'><itemIdentity href='urn:v'/><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></variant></name></topic>"
-    'xtm-unsupported :reification)
+  (variant-error-control "variant-iid:reifier-excluded-datatype"
+    "<topic id='a'><name><value>N</value><variant reifier='#r'><itemIdentity href='urn:v'/><scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>42</resourceData></variant></name></topic>"
+    'xtm-unsupported :resource-resolver-required)
   (variant-error-control "variant-iid:other-datatype-still-unsupported"
     (format nil "<topic id='a'>~A</topic>" (variant-name-xml nil
-      (variant-iid-xml nil '("s") '("urn:v") "<resourceData datatype='http://www.w3.org/2001/XMLSchema#integer'>42</resourceData>")))
-    'xtm-unsupported :resource-data-datatype)
+      (variant-iid-xml nil '("s") '("urn:v") "<resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>42</resourceData>")))
+    'xtm-unsupported :resource-resolver-required)
   (let* ((key "variant-iid:invalid-raw-UTF8")
          (raw (concatenate '(vector (unsigned-byte 8))
            (bytes "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><topic id='a'><name><value>N</value><variant><itemIdentity href='urn:")