- (dolist (name '("decimal" "date" "dateTime"))
- (check (concatenate 'string "integer-slice-keeps-other-cxtm-exclusions:" name)
- (typep (cxtm-condition (lambda () (cxtm (read-text (format nil "a t:\"42\"^^<http://www.w3.org/2001/XMLSchema#~A>." name)))))
- 'topic-maps.cxtm:cxtm-unsupported))))
+ (check "integer-slice-now-supports-decimal-cxtm"
+ (equal '("42.0") (serialized-values (cxtm (read-text "a t:\"42\"^^<http://www.w3.org/2001/XMLSchema#decimal>.")))))
+ (check "integer-slice-now-supports-date-cxtm"
+ (equal '("2000-12-31") (serialized-values (cxtm (read-text "a t: 2000-12-31.")))))
+ (check "integer-slice-rejects-invalid-dateTime-value"
+ (typep (ctm-condition "a t:\"42\"^^<http://www.w3.org/2001/XMLSchema#dateTime>.")
+ 'ctm-rejection)))