X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/791969ca59922d61e967198eaee4c1fe172b5a0d..b9517b977fca2105422892a14b4cf9fe9790bbba:/tests/xtm-resource-datatypes.lisp diff --git a/tests/xtm-resource-datatypes.lisp b/tests/xtm-resource-datatypes.lisp index 6b31c5a..4229cf9 100644 --- a/tests/xtm-resource-datatypes.lisp +++ b/tests/xtm-resource-datatypes.lisp @@ -211,11 +211,11 @@ (dolist (value '("text" "XML")) (variant-reifier-error-control (concatenate 'string "datatype:anyType:" value) (datatype-body (datatype-resource "http://www.w3.org/2001/XMLSchema#anyType" value)) - 'xtm-unsupported :resource-data-datatype)) + 'xtm-unsupported :resource-resolver-required)) (variant-reifier-error-control "datatype:unknown-XTM-structure" "" 'xtm-rejection :unexpected-element) (variant-reifier-error-control "datatype:occurrence-remains-unsupported" - "V" - 'xtm-unsupported :unsupported-construct) + "V" + 'xtm-unsupported :resource-resolver-required) (variant-reifier-error-control "datatype:native-reifier-conflict" (format nil "~A" (variant-name-xml nil (concatenate 'string (datatype-variant "urn:custom" "A" :reifier "#r") (datatype-variant "urn:custom" "B" :reifier "#r")))) @@ -230,8 +230,8 @@ (lambda () (deserialize-octets raw :document-iri *document* :source-key "variant:datatype:raw-invalid-UTF8"))))) (defun datatype-context-controls () - ;; No XTM occurrence reader exists. Exercise the same validated resource node - ;; operation with both existing native value consumers, not occurrence parsing. + ;; Retain the resource-operation/native-consumer cross-check from Slice 22D. + ;; Slice 22G separately exercises genuine XTM occurrence deserialization. (dolist (resource (list (datatype-resource "urn:shared:type" " A&B ") (datatype-resource nil "V") (datatype-resource (iri-datatype) "../sound")