]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-map-reification.lisp
Support arbitrary absolute XTM resourceData datatypes (Slice 22D)
[topic-maps.git] / tests / xtm-map-reification.lisp
index 82ddf3793f9417915d89d271d2a24e76b0a62a83..12e08abbbe8758fe8102102644493cd63df260cb 100644 (file)
     ("identity-after-topic" "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0' reifier='#r'><topic id='r'/><itemIdentity href='urn:map'/></topicMap>" :element-order)
     ("reifier-child" "<topicMap xmlns='http://www.topicmaps.org/xtm/' version='2.0'><reifier href='#r'/></topicMap>" :unexpected-element)))
     (map-reifier-error-control (first row) (second row) 'xtm-rejection (third row)))
-  (dolist (row '(("name-with-variant-excluded-datatype" "<topic id='a'><name><value>N</value><variant reifier='#r'><scope><topicRef href='#v'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#integer'>42</resourceData></variant></name></topic>" :resource-data-datatype)
-    ("variant-reifier-excluded-datatype" "<topic id='a'><name><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>" :resource-data-datatype)
+  (dolist (row '(("name-with-variant-excluded-datatype" "<topic id='a'><name><value>N</value><variant reifier='#r'><scope><topicRef href='#v'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>42</resourceData></variant></name></topic>" :resource-data-datatype)
+    ("variant-reifier-excluded-datatype" "<topic id='a'><name><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>" :resource-data-datatype)
     ("occurrence-reification" "<topic id='a'><occurrence reifier='#o'><type><topicRef href='#t'/></type><resourceData>O</resourceData></occurrence></topic>" :unsupported-construct)
     ("association-role-reification" "<association reifier='#a'><type><topicRef href='#t'/></type><role reifier='#r'><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" :unsupported-construct)
     ("mergeMap" "<mergeMap href='other.xtm'/>" :unsupported-construct)))