caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* PXP error messages
@ 2009-09-03  8:30 Florian Hars
  2009-09-03 21:37 ` [Caml-list] " Gerd Stolpmann
  0 siblings, 1 reply; 2+ messages in thread
From: Florian Hars @ 2009-09-03  8:30 UTC (permalink / raw)
  To: caml-list

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"

- Florian


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] PXP error messages
  2009-09-03  8:30 PXP error messages Florian Hars
@ 2009-09-03 21:37 ` Gerd Stolpmann
  0 siblings, 0 replies; 2+ messages in thread
From: Gerd Stolpmann @ 2009-09-03 21:37 UTC (permalink / raw)
  To: Florian Hars; +Cc: caml-list


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
------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-03 21:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-03  8:30 PXP error messages Florian Hars
2009-09-03 21:37 ` [Caml-list] " Gerd Stolpmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).