Problem with "--output-format scheme" option
Jan Hermanns
jan_hermanns@gmx.de
Thu Jan 30 11:20:00 GMT 2003
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
More information about the Kawa
mailing list