]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-associations.lisp
Implement XTM association reification with native conformance evidence
[topic-maps.git] / tests / xtm-associations.lisp
index 5646a522eec561f70e42895f7ca0a11e0bcb4d9d..998c75d9d16c34d1db9ed739475733c44636fb3a 100644 (file)
                 ("unknown-child" "<association><bogus/></association>" xtm-rejection :unexpected-element)
                 ("unknown-attribute" "<association bogus='1'/>" xtm-rejection :unexpected-attribute)
                 ("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)
+                ("association-reifier" "<association reifier='#r'><type><topicRef href='#t'/></type><role reifier='#excluded-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 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)
+                ("association-II" "<association reifier='#excluded'><itemIdentity href='urn:as'/><type><topicRef href='#t'/></type><role reifier='#excluded-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)"))