schema_builtin.mli 412 Bytes
Newer Older
1
open Encodings
2
open Schema_types
3

4
5
exception Error of string
type t
6

7
8
9
10
val is: Ns.QName.t -> bool
val get: Ns.QName.t -> t
val iter: (Ns.QName.t -> t -> unit) -> unit
val of_st: simple_type_definition -> t
11

12
13
14
val simple_type: t -> simple_type_definition
val cd_type: t -> Types.t
val validate: t -> Utf8.t -> Value.t
15

16
17
val string_of_time_type: (Ns.qname * Value.t) list -> Utf8.t

18
19
val any_simple_type: t
val string: t