This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: xml literals
- From: Per Bothner <per at bothner dot com>
- To: Damien MATTEI <Damien dot Mattei at unice dot fr>, Kawa mailing list <kawa at sourceware dot org>
- Date: Mon, 15 May 2017 09:06:20 -0700
- Subject: Re: xml literals
- Authentication-results: sourceware.org; auth=none
- References: <201705151611.09622.Damien.Mattei@unice.fr>
On 05/15/2017 07:11 AM, Damien MATTEI wrote:
hello Per,
i try to use XML literals in code and i have errors i do not have in REPL:
compiling this:
(set! html-literal-table-data-code
(html:td result))
where result is a string ,or even a simple code:
(html:td "foo")
i got this error in my code:
java -cp /usr/local/share/java/kawa-2.1.jar:/home/mattei/NetBeansProjects/Sidonie/build/web/WEB-INF/classes kawa.repl -C DBtoWebObserversKawa.scm
(compiling DBtoWebObserversKawa.scm to eu.oca.kawafunct.DBtoWebObserversKawa)
Exception in thread "main" java.lang.Error: gnu.kawa.xml.MakeElement does not implement Externalizable
at gnu.expr.LitTable.error(LitTable.java:103)
at gnu.expr.LitTable.writeObject(LitTable.java:271)
I'm not seeing this.
Kawa-2.1 is awfully old - however the old kawa-2.1.jar does work for me.
Perhaps you could post a complete self-contained program?
--
--Per Bothner
per@bothner.com http://per.bothner.com/