I'm having trouble building cxml-stp, because xpath isn't quite working.<div><br></div><div>I realize that Plexippus XPath is not designed for CLISP, but I think we can work together to change that.</div><div><meta charset="utf-8"><span class="Apple-style-span" style="font-family: helvetica, arial, freesans, clean, sans-serif; font-size: 13px; "><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
Specs:</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
cxml-stp 20101107</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
Quicklisp 2010121400</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
CLISP 2.49</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
MacPorts 1.9.2</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
Mac OS X 10.6.6</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
MacBook Pro 5,1</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
Trace:</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
<meta charset="utf-8"><span class="Apple-style-span" style="line-height: 18px; "></span></p><pre style="margin-top: 1em; margin-right: 0px; margin-bottom: 1em; margin-left: 0px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; font: normal normal normal 12px/normal Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; line-height: 1.5em; font-size: 12px; background-color: rgb(238, 238, 238); border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: rgb(221, 221, 221); border-right-color: rgb(221, 221, 221); border-bottom-color: rgb(221, 221, 221); border-left-color: rgb(221, 221, 221); color: rgb(68, 68, 68); overflow-x: auto; overflow-y: auto; -webkit-box-shadow: rgba(0, 0, 0, 0.0625) 0px 1px 2px inset; border-top-left-radius: 3px 3px; border-top-right-radius: 3px 3px; border-bottom-right-radius: 3px 3px; border-bottom-left-radius: 3px 3px; ">
<code style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px !important; padding-right: 0px !important; padding-bottom: 0px !important; padding-left: 0px !important; font: normal normal normal 12px/normal Monaco, 'Courier New', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; line-height: 1.4em; font-size: 12px !important; background-color: rgb(238, 238, 238) !important; color: rgb(68, 68, 68) !important; border-top-width: 1px !important; border-right-width: 1px !important; border-bottom-width: 1px !important; border-left-width: 1px !important; border-top-style: none !important; border-right-style: none !important; border-bottom-style: none !important; border-left-style: none !important; border-top-color: rgb(222, 222, 222) !important; border-right-color: rgb(222, 222, 222) !important; border-bottom-color: rgb(222, 222, 222) !important; border-left-color: rgb(222, 222, 222) !important; border-width: initial !important; border-color: initial !important; ">[1]> (ql:quickload "cxml-stp")
To load "cxml-stp":
Load 5 ASDF systems:
alexandria babel cl-ppcre puri trivial-gray-streams
Install 6 Quicklisp releases:
cl-yacc closure-common cxml cxml-stp parse-number
plexippus-xpath
; Fetching
#<URL
"<a href="http://beta.quicklisp.org/archive/cl-yacc/2010-10-06/cl-yacc-20101006-darcs.tgz">http://beta.quicklisp.org/archive/cl-yacc/2010-10-06/cl-yacc-20101006-darcs.tgz</a>">
; 18.33KB
==================================================
18,774 bytes in 0.04 seconds (453.17KB/sec)
; Fetching
#<URL
"<a href="http://beta.quicklisp.org/archive/parse-number/2010-10-06/parse-number-1.0.tgz">http://beta.quicklisp.org/archive/parse-number/2010-10-06/parse-number-1.0.tgz</a>">
; 3.64KB
==================================================
3,726 bytes in 0.00 seconds (751.17KB/sec)
; Fetching
#<URL
"<a href="http://beta.quicklisp.org/archive/plexippus-xpath/2010-10-06/plexippus-xpath-20101006-darcs.tgz">http://beta.quicklisp.org/archive/plexippus-xpath/2010-10-06/plexippus-xpath-20101006-darcs.tgz</a>">
; 54.64KB
==================================================
55,953 bytes in 0.12 seconds (451.61KB/sec)
; Fetching
#<URL
"<a href="http://beta.quicklisp.org/archive/closure-common/2010-11-07/closure-common-20101107-git.tgz">http://beta.quicklisp.org/archive/closure-common/2010-11-07/closure-common-20101107-git.tgz</a>">
; 26.95KB
==================================================
27,601 bytes in 0.05 seconds (587.12KB/sec)
; Fetching
#<URL
"<a href="http://beta.quicklisp.org/archive/cxml/2010-11-07/cxml-20101107-git.tgz">http://beta.quicklisp.org/archive/cxml/2010-11-07/cxml-20101107-git.tgz</a>">
; 151.09KB
==================================================
154,716 bytes in 0.32 seconds (479.20KB/sec)
; Fetching
#<URL
"<a href="http://beta.quicklisp.org/archive/cxml-stp/2010-11-07/cxml-stp-20101107-git.tgz">http://beta.quicklisp.org/archive/cxml-stp/2010-11-07/cxml-stp-20101107-git.tgz</a>">
; 50.82KB
==================================================
52,036 bytes in 0.10 seconds (531.95KB/sec)
; Loading "cxml-stp"
;;; Checking for wide character support... WARNING: Lisp implementation doesn't use UTF-16, but accepts surrogate code points.
yes, using code points.
;;; Checking for wide character support... WARNING: Lisp implementation doesn't use UTF-16, but accepts surrogate code points.
yes, using code points.
;;; Building Closure with CHARACTER RUNES
[package yacc]....................................
[package cl-ppcre]................................
[package org.mapcar.parse-number].................
[package runes]...................................
[package utf8-runes]..............................
[package runes-encoding]..........................
[package hax].....................................
[package cxml]....................................
[package sax].....................................
[package cxml-xmls]...............................
[package dom].....................................
[package rune-dom]................................
[package klacks]..................................
[package domtest].................................
[package domtest-tests]...........................
[package xmlconf].................................
[package xpath-protocol]..........................
[package xpattern]................................
[package xpath]...................................
[package xpath-sys]...........
*** - LOOP: syntax error after HASH-KEY in
(LOOP FOR KEY BEING EACH HASH-KEY USING (HASH-VALUE ACCUM) IN TABLE IF
(AND (CONSP KEY) (EQ (CAR KEY) 'PATTERN)) COLLECT (CONS KEY ACCUM) INTO
PATTERNS ELSE COLLECT (CONS KEY ACCUM) INTO EXPRESSIONS FINALLY
(RETURN
(VALUES (SORT EXPRESSIONS #'> :KEY #'SECOND)
(SORT PATTERNS #'> :KEY #'SECOND))))
The following restarts are available:
TRY-RECOMPILING :R1 Try recompiling profile
RETRY :R2 Retry compiling component ("xpath" "profile").
ACCEPT :R3 Continue, treating compiling component ("xpath" "profile") as having been successful.
ABORT :R4 Give up on "cxml-stp"
ABORT :R5 Abort main loop
Break 1 XPATH[2]> :r2
*** - LOOP: syntax error after HASH-KEY in
(LOOP FOR KEY BEING EACH HASH-KEY USING (HASH-VALUE ACCUM) IN TABLE IF
(AND (CONSP KEY) (EQ (CAR KEY) 'PATTERN)) COLLECT (CONS KEY ACCUM) INTO
PATTERNS ELSE COLLECT (CONS KEY ACCUM) INTO EXPRESSIONS FINALLY
(RETURN
(VALUES (SORT EXPRESSIONS #'> :KEY #'SECOND)
(SORT PATTERNS #'> :KEY #'SECOND))))
The following restarts are available:
TRY-RECOMPILING :R1 Try recompiling profile
RETRY :R2 Retry compiling component ("xpath" "profile").
ACCEPT :R3 Continue, treating compiling component ("xpath" "profile") as having been successful.
ABORT :R4 Give up on "cxml-stp"
ABORT :R5 Abort main loop</code></pre></span><p></p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
Cheers,</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
Andrew Pennebaker</p><p style="margin-top: 1em !important; margin-right: 0px !important; margin-bottom: 1em !important; margin-left: 0px !important; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; line-height: 1.5em !important; ">
<a href="http://www.yellosoft.us/">http://www.yellosoft.us/</a></p></div>