/usr/lib/ocaml/galax/physical_value.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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | (***********************************************************************)
(* *)
(* GALAX *)
(* XQuery Engine *)
(* *)
(* Copyright 2001-2007. *)
(* Distributed only by permission. *)
(* *)
(***********************************************************************)
(* $Id: physical_value.mli,v 1.11 2007/02/01 22:08:51 simeon Exp $ *)
(* Module: Physical_value
Description:
This modules defines physical representations of XML values.
*)
(*************)
(* Sequences *)
(*************)
type 'a sequence =
| CSeq of 'a Cursor.cursor
| LSeq of 'a list
(* Data model sequences are represented as a Caml stream with a
possible buffer. *)
(******************)
(* Physical items *)
(******************)
type item =
| Item_Atomic of Dm_atomic.atomicValue
| Item_Node of Dm.node
(* There are 2 kinds of items *)
type _ItemKind =
| AtomicValueKind
| NodeKind
(***********************)
(* Physical XML values *)
(***********************)
type dom_value = item sequence
type sax_value = Streaming_types.typed_xml_stream
type xml_value =
| DomValue of dom_value
| SaxValue of sax_value
(* Those are the tuples really accessed within the code *)
type tuple_unit = unit
val empty_tuple : tuple_unit
type tuple = xml_value array
type dom_tuple = dom_value array
type table_unit = tuple_unit Cursor.cursor
type table = tuple array
type dom_table = dom_tuple array
type physical_value =
| PXMLValue of xml_value (* XML value *)
| PTable of table_unit (* Table *)
|