On Jan 23, 2006, at 5:05 PM, Brad Anderson wrote:
> Hi all,
>
> I've been attempting a Gardener's project solo so far, and am getting
> a bit
> frustrated. I use SBCL (0.9.8), and have a need for an XML parser
> that has
> XPath capabilities. When Peter K. Lee put his XML page together a
> couple of
> weeks ago, I offered to help him, by test driving CL-XML and reporting
> back to
> the group. After those couple of weeks have gone by, I am not even
> close to
> getting the library to compile and load, let alone be used for parsing
> and
> XPath stuffs.
"Reporting back to the group" is no substitute for "reporting to the
author". James Anderson has been very helpful and usually loading
CL-XML just involves loading
/your/path/to/cl-xml/code/load.lisp
...
> I chose to not use the build mechanism that is distributed with the
> lib,
> because it seems to pre-date ASDF, and it makes extensive use of
> logical-pathnames, which I think don't react well to SBCL, although
> I'm not
> sure if there is an easy work-around.
If SBCL "does not react well to LP's", then it may be a problem with
SBCL. I have used CL-XML with LW and CMUCL and did not see problems of
sort.
> So, for my Gardeners project, I've been trying to ASDF-ify this lib,
> and am
> having only moderate success. 90% or so of the files compile (tons of
> warnings, style-warnings), so I've felt like I am making progress.
> But now in
> the main xml-parser.lisp file, I can fairly reliably make SLIME barf
> with a
> "Lisp connection closed unexpectedly: exited abnormally with code 256"
> - I am
> on Gentoo Linux with a 2.6.15 kernel, so I believe it's the code I'm
> trying to
> compile, or SLIME, or SBCL, rather than any kernel issue.
>
> I'm asking for some help from a more seasoned Lisper, so I can get
> this thing
> compiled, loaded, and functional. Then I'll offer up a patch to the
> author,
> whom I've copied on this. (James, I have a Subversion repos of your
> original
> lib, v 0.949, and I can make svn diffs so we can see the changes from
> the
> original)
>
> I've been on #lisp, but believe I could benefit from a more
> concentrated and
> cohesive effort from an expert who stays familiar w/ my progress.
>
> Any takers?
>
Having tried before to change the load machinery of CL-XML (and decided
it was a time sink) I would just advise to use it "as is". Loading the
library is easy enough (although I have not tried it with the latest
SBCL), and, IMHO, a much bigger priority for CL-XML (and a much more
difficult one) is to improve its documentation.
Just my .02EU
Cheers
--
Marco Antoniotti
http://bioinformatics.nyu.edu/~marcoxa
NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488
715 Broadway 10th FL fax. +1 - 212 - 998 3484
New York, NY, 10003, U.S.A.
_______________________________________________
Gardeners mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/gardeners