From prabhakar.nikhil at gmail.com Thu Jul 17 07:31:22 2008 From: prabhakar.nikhil at gmail.com (Nikhil Prabhakar) Date: Thu, 17 Jul 2008 13:01:22 +0530 Subject: [plexippus-xpath-devel] Error while loading XPATH Message-ID: <884c455a0807170031g3f7d329dt16b3654bbd226a90@mail.gmail.com> Hi, While loading XPATH, I'm getting the error `No class named: CXML-XMLS::XPATH-NAVIGATOR.'. I have obtained the copy using: darcs get http://common-lisp.net/project/plexippus-xpath/darcs/plexippus-xpath/ The complete backtrace info and restart options are as follows: ****************************************************************************************************************************** No class named: CXML-XMLS::XPATH-NAVIGATOR. [Condition of type PROGRAM-ERROR] Restarts: 0: [CONTINUE] Try finding the class again 1: [RETRY] retry the load of /home/nipra/.asdf-install-dir/site/plexippus-xpath-new/xmls-compat.fasl 2: [SKIP] skip loading /home/nipra/.asdf-install-dir/site/plexippus-xpath-new/xmls-compat.fasl 3: [RECOMPILE-DUE-TO-INCOMPATIBLE-FASL] recompile /home/nipra/.asdf-install-dir/site/plexippus-xpath-new/xmls-compat.lisp 4: [RETRY] Retry performing # on #. 5: [ACCEPT] Continue, treating # on # as having been successful. 6: [ABORT-REQUEST] Abort handling SLIME request. 7: [ABORT] Abort entirely from this (lisp) process. Backtrace: 0: (SWANK::DEBUG-IN-EMACS #) 1: (SWANK:SWANK-DEBUGGER-HOOK # #) 2: (CERROR "Try finding the class again" PROGRAM-ERROR :FORMAT-CONTROL "No class named: ~S." :FORMAT-ARGUMENTS (CXML-XMLS::XPATH-NAVIGATOR)) 3: (FIND-CLASS CXML-XMLS::XPATH-NAVIGATOR) 4: ((:TOP-LEVEL-FORM "xmls-compat.lisp" 1604)) 5: (LOAD #P"/home/nipra/.asdf-install-dir/site/plexippus-xpath-new/xmls-compat.fasl") 6: ((METHOD ASDF:PERFORM (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) # #) 7: ((:INTERNAL (:EFFECTIVE-METHOD 2 NIL NIL NIL NIL) 0) # #) 8: ((FLET ASDF:OPERATE EXCL::CONTINUATION)) 9: (ASDF:OPERATE ASDF:LOAD-OP :XPATH :FORCE T) 10: (ASDF:OOS ASDF:LOAD-OP :XPATH :FORCE T) 11: (EVAL (ASDF:OOS (QUOTE ASDF:LOAD-OP) :XPATH :FORCE T)) 12: (SWANK::EVAL-REGION "(asdf:oos 'asdf:load-op :xpath :force t) " T) 13: ((:INTERNAL SWANK:LISTENER-EVAL 0)) 14: ((METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #) 15: (SWANK::CALL-WITH-BUFFER-SYNTAX #) 16: (SWANK:LISTENER-EVAL "(asdf:oos 'asdf:load-op :xpath :force t) ") 17: (EVAL (SWANK:LISTENER-EVAL "(asdf:oos 'asdf:load-op :xpath :force t) ")) 18: ((:INTERNAL SWANK::EVAL-FOR-EMACS 0)) 19: ((METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) # #) --more-- ************************************************************************************************ Regards, Nikhil Prabhakar From david at lichteblau.com Thu Jul 17 08:11:49 2008 From: david at lichteblau.com (David Lichteblau) Date: Thu, 17 Jul 2008 10:11:49 +0200 Subject: [plexippus-xpath-devel] Error while loading XPATH In-Reply-To: <884c455a0807170031g3f7d329dt16b3654bbd226a90@mail.gmail.com> References: <884c455a0807170031g3f7d329dt16b3654bbd226a90@mail.gmail.com> Message-ID: <20080717081149.GG29115@radon> Hi, Quoting Nikhil Prabhakar (prabhakar.nikhil at gmail.com): > While loading XPATH, I'm getting the error `No class named: > CXML-XMLS::XPATH-NAVIGATOR.'. I have obtained the copy using: your version of cxml is probably not recent enough for plexippus xpath. Unfortunately, right now you'll need git/darcs versions of most cxml-related projects in order to compile plexippus or xuriella. The git archive for cxml is at git://repo.or.cz/cxml.git (gitweb: http://repo.or.cz/w/cxml.git) and you'll also need a matching closure-common from git://repo.or.cz/closure-common.git (gitweb: http://repo.or.cz/w/closure-common.git) We really need to put up tarball releases of all these projects... (Ivan?) d. PS If on Linux, clbuild will also fetch the right versions for you. See http://common-lisp.net/project/clbuild/ From mail at chaitanyagupta.com Thu Jul 17 14:48:37 2008 From: mail at chaitanyagupta.com (Chaitanya Gupta) Date: Thu, 17 Jul 2008 20:18:37 +0530 Subject: [plexippus-xpath-devel] Error while loading XPATH In-Reply-To: <20080717081149.GG29115@radon> References: <884c455a0807170031g3f7d329dt16b3654bbd226a90@mail.gmail.com> <20080717081149.GG29115@radon> Message-ID: <487F5BC5.3020400@chaitanyagupta.com> David Lichteblau wrote: > We really need to put up tarball releases of all these projects... > (Ivan?) > > That would really be great. We would really like to use these libraries for some of our projects, but I would prefer to use release tarballs rather than use the latest version in the repository. From mail at chaitanyagupta.com Sun Jul 27 10:03:07 2008 From: mail at chaitanyagupta.com (Chaitanya Gupta) Date: Sun, 27 Jul 2008 15:33:07 +0530 Subject: [plexippus-xpath-devel] Problem with ASSERT-EQUAL in test.lisp Message-ID: <488C47DB.6040308@chaitanyagupta.com> Hi, I am using ACL 8.0 on an Intel Mac. When I run XPATH::RUN-ALL-TESTS, I encounter the following error: TEST FAILED: (XPATH:EVALUATE "count(//following::div) * 10 + count(//div|body/div)" (CXML:PARSE-ROD "
" XPATH::*DOM-BUILDER*)) is expected to be 11.0d0 but was 11 If I change ASSERT-EQUAL (in test.lisp) to use EQUALP insted of EQUAL, the tests run fine on my lisp. I have also attached the patch (darcs diff -u). Chaitanya -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: plexippus-xpath.patch URL: