/[svn]/schema/schema_builtin.mli
ViewVC logotype

Contents of /schema/schema_builtin.mli

Parent Directory Parent Directory | Revision Log Revision Log


Revision 888 - (show annotations)
Tue Jul 10 18:09:17 2007 UTC (5 years, 10 months ago) by abate
File size: 791 byte(s)
[r2003-11-29 11:31:26 by szach] added string_of_time_type

Original author: szach
Date: 2003-11-29 11:31:26+00:00
1
2 open Encodings
3
4 (** all schema simple type names used in this API are prefixed with
5 * Schema_xml.xsd_prefix *)
6
7 exception Schema_builtin_error of Utf8.t
8
9 val is_builtin: Utf8.t -> bool
10 val get_builtin: Utf8.t -> Schema_types.simple_type_definition
11 val iter_builtin: (Schema_types.simple_type_definition -> unit) -> unit
12
13 val cd_type_of_builtin: Utf8.t -> Types.descr
14
15 (** validate_builtin <builtin> <string>
16 * validates <string> against builtin type <builtin> and return the resulting
17 * cduce value
18 * @raise Schema_builtin_error [name] in case of validation error, where
19 * [name] is the name of a schema built in type prefixed with
20 * Schema_xml.xsd_prefix *)
21 val validate_builtin: Utf8.t -> Utf8.t -> Value.t
22
23 val string_of_time_type: (Ns.qname * Value.t) list -> Utf8.t
24

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5