[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2002-06-04 (19:55) |
From: | Stefano Zacchiroli <zack@c...> |
Subject: | Re: [Caml-list] PXP |
On Tue, Jun 04, 2002 at 09:19:08AM -0700, Gaurav Chanda wrote: > <?xml version="1.0"?> > <methodCall> > <methodName>examples.getStateName</methodName> > <params> > <param> > <value><i4>41</i4></value> > </param> > </params> > </methodCall> > > gave this error at runtime: > Fatal error: exception Pxp_types.At("In entity [toplevel] = ANONYMOUS, at line 2, position 12:", _) > > Could anybody help me solve this problem ? Which function are you using to parse the above XML document? If you are using functions like "parse_document_entity" you will get the reported error because your XML document is _not_ valid, it doesn't refer to any DTD. Fixes: - use a DTD - use a non validating parsing, using functions like "parse_wfdocument_entity" Cheers. -- Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro "I know you believe you understood what you think I said, but I am not sure you realize that what you heard is not what I meant!" -- G.Romney ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners