From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19320 invoked by alias); 15 May 2017 16:57:13 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 19248 invoked by uid 89); 15 May 2017 16:57:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1852, H*F:D*eu X-HELO: smtps-n.oca.eu Received: from smtps-n.oca.eu (HELO smtps-n.oca.eu) (192.54.174.167) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 May 2017 16:57:11 +0000 Received: from moita.oca.eu (natoca100-13.unice.fr [134.59.100.13]) by smtps-n.oca.eu (Postfix) with ESMTPSA id F184A80518; Mon, 15 May 2017 18:57:11 +0200 (CEST) Date: Mon, 15 May 2017 16:57:00 -0000 From: Damien MATTEI To: Per Bothner Cc: Damien MATTEI , Kawa mailing list Subject: Re: xml literals Message-ID: <20170515165710.GA2081@moita.oca.eu> References: <201705151611.09622.Damien.Mattei@unice.fr> <35f398c9-6053-3103-fc90-4029f8a7f749@bothner.com> <20170515165006.GA1743@moita.oca.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170515165006.GA1743@moita.oca.eu> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2017-q2/txt/msg00064.txt.bz2 the attachment was in the previous mail, just compile it this way (as you have not the others preccompiled classes and included scheme files): java -cp /usr/local/share/java/kawa-2.1.jar kawa.repl -C DBtoWebObserversKawa.scm do not forget to uncomment the (html:td .....) On Mon, May 15, 2017 at 06:50:06PM +0200, Damien MATTEI wrote: > i will try to send you the whole file in attachment, > not easy i'm using mutt and i'm a newbie with this command line mail program, > i will comment all the include file, i have tested you will get a lot of warnings but should compile anyway, > if you just uncomment the (html:td "toto") in file it should display the output error. > i try to send it in attachment in another mail... > On Mon, May 15, 2017 at 09:06:20AM -0700, Per Bothner wrote: > > 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/