X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/f1270a43720ab1454bebfb3d0a9e3555554a7ab9..refs/heads/codex/xtm-slice-22r:/src/cxtm/canonicalizer.lisp?ds=inline diff --git a/src/cxtm/canonicalizer.lisp b/src/cxtm/canonicalizer.lisp index 30e611e..52c19bc 100644 --- a/src/cxtm/canonicalizer.lisp +++ b/src/cxtm/canonicalizer.lisp @@ -198,6 +198,9 @@ (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))))