Module Cduce_core.Schema_common

exception XSD_validation_error of string
exception XSI_validation_error of string
val name_of_type_definition : Schema_types.type_definition -> Ns.QName.t
val content_type_of_type : Schema_types.type_definition -> Schema_types.content_type
val first_of_model_group : Schema_types.model_group -> Cduce_types.AtomSet.t
val first_of_wildcard_constraint : Schema_types.wildcard_constraint -> Cduce_types.AtomSet.t
val nullable_of_model_group : Schema_types.model_group -> bool
val no_facets : Schema_types.facets

empty set of facets (with the only exception of "whiteSpace", which is set to <`Collapse, true>, the mandatory value for all non string derived simple types)

val normalize_white_space : Schema_types.white_space_handling -> Encodings.Utf8.t -> Encodings.Utf8.t

perform white space normalization according to XML recommendation

event interface on top of CDuce values

val stream_of_value : Value.t -> Schema_types.event Stdlib.Stream.t
val string_of_event : Schema_types.event -> string
val simple_restrict : Ns.QName.t option -> Schema_types.simple_type_definition -> Schema_types.facets -> Schema_types.simple_type_definition
val simple_list : Ns.QName.t option -> Schema_types.simple_type_definition -> Schema_types.simple_type_definition
val simple_union : Ns.QName.t option -> Schema_types.simple_type_definition list -> Schema_types.simple_type_definition
val xsi_nil_type : Cduce_types.Types.t
val xsi_nil_atom : Cduce_types.AtomSet.V.t
val xsi_nil_label : Cduce_types.Ident.label
val merge_attribute_uses : Schema_types.attribute_uses list -> Schema_types.attribute_uses