]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-name-reification.lisp
test: prove CTM/XTM anyType equivalence (slice 22T)
[topic-maps.git] / tests / xtm-name-reification.lisp
index 22c448f405ccda92b400e977cdb4ed19a1f95e14..dcbf7d751545a553c74fe65943ad2b9b17be2e00 100644 (file)
     (name-reifier-error-control (first row) (format nil "<topic id='a'>~A</topic>" (second row)) 'xtm-rejection (third row)))
   (name-reifier-error-control "malformed-XML" "<topic id='a'><name reifier='#r'><value>N</name></topic>" 'xtm-xml-error :xml-not-well-formed)
   (name-reifier-error-control "variant-reifier-excluded-datatype"
-    "<topic id='a'><name reifier='#n'><value>N</value><variant reifier='#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)
+    "<topic id='a'><name reifier='#n'><value>N</value><variant reifier='#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)
   (name-reifier-error-control "name-own-II-collision"
     "<topic id='a'><name reifier='urn:name'><itemIdentity href='urn:name'/><value>N</value></name></topic>"
     'topic-maps.tmdm::occurrence-identifier-error :duplicate-item-identifier)