[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] SSAX error messages
From: |
Kirill Lisovsky |
Subject: |
Re: [Chicken-users] SSAX error messages |
Date: |
Tue, 6 Apr 2004 19:16:48 -0400 (EDT) |
Hello!
Do you mean that
(require '(ssax utils))
(pretty-print (SSAX:XML->SXML (current-input-port) '()))
(display "foo")
(newline)
writes "foo" to stderr?
I've checked this code with
http://www.call-with-current-continuation.org/eggs/ssax.egg
For me it writes SXML tree and "foo" to stdout and warnings
to stderr, as intended.
Do you have a different behaviour?
Best regards,
Kirill.
On Tue, 6 Apr 2004, Sunnan wrote:
> Sorry to nitpick, but shouldn't SSAX:warn add a newline to its
> warnings?
>
> The problem I'm having is that I wrote the (obvious?)
> almost-one-liner:
>
> (require '(ssax utils))
> (pretty-print (SSAX:XML->SXML (current-input-port) '()))
> (newline)
>
> to have an xml2sxml-utility for command-line piping. However, whenever
> it emits warnings, since the newline isn't added, the following line
> of output also gets written to stderr instead of stdout.
>
> Err, I'm having trouble explaining this coherently. I hope its
> understandable enough.
>
> --
> One love,
> Sunnan
>
>
>
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/chicken-users
>