module Chqsec:Checker for sequences.sig..end
This source is released to the public domain since 2001. No warranty.
Citation of the project Structio and the following URL is appreciated.
http://structio.sourceforge.net/repasa
val sequences : int Pervasives.refval classifs : int Pervasives.refval check_elem_classif : 'a -> 'b -> 'c -> 'd listval check_refclassif_son : (string * string, string) Hashtbl.t ->
'a ->
'b ->
string ->
< attribute : string -> Markup_types.att_value; pos_file : string; .. > ->
'c listhat : Hashing table of identifications of annotations.idc : Id of referenced classificationlres : Partially computed value to return.nelem : Name of element.elem : Element.val check_seq : Lrepasa.knownFormats * int option ->
int * int * int Pervasives.ref ->
string list ->
string ->
('a Markup_document.extension Markup_document.node as 'a) list ->
string ->
(string * string, string) Hashtbl.t ->
(< attribute : string -> Markup_types.att_value; data : string;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : 'b list; .. >
as 'b) ->
unitformat : pair with fomat (KnownFormat) and optional length.(startpar,endpar,prevend) : prevend : references end date of previous sequence with dates
or -1 if not specifiedendpar : along with startpar specify beginning and end of dates range
of parent sequence as number of days since 1,Jan,1970 or -1 if not specifiedhtypes : Order of types.dname : Name of file with default classification.dclassif : Structure with default classifications or []hseq : Hashing table with identifications of sequences.elem : Markup node with <sec>.val check_ordclassif_in_seq : (< attribute : string -> Markup_types.att_value;
node_type : Markup_document.node_type; pos_file : string; sub_nodes : 'a;
.. >
list as 'a) ->
unitls : List of subnodes of a sequenceval check_sequence : string ->
Lrepasa.knownFormats * int option ->
string list ->
string ->
('a Markup_document.extension Markup_document.node as 'a) list ->
(< attribute : string -> Markup_types.att_value; data : string;
node_type : Markup_document.node_type; pos_file : string;
sub_nodes : 'b list; .. >
as 'b)
list -> unitcheck_sequence full_name format htypes dname dclassif l checks the nodes
of a sequence file. full_name is the name with path, format the format
of the file, htype the hierarchy of typs, dname the name of the
defaul classification file and dclassif the corresponding tree.
l is the list of elements sons of the root element.val check_seqfile : string ->
string ->
< root : < attribute : string -> Markup_types.att_value; pos_file : string;
sub_nodes : (< attribute : string -> Markup_types.att_value;
data : string;
node_type : Markup_document.node_type;
pos_file : string; sub_nodes : 'a list; .. >
as 'a)
list;
.. >;
.. > ->
unitcheck_seqfile name full_name seq Checks an XML with a sequence (sec.dtd).
name is the name given in command line, full_name the name with path,
seq the markup tree.