/usr/lib/ocaml/galax/streaming_parse.mli is in libgalax-ocaml-dev 1.1-12.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: streaming_parse.mli,v 1.5 2007/02/01 22:08:54 simeon Exp $ *)
(* Module: Streaming_parse
Description:
This module implements a SAX parser for Galax.
*)
val glx_normalized_public_id : string -> string
(* Creates an XML stream from a string URI buffer and if a DTD exists
and was parsed successfully, returns the XQuery type representing
that DTD and the corresponding XML stream *)
val open_pxp_stream_from_io :
Galax_io.input_spec -> Galax_io.entity_kind -> Galax_io.pxp_stream * string option
val open_xml_stream_from_pxp_stream : Galax_io.pxp_stream * string option -> (Pxp_dtd.dtd option * Streaming_types.xml_stream)
(* Opens a document entity or a document fragment *)
val open_xml_entity_stream_from_io : Galax_io.input_spec -> Galax_io.entity_kind -> (Pxp_dtd.dtd option * Streaming_types.xml_stream)
(* Opens a document entity *)
val open_xml_stream_from_io : Galax_io.input_spec -> (Pxp_dtd.dtd option * Streaming_types.xml_stream)
val parse_standalone_dtd : Galax_io.input_spec -> Pxp_dtd.dtd
|