- (check (concatenate 'string "excluded-numeric-sugar:" value)
- (and (typep condition 'ctm-unsupported) (eq :occurrence-literal-datatype (error-code condition)) (= 5 (error-position condition))))))
+ (check (if (string= value "*") "integer-slice-now-allows-ctm-integer"
+ (concatenate 'string "excluded-numeric-sugar:" value))
+ (if (string= value "*")
+ (let ((item (first (all-occurrences (read-text "a t: *.")))))
+ (and (null condition) (equal "*" (topic-maps.tmdm:occurrence-value item))
+ (equal "http://psi.topicmaps.org/iso13250/ctm-integer"
+ (topic-maps.tmdm:occurrence-datatype item))))
+ (and (typep condition 'ctm-unsupported) (eq :datetime-leap-second-context (error-code condition))
+ (= 5 (error-position condition)))))))