]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-occurrences.lisp
Support XTM item identity on occurrences associations and roles
[topic-maps.git] / tests / xtm-occurrences.lisp
index 5cebe39c64979f4635f71b1731c7e1cb17865b7a..6e1bd8bf2567617a2887ddae445a8989e546de69 100644 (file)
       ("embedded-without-anyType" "<occurrence><type><topicRef href='#t'/></type><resourceData><x xmlns='urn:xml'/></resourceData></occurrence>" xtm-rejection :unexpected-child)
       ("anyType-text" "<occurrence><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>V</resourceData></occurrence>" xtm-unsupported :resource-data-datatype)
       ("anyType-XML" "<occurrence><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'><x xmlns='urn:xml'/></resourceData></occurrence>" xtm-unsupported :resource-data-datatype)
-      ("item-identity" "<occurrence><itemIdentity href='urn:o'/><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence>" xtm-unsupported :unsupported-construct)
+      ("item-identity" "<occurrence reifier='#excluded'><itemIdentity href='urn:o'/><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence>" xtm-unsupported :unsupported-construct)
       ("reification" "<occurrence reifier='#r'><type><topicRef href='#t'/></type><resourceData>V</resourceData></occurrence>" xtm-unsupported :unsupported-construct)))
     (destructuring-bind (label body class code) spec
       (let* ((key (concatenate 'string "occurrence-negative:" label))