- (dolist (text '("%include <other.ctm>" "%version 1.0"))
- (check (if (search "%include" text) "prefix:Include-requires-explicit-resolver"
- (concatenate 'string "remaining-construct-unsupported:" text))
- (let ((c (ctm-condition text)))
- (and (typep c 'ctm-unsupported)
- (or (not (search "%include" text)) (eq :resource-resolver-required (error-code c)))))))
+ (check "prefix:Include-requires-explicit-resolver"
+ (let ((c (ctm-condition "%include <other.ctm>")))
+ (and (typep c 'ctm-unsupported) (eq :resource-resolver-required (error-code c)))))
+ (check "prefix:version-1.0-prolog-supported"
+ (let ((map (read-text "%version 1.0")))
+ (and (null (topic-map-topics map)) (null (topic-maps.tmdm:topic-map-associations map)))))