]> dreyeck.freedombox.rocks Git - topic-maps.git/blobdiff - src/cxtm/canonicalizer.lisp
Support CTM Wildcards and recursive Embedded Topics
[topic-maps.git] / src / cxtm / canonicalizer.lisp
index 52b6d14ae8163e83e76ed6c24ad4430900fff3d0..96c40a674c999e3e8ab41d92181ff39380aa5ff4 100644 (file)
 
 (defun canonicalize (map &key base-locator)
   "Return CXTM as a string. BASE-LOCATOR is an explicit absolute IRI (CXTM 3.1).
-Only the existing TMDM schema is supported: Topic-set Scope, null Reifier, no
-Variants or non-Topic identifiers other than Occurrence identifiers. Does not mutate MAP or handles."
+Only the existing TMDM schema is supported: Topic-set Scope and Variants, null
+Reifier and no non-Topic identifiers other than Occurrence identifiers. Does not mutate MAP or handles."
   (unless (and (stringp base-locator) (position #\: base-locator)
                (let ((scheme (subseq base-locator 0 (position #\: base-locator))))
                  (and (plusp (length scheme))