X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/791969ca59922d61e967198eaee4c1fe172b5a0d..f46c8a00d5b52a8f2bb31ee18f9b8884b789127d:/tests/xtm-names.lisp diff --git a/tests/xtm-names.lisp b/tests/xtm-names.lisp index 8577969..b45220a 100644 --- a/tests/xtm-names.lisp +++ b/tests/xtm-names.lisp @@ -136,7 +136,7 @@ map)) (defun name-error-control (label body class code) - (let* ((source (document body)) (key (concatenate 'string "name-syntax:" label)) + (let* ((source (ss-unsupported-source (document body) code label)) (key (concatenate 'string "name-syntax:" label)) (c (condition-from (lambda () (deserialize-octets (bytes source) :document-iri *document* :source-key key))))) (check (concatenate 'string key ":class-code") (and (eq class (type-of c)) (eq code (error-code c)))) (check (concatenate 'string key ":context-position") @@ -280,8 +280,8 @@ ("ii-after-value" "N" :element-order) ("variant-before-value" "VN" :element-order))) (name-error-control (first spec) (format nil "~A" (second spec)) 'xtm-rejection (third spec))) - (dolist (spec '(("variant-resourceData-datatype" "N42" :resource-data-datatype) - ("variant-reifier-excluded-datatype" "N42" :resource-data-datatype))) + (dolist (spec '(("variant-resourceData-datatype" "N42" :resource-resolver-required) + ("variant-reifier-excluded-datatype" "N42" :resource-resolver-required))) (name-error-control (concatenate 'string "unsupported-" (first spec)) (format nil "~A" (second spec)) 'xtm-unsupported (third spec))) (let* ((body (format nil "~%~% ~%"))