]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-variant-item-identities.lisp
Document Topic Maps conformance closure plan for Slice 22A
[topic-maps.git] / tests / xtm-variant-item-identities.lisp
index a01a86c875759e7ce4dec0f5e0248ba87a01bbdb..b239a1f33fe367bd54833812962103daab0a6e28 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: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#integer'>42</resourceData></variant></name></topic>"
+    'xtm-unsupported :resource-data-datatype)
   (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>")))
   (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>")))