~ubuntu-branches/ubuntu/hardy/pxp/hardy

« back to all changes in this revision

Viewing changes to examples/validate/validate.ml

  • Committer: Bazaar Package Importer
  • Author(s): Stefano Zacchiroli
  • Date: 2005-03-29 11:06:39 UTC
  • mfrom: (2.1.2 hoary)
  • Revision ID: james.westby@ubuntu.com-20050329110639-5p39hz1d4aq3r2ec
Tags: 1.1.95-6
* Rebuilt against ocaml 3.08.3
* No longer built with wlex support (since wlex is no longer supported
  upstream and corresponding package has been removed from the debian
  archive)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
(* $Id: validate.ml,v 1.11 2001/07/01 11:33:08 gerd Exp $
 
1
(* $Id: validate.ml 662 2004-05-25 20:57:28Z gerd $
2
2
 * ----------------------------------------------------------------------
3
3
 *
4
4
 *)
106
106
  try 
107
107
    (* Parse the document: *)
108
108
    let parse_fn =
109
 
      if wf then parse_wfdocument_entity 
 
109
      if wf then parse_wfdocument_entity ?transform_dtd:None
110
110
      else 
111
111
        let index = new hash_index in
112
112
        parse_document_entity 
219
219
main();
220
220
if !error_happened then exit(1);;
221
221
 
222
 
(* ======================================================================
223
 
 * History:
224
 
 * 
225
 
 * $Log: validate.ml,v $
226
 
 * Revision 1.11  2001/07/01 11:33:08  gerd
227
 
 *      Added new features (PXP 1.1)
228
 
 *
229
 
 * Revision 1.10  2000/08/30 15:58:41  gerd
230
 
 *      Updated.
231
 
 *
232
 
 * Revision 1.9  2000/07/14 14:57:30  gerd
233
 
 *      Updated: warner
234
 
 *
235
 
 * Revision 1.8  2000/07/14 14:13:15  gerd
236
 
 *      Cosmetic changes.
237
 
 *
238
 
 * Revision 1.7  2000/07/14 14:11:06  gerd
239
 
 *      Updated because of changes of the PXP API.
240
 
 *
241
 
 * Revision 1.6  2000/07/08 21:53:00  gerd
242
 
 *      Updated because of PXP interface changes.
243
 
 *
244
 
 * Revision 1.5  2000/06/04 20:21:55  gerd
245
 
 *      Updated to new module names.
246
 
 *
247
 
 * Revision 1.4  2000/05/01 16:44:57  gerd
248
 
 *      Added check for ID uniqueness.
249
 
 *      Using new error formatter.
250
 
 *
251
 
 * Revision 1.3  1999/11/09 22:27:30  gerd
252
 
 *      The programs returns now an exit code of 1 if one of the
253
 
 * XML files produces an error.
254
 
 *
255
 
 * Revision 1.2  1999/09/01 23:09:56  gerd
256
 
 *      Added the option -wf that switches to well-formedness checking
257
 
 * instead of validation.
258
 
 *
259
 
 * Revision 1.1  1999/08/14 22:20:53  gerd
260
 
 *      Initial revision.
261
 
 *
262
 
 * 
263
 
 *)