]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - src/cxtm/canonicalizer.lisp
feat(xtm): support item identifiers on name variants
[topic-maps.git] / src / cxtm / canonicalizer.lisp
index 30e611ec01f692bc096e0c55ff6d5c9b2cdaa112..52c19bc6f0ca91cae7074d0def305faf30f6eaf2 100644 (file)
           (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))))