This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: xml literals


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]