public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
From: Damien MATTEI <damien.mattei@oca.eu>
To: Per Bothner <per@bothner.com>
Cc: Damien MATTEI <Damien.Mattei@unice.fr>,
	Kawa mailing list <kawa@sourceware.org>
Subject: Re: xml literals
Date: Mon, 15 May 2017 16:57:00 -0000	[thread overview]
Message-ID: <20170515165710.GA2081@moita.oca.eu> (raw)
In-Reply-To: <20170515165006.GA1743@moita.oca.eu>

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/


  reply	other threads:[~2017-05-15 16:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-15 14:11 Damien MATTEI
2017-05-15 16:06 ` Per Bothner
2017-05-15 16:50   ` Damien MATTEI
2017-05-15 16:57     ` Damien MATTEI [this message]
2017-05-15 18:51       ` Per Bothner
2017-05-22  9:26         ` Damien MATTEI
2017-05-22 10:14           ` Sudarshan S Chawathe
2017-05-22 13:44             ` Damien MATTEI
2017-05-22 13:55               ` Damien MATTEI
2017-05-22 15:44           ` Per Bothner
     [not found]             ` <CADEOadc_87ON2=Tsjd+Ca4d90GoeKABpR3vsrHiP=5SMTKPNZQ@mail.gmail.com>
2017-05-23 13:11               ` Fwd: " Damien Mattei
2017-05-23 19:36           ` Per Bothner
2017-06-06  9:26         ` Damien MATTEI
2017-06-07 14:17           ` Damien MATTEI
2017-06-07 14:36             ` Damien MATTEI
2017-06-07 16:24             ` Per Bothner
2017-06-07 18:16               ` Per Bothner
2017-06-09 15:13                 ` Damien MATTEI
2017-06-09 18:17                   ` Per Bothner
2017-06-10 17:22                     ` Per Bothner
2017-06-13  9:15                     ` Damien MATTEI
2017-06-13  9:37                       ` Damien MATTEI
2017-06-13 17:21                       ` Per Bothner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170515165710.GA2081@moita.oca.eu \
    --to=damien.mattei@oca.eu \
    --cc=Damien.Mattei@unice.fr \
    --cc=kawa@sourceware.org \
    --cc=per@bothner.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).