This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
Problem with "--output-format scheme" option
- From: Jan Hermanns <jan_hermanns at gmx dot de>
- To: kawa at sources dot redhat dot com
- Date: Thu, 30 Jan 2003 12:20:42 +0100 (MET)
- Subject: Problem with "--output-format scheme" option
Hello,
I'm doing servelt programming with kawa and have a problem concerning
the "--output-format scheme" compile-option. I'm using kawa-1.6.99.
I have two files.
The first one is a lib:
--begin lib.scm--
(module-name "lib")
(define dummy-tag-from-lib "<h1>dummy tag from lib</h1>")
--end lib.scm--
The second one is a servlet, using this lib:
--begin testservlet.krl--
[(require <lib>)]
[(define dummy-tag-intern ] <h1>dummy tag intern</h1> [)]
<html>
<body>
[dummy-tag-intern]
[dummy-tag-from-lib]
</body>
</html>
--end testservlet.krl--
The compilation is done as follows:
java kawa.repl --output-format scheme -C lib.scm
java kawa.repl --servlet --krl --output-format scheme -C testservlet.krl
When the servelt is invoked it produces the following output
--begin output--
<html>
<body>
<h1>dummy tag intern</h1>
<h1>dummy tag from lib</h1>
</body>
</html>
--end output--
As you can see, the tag defined in lib.scm produces a escaped output.
How can I avoid this?
thank you, Jan
--
Jan Hermanns
. . . . . . . . . ... http://www.sushi3003.de