]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-associations.lisp
Implement XTM occurrence reification with native conformance evidence
[topic-maps.git] / tests / xtm-associations.lisp
index 4ae6a9271abc47606b097a7e3817eda9360c06ad..5646a522eec561f70e42895f7ca0a11e0bcb4d9d 100644 (file)
                 ("malformed-XML" "<association>" xtm-xml-error :xml-not-well-formed)
                 ("association-reifier" "<association reifier='#r'><type><topicRef href='#t'/></type><role><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-unsupported :unsupported-construct)
                 ("role-reifier" "<association><type><topicRef href='#t'/></type><role reifier='#r'><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-unsupported :unsupported-construct)
-                ("association-II" "<association><itemIdentity href='urn:as'/><type><topicRef href='#t'/></type><role><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-unsupported :unsupported-construct)
-                ("role-II" "<association><type><topicRef href='#t'/></type><role><itemIdentity href='urn:role'/><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-unsupported :unsupported-construct)))
+                ("association-II" "<association reifier='#excluded'><itemIdentity href='urn:as'/><type><topicRef href='#t'/></type><role><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-unsupported :unsupported-construct)
+                ("role-II" "<association><type><topicRef href='#t'/></type><role reifier='#excluded'><itemIdentity href='urn:role'/><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-unsupported :unsupported-construct)))
     (apply #'as-error row))
   (dolist (value '("no-fragment" "#" "#1bad" "#a:b" "#xpointer(id)"))
     (as-error (concatenate 'string "invalid-fragment:" value) (as-xml value '(("#r" "#p"))) 'xtm-rejection :invalid-topic-ref))