]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - tests/xtm-associations.lisp
Integrate qualified XML anyType values into the XTM reader
[topic-maps.git] / tests / xtm-associations.lisp
index 5646a522eec561f70e42895f7ca0a11e0bcb4d9d..a88709ee8c877d5451ee3989d3d8b1330f95c7e0 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)
-                ("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)
-                ("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)))
+                ("association-reifier" "<association reifier='#r'><type><topicRef href='#t'/></type><role reifier='#excluded-role%GG'><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-rejection :invalid-percent-escape)
+                ("role-reifier" "<association><type><topicRef href='#t'/></type><role reifier='#r%GG'><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-rejection :invalid-percent-escape)
+                ("association-II" "<association reifier='#excluded'><itemIdentity href='urn:as'/><type><topicRef href='#t'/></type><role reifier='#excluded-role%GG'><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-rejection :invalid-percent-escape)
+                ("role-II" "<association><type><topicRef href='#t'/></type><role reifier='#excluded%GG'><itemIdentity href='urn:role'/><type><topicRef href='#rt'/></type><topicRef href='#p'/></role></association>" xtm-rejection :invalid-percent-escape)))
     (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))