Wade Humeniuk <whumeniu+anti+spam@telus.net> 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
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607