- (and (string= dt (topic-maps.tmdm:occurrence-datatype o)) (string= "00042" (topic-maps.tmdm:occurrence-value o))))
- (if (member name '("integer" "decimal") :test #'string=)
- (check (concatenate 'string name "-explicit-cxtm-now-supported")
- (and (null c) (search (if (string= name "integer") "<value>42</value>" "<value>42.0</value>")
- (cxtm map)) (equal state (map-state map))))
- (check (concatenate 'string "excluded-normalization-explicit-cxtm-unsupported:" name)
- (and (typep c 'topic-maps.cxtm:cxtm-unsupported) (eq :unsupported-occurrence-datatype (topic-maps.cxtm:error-code c)) (equal state (map-state map)))))))
+ (and (string= dt (topic-maps.tmdm:occurrence-datatype o)) (string= value (topic-maps.tmdm:occurrence-value o))))
+ (check (concatenate 'string name "-explicit-cxtm-now-supported")
+ (and (null c) (search (cond ((string= name "integer") "<value>42</value>")
+ ((string= name "decimal") "<value>42.0</value>")
+ ((string= name "dateTime") "<value>2000-01-01T00:00:00.12Z</value>")
+ (t "<value>2000-01-01</value>")) (cxtm map))
+ (equal state (map-state map))))))