]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-variant-uri-data.lisp
examples: explore project work through native Topic Maps (slice 22U)
[topic-maps.git] / tests / xtm-variant-uri-data.lisp
index e920cce5bdee51f6520a00ae4824e706ed3151e3..91305db6c656d730888a8a6fc250ac766d315f72 100644 (file)
     ("scope-after-resource" "<scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyURI'>urn:x</resourceData><scope><topicRef href='#t'/></scope>" :element-order)))
     (variant-error-control (concatenate 'string "uri-data:" (first row))
       (format nil "<topic id='a'><name><value>N</value><variant>~A</variant></name></topic>" (second row)) 'xtm-rejection (third row)))
     ("scope-after-resource" "<scope><topicRef href='#s'/></scope><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyURI'>urn:x</resourceData><scope><topicRef href='#t'/></scope>" :element-order)))
     (variant-error-control (concatenate 'string "uri-data:" (first row))
       (format nil "<topic id='a'><name><value>N</value><variant>~A</variant></name></topic>" (second row)) 'xtm-rejection (third row)))
-  (dolist (row '(("integer-still-unsupported" "<resourceData datatype='http://www.w3.org/2001/XMLSchema#integer'>42</resourceData>")
+  (dolist (row '(("anyType-text-still-unsupported" "<resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>42</resourceData>")
     ("anyType-still-unsupported" "<resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'><x xmlns='urn:foreign'>XML</x></resourceData>")))
     (variant-error-control (concatenate 'string "uri-data:" (first row))
       (format nil "<topic id='a'><name><value>N</value><variant><scope><topicRef href='#s'/></scope>~A</variant></name></topic>" (second row))
     ("anyType-still-unsupported" "<resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'><x xmlns='urn:foreign'>XML</x></resourceData>")))
     (variant-error-control (concatenate 'string "uri-data:" (first row))
       (format nil "<topic id='a'><name><value>N</value><variant><scope><topicRef href='#s'/></scope>~A</variant></name></topic>" (second row))
-      'xtm-unsupported :resource-data-datatype)))
+      'xtm-unsupported :resource-resolver-required)))
 
 (defun uri-data-scope-controls ()
   (dolist (row '(("equal-scope" ("base")) ("duplicate-scope-no-new-theme" ("base" "base"))))
 
 (defun uri-data-scope-controls ()
   (dolist (row '(("equal-scope" ("base")) ("duplicate-scope-no-new-theme" ("base" "base"))))