Subject: Re: INTERN hygiene in Web applications
From: (Rob Warnock)
Date: Wed, 18 Jan 2006 02:17:10 -0600
Newsgroups: comp.lang.lisp
Message-ID: <>
Wade Humeniuk  <> wrote:
| I think weak references and hash tables should be added to the spec
| (or in some other way.)  But as far as I know LispWorks, clisp,
| Allegro CL and (I think) CMUCL all have weak references (hash-tables,
| arrays).

CMUCL has weak pointers and weak hashtables (and also supports
finalization), but from looking at the source it would seem
that symbol tables *don't* use normal hashtables [they use
a specialized internal "package-hashtable" type], and thus
can't use weak hashtables! (Oops.)

So CMUCL might suffer from an XML->keyword-package DoS attack.
It might be safest to maintain one's own XML symbol table,
possibly using a weak hashtable.


Rob Warnock			<>
627 26th Avenue			<URL:>
San Mateo, CA 94403		(650)572-2607