X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/2b6d6f4c7ccc351871a33beeba4bc9f34971617e..refs/heads/codex/xtm-slice-22s:/tests/xtm-role-reification.lisp diff --git a/tests/xtm-role-reification.lisp b/tests/xtm-role-reification.lisp index d7fd087..b928440 100644 --- a/tests/xtm-role-reification.lisp +++ b/tests/xtm-role-reification.lisp @@ -175,7 +175,7 @@ "readAssociationCounts" (coerce counts 'vector) "normalizationStages" (coerce (mapcar (lambda (s) (coerce s 'vector)) stages) 'vector) "oldHandlesCanonicalAndLive" :true) *role-reifier-controls*)) map))) (defun rrr-error (label body class code &key map-reifier) - (let ((source (if map-reifier (map-reifier-xml map-reifier body) (document body)))) + (let ((source (ss-unsupported-source (if map-reifier (map-reifier-xml map-reifier body) (document body)) code label))) (multiple-value-bind (c frames calls same) (rrr-condition-from (bytes source) label) (let ((actual (cond ((typep c 'topic-maps.xtm:xtm-error) (error-code c)) ((typep c 'reification-error) (reification-error-code c)) @@ -285,7 +285,7 @@ (format nil "<~A href='urn:r'/><~A href='urn:r'/>" category category)) 'reification-error :reifier-conflict)) (rrr-error "Role-II-not-Reifier-II" (rrr-xml "urn:same" :role-ids '("urn:same")) 'topic-maps.tmdm::occurrence-identifier-error :duplicate-item-identifier) (rrr-error "Role-II-not-Association-II" (rrr-xml "#r" :ids '("urn:same") :role-ids '("urn:same")) 'item-identifier-error :duplicate-item-identifier) - (rrr-error "anyType-still-Unsupported" (concatenate 'string (rrr-xml "#r") "V") 'xtm-unsupported :resource-data-datatype)) + (rrr-error "anyType-still-Unsupported" (concatenate 'string (rrr-xml "#r") "V") 'xtm-unsupported :resource-resolver-required)) (defun rrr-import-test () (let* ((child (mm-child-iri "child.xtm")) (raw (bytes (document (concatenate 'string ""