caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "SooHyoung Oh" <shoh@duonix.com>
To: "Gerd Stolpmann" <info@gerd-stolpmann.de>
Cc: "Caml-List" <caml-list@inria.fr>
Subject: [Caml-list] (PXP) bug?: stdin input
Date: Fri, 4 Apr 2003 12:30:51 +0900	[thread overview]
Message-ID: <005801c2fa5a$9888ad90$fe00a8c0@hama> (raw)

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


                 reply	other threads:[~2003-04-04  3:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005801c2fa5a$9888ad90$fe00a8c0@hama' \
    --to=shoh@duonix.com \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).