(unless (and (eq r (canonical-association-role r)) (eq (association-role-parent r) a))
(fail :invalid-parent "Role must be current and owned by its Association."))
(reference (association-role-type r)) (reference (association-role-player r))))))
+ (handler-case (topic-maps.tmdm::validate-map-core-subjects map)
+ (topic-maps.tmdm:core-subject-error (c)
+ (fail (topic-maps.tmdm:core-subject-error-code c) (princ-to-string c))))
(handler-case (topic-maps.tmdm::validate-map-item-identifiers map)
(topic-maps.tmdm:item-identifier-error (c)
(fail (topic-maps.tmdm:item-identifier-error-code c) (princ-to-string c))))