Version française
Home     About     Download     Resources     Contact us    
Browse thread
PXP error messages
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Gerd Stolpmann <gerd@g...>
Subject: Re: [Caml-list] PXP error messages

Am Donnerstag, den 03.09.2009, 10:30 +0200 schrieb Florian Hars:
> I think that
> 
> Fatal error: exception Pxp_core_types.A.At("In entity [toplevel] = PRIVATE, at line 2, position 175:
> ", _)
> 
> is a suboptimal message for 
> 
> "No DTD found, maybe you should use Pxp_tree_parser.parse_wfdocument_entity instead"

RTFM.

How to get readable exceptions:

http://projects.camlcity.org/projects/dl/pxp-1.2.1/doc/manual/html/ref/Intro_getting_started.html#exn

Gerd

> 
> - Florian
> 
> _______________________________________________
> Caml-list mailing list. Subscription management:
> http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
> Archives: http://caml.inria.fr
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs
> 
-- 
------------------------------------------------------------
Gerd Stolpmann, Bad Nauheimer Str.3, 64289 Darmstadt,Germany 
gerd@gerd-stolpmann.de          http://www.gerd-stolpmann.de
Phone: +49-6151-153855                  Fax: +49-6151-997714
------------------------------------------------------------