]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-names.lisp
Add XTM name scope with five original contracts and offline evidence
[topic-maps.git] / tests / xtm-names.lisp
index 2c20ee13158e2853085b465fced69bd4f7a0b105..3634dbb54dd2f24ad677a39c2c589d6333c2042f 100644 (file)
                   ("ii-after-value" "<name><value>N</value><itemIdentity href='#name'/></name>" :element-order)
                   ("variant-before-value" "<name><variant><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></variant><value>N</value></name>" :element-order)))
     (name-error-control (first spec) (format nil "<topic id='a'>~A</topic>" (second spec)) 'xtm-rejection (third spec)))
-  (dolist (spec '(("scope" "<name><scope><topicRef href='#s'/></scope><value>N</value></name>" :unsupported-construct)
-                  ("variant" "<name><value>N</value><variant><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></variant></name>" :unsupported-construct)
+  (dolist (spec '(("variant" "<name><value>N</value><variant><scope><topicRef href='#s'/></scope><resourceData>V</resourceData></variant></name>" :unsupported-construct)
                   ("itemIdentity" "<name><itemIdentity href='#n'/><value>N</value></name>" :unsupported-construct)
                   ("reifier" "<name reifier='#r'><value>N</value></name>" :reification)))
     (name-error-control (concatenate 'string "unsupported-" (first spec))