[cl-debian] Bug#450783: cl-s-xml: example in documentation does not work, undefined function: trace-xml-log

Package: cl-s-xml Version: 1:20060513-3 Severity: normal Hello, the sax parser example code in the documentation calls the function trace-xml-log(), which seems not to be included in the s-xml package (i loaded s-xml via asdf as described in the readme.debian file). I see 2 possibilites to improve the docs at this point: #1: use an example without trace-xml-log(). #2: point the user to the file $s-xml/test/tracer.lisp, which does include trace-xml-log() and also the complete sax parser example code. No copy and paste needed, if we point the user to the tracer.lisp file. Regards, Brian -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-5-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages cl-s-xml depends on: ii common-lisp-controller 6.9 This is a Common Lisp source and c cl-s-xml recommends no packages. -- no debconf information

Hi Brian! On Sat, 10 Nov 2007 15:18:23 +0100, Brian Kudowski wrote:
the sax parser example code in the documentation calls the function trace-xml-log(), which seems not to be included in the s-xml package (i loaded s-xml via asdf as described in the readme.debian file).
Actually, the function `trace-xml-log' is not loaded by s-xml.asd, which resulted in not being available through ASDF. This because all which is in $s-xml/test/ are tests and examples, thus not covered by s-xml.asd.
I see 2 possibilites to improve the docs at this point:
#1: use an example without trace-xml-log(). #2: point the user to the file $s-xml/test/tracer.lisp, which does include trace-xml-log() and also the complete sax parser example code. No copy and paste needed, if we point the user to the tracer.lisp file.
I still think that the solution would be to provide an ASDF test suite (as well an example one), as I suggested in the upstream mailing list a long time ago [1]. Can you try again the sax parser example code after having loaded /usr/share/common-lisp/source/s-xml/tracer.lisp? This should solve your problem. I'm working on providing two new ASDF systems, s-xml.examples and s-xml.test, which you can then load if you want to try the examples or testing your installation. Thx, bye, Gismo / Luca Footnotes: [1] http://common-lisp.net/pipermail/s-xml-devel/2006-May/000027.html

Your message dated Wed, 23 Jul 2008 23:47:02 +0000 with message-id <E1KLo2w-00085b-WE@ries.debian.org> and subject line Bug#450783: fixed in s-xml 1:20080723-1 has caused the Debian Bug report #450783, regarding cl-s-xml: example in documentation does not work, undefined function: trace-xml-log to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 450783: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=450783 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
participants (3)
-
Brian Kudowski
-
Luca Capello
-
owner@bugs.debian.org