]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-occurrences.lisp
Implement XTM occurrence reification with native conformance evidence
[topic-maps.git] / tests / xtm-occurrences.lisp
index 6e1bd8bf2567617a2887ddae445a8989e546de69..a7518675e9a9484efca36e1c2bfd786b81454dd8 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 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)))
+      ("item-identity" "<occurrence reifier='#excluded'><itemIdentity href='urn:o'/><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>V</resourceData></occurrence>" xtm-unsupported :resource-data-datatype)
+      ("reification" "<occurrence reifier='#r'><type><topicRef href='#t'/></type><resourceData datatype='http://www.w3.org/2001/XMLSchema#anyType'>V</resourceData></occurrence>" xtm-unsupported :resource-data-datatype)))
     (destructuring-bind (label body class code) spec
       (let* ((key (concatenate 'string "occurrence-negative:" label))
              (c (condition-from (lambda () (deserialize-octets (bytes (document (format nil "<topic id='a'>~A</topic>" body)))