From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 77039 invoked by alias); 15 May 2017 16:06:35 -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 76068 invoked by uid 89); 15 May 2017 16:06:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=sk:netbean, XML X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 May 2017 16:06:33 +0000 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dAIW0-0002s6-E0; Mon, 15 May 2017 18:06:32 +0200 Received: from 70-36-239-209.dsl.dynamic.fusionbroadband.com ([70.36.239.209] helo=localhost.localdomain) by mailfront12.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dAIVr-0000jv-02; Mon, 15 May 2017 18:06:23 +0200 Subject: Re: xml literals To: Damien MATTEI , Kawa mailing list References: <201705151611.09622.Damien.Mattei@unice.fr> From: Per Bothner Message-ID: <35f398c9-6053-3103-fc90-4029f8a7f749@bothner.com> Date: Mon, 15 May 2017 16:06:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <201705151611.09622.Damien.Mattei@unice.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q2/txt/msg00062.txt.bz2 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/