("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))