caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] (PXP) bug?: stdin input
@ 2003-04-04  3:30 SooHyoung Oh
  0 siblings, 0 replies; only message in thread
From: SooHyoung Oh @ 2003-04-04  3:30 UTC (permalink / raw)
  To: Gerd Stolpmann; +Cc: Caml-List

While testing PXP (XML parser for OCaml),
I met some STRANGE thing for stdin input of xml file.

I fixed "readme" example a little in order to use it for stdin as well as
file,
it works for file input, but it produces the following error when I use
stdin.

    % readme -html test.xml
    ... (OK)
    % readme -html < test.xml
    In entity [toplevel] = PRIVATE, at line 2, position 36:
    ERROR: (1) No input method available for this external entity: [dtd] =
SYSTEM "r
    eadme.dtd"

Is it difficult to use stdin instead of file input in PXP?

You can find main.ml.diff in http://www.duonix.com/~shoh/ocaml/main.ml.diff
and test.xml in http://www.duonix.com/~shoh/ocaml/test.xml

Thanks in advance.

---
SooHyoung Oh

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-04  3:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-04  3:30 [Caml-list] (PXP) bug?: stdin input SooHyoung Oh

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