Hello list,
this error occurs after a fresh git-clone:
-+ Errors (1) `-- SB-INT:SIMPLE-READER-PACKAGE-ERROR at 5492 (line 123, column 30) on #<SB-SYS:FD-STREAM for "file /LISP/cxml/xml/unparse.lisp" {C538FC9}>: Symbol "FIND-OUTPUT-ENCODING" not found in the RUNES package.
This is with sbcl-1.0.15 / Ubuntu w. CLC and (CVS) slime.
Cheers, RalfD
Hi,
Quoting Ralf Mattes (rm@seid-online.de):
-+ Errors (1) `-- SB-INT:SIMPLE-READER-PACKAGE-ERROR at 5492 (line 123, column 30) on #<SB-SYS:FD-STREAM for "file /LISP/cxml/xml/unparse.lisp" {C538FC9}>: Symbol "FIND-OUTPUT-ENCODING" not found in the RUNES package.
did you also update the closure-common checkout?
d.
On Tue, 2008-05-20 at 19:56 +0200, David Lichteblau wrote:
Hi,
Quoting Ralf Mattes (rm@seid-online.de):
-+ Errors (1) `-- SB-INT:SIMPLE-READER-PACKAGE-ERROR at 5492 (line 123, column 30) on #<SB-SYS:FD-STREAM for "file /LISP/cxml/xml/unparse.lisp" {C538FC9}>: Symbol "FIND-OUTPUT-ENCODING" not found in the RUNES package.
did you also update the closure-common checkout?
Next error:
CL-USER> (with-open-file (s "example.xml" :direction :output) (write-string "<test a='b'><child/></test>" s)) "<test a='b'><child/></test>" CL-USER> (cxml:parse-file "example.xml" (cxml-dom:make-dom-builder))
----> Document not well-formed: Expected '!' or '?' after '<' in DTD. Context: Line 1, column 2 in file://+/home/ralf/.emacs.d/example.xml
[Condition of type WELL-FORMEDNESS-VIOLATION]
Restarts: 0: [ABORT] Return to SLIME's top level. 1: [ABORT] Exit debugger, returning to top level.
Backtrace: 0: (CXML::%ERROR WELL-FORMEDNESS-VIOLATION #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>)) "Document not well-formed: Expected '!' or '?' after '<' in DTD.") 1: (CXML::%ERROR WELL-FORMEDNESS-VIOLATION #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>)) "Document not well-formed: Expected '!' or '?' after '<' in DTD.")[:EXTERNAL] 2: (CXML::WF-ERROR #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>)) "Expected '!' or '?' after '<' in DTD.")[:EXTERNAL] 3: (CXML::READ-TOKEN-AFTER-< #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>)) #<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>) 4: (CXML::PEEK-TOKEN #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>))) 5: (CXML::P/XMLDECL #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>))) 6: (CXML::P/DOCUMENT #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>)) #<RUNE-DOM::DOM-BUILDER {BC10001}>)[:EXTERNAL] 7: ((LAMBDA (CXML::ZSTREAM)) #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>))) 8: (CXML::CALL-WITH-ZSTREAM #<CLOSURE (LAMBDA (CXML::ZSTREAM)) {BC1D795}> #S(CXML::ZSTREAM :TOKEN-CATEGORY NIL :TOKEN-SEMANTIC NIL :INPUT-STACK (#<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]>))) 9: (CXML::PARSE-XSTREAM #<RUNES:XSTREAM [main document :MAIN file://+/home/ralf/.emacs.d/example.xml]> #RUNE-DOM::DOM-BUILDER {BC10001})[:EXTERNAL] 10: (CXML::CALL-WITH-OPEN-XFILE #<CLOSURE (LAMBDA (CXML::INPUT)) {BC1003D}>)[:EXTERNAL] 11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PARSE-FILE "example.xml" (RUNE-DOM:MAKE-DOM-BUILDER)) #<NULL-LEXENV>) 12: (SWANK::EVAL-REGION "(cxml:parse-file "example.xml " (cxml-dom:make-dom-builder)) ") 13: ((LAMBDA NIL)) 14: (SWANK::TRACK-PACKAGE #<CLOSURE (LAMBDA NIL) {BC0FBD5}>) 15: ((LAMBDA (SWANK-BACKEND::FN)) #<CLOSURE (LAMBDA NIL) {BC0FBBD}>) 16: (SWANK::CALL-WITH-BUFFER-SYNTAX #<CLOSURE (LAMBDA NIL) {BC0FBBD}>) 17: (SWANK::REPL-EVAL "(cxml:parse-file "example.xml " (cxml-dom:make-dom-builder)) ") 18: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(cxml:parse-file "example.xml" (cxml-dom:make-dom-builder)) ") #<NULL-LEXENV>) 19: ((LAMBDA NIL)) 20: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {BC0FA7D}>) 21: ((LAMBDA NIL)) 22: ((LAMBDA (SWANK-BACKEND::HOOK SWANK-BACKEND::FUN)) #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<FUNCTION (LAMBDA NIL) {B4ED62D}>) 23: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {B6CC989}> #<CLOSURE (LAMBDA NIL) {BC0E17D}>) 24: (SWANK::CALL-WITH-CONNECTION #<SWANK::CONNECTION {B6CC989}> #<FUNCTION (LAMBDA NIL) {B4ED62D}>) 25: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {B6CC989}>) 26: (SWANK::PROCESS-AVAILABLE-INPUT #<SB-SYS:FD-STREAM for "a socket" {B6CBD49}> #<CLOSURE (LAMBDA NIL) {BC0E16D}>) 27: ((FLET SWANK::HANDLER)) 28: ((LAMBDA (SWANK-BACKEND::_)) #<unused argument>) 29: (SB-IMPL::SUB-SERVE-EVENT #<unavailable argument> #<unavailable argument> NIL) 30: (SB-SYS:WAIT-UNTIL-FD-USABLE 0 :INPUT NIL) 31: (SB-IMPL::REFILL-INPUT-BUFFER #<SB-SYS:FD-STREAM for "standard input" {AD3D849}>) 32: (SB-IMPL::INPUT-CHAR/UTF-8 #<SB-SYS:FD-STREAM for "standard input" {AD3D849}> NIL #:EOF-OBJECT) 33: (READ-CHAR #<SB-SYS:FD-STREAM for "standard input" {AD3D849}> NIL #:EOF-OBJECT #<unused argument>) 34: (READ-CHAR #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {9110E91}> NIL #:EOF-OBJECT #<unused argument>) 35: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {9110E91}> NIL (NIL) T) 36: (READ-PRESERVING-WHITESPACE #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {9110E91}> NIL (NIL) NIL) 37: (READ #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {9110E91}> NIL (NIL) NIL) 38: (SB-IMPL::REPL-READ-FORM-FUN #<SYNONYM-STREAM :SYMBOL SB-SYS:*STDIN* {9110E91}> #<unavailable argument>) 39: (SB-IMPL::REPL-FUN NIL) 40: (SB-IMPL::REPL-FUN NIL)[:EXTERNAL] 41: ((LAMBDA NIL)) 42: ((LAMBDA NIL))[:EXTERNAL] 43: (SB-IMPL::%WITH-REBOUND-IO-SYNTAX #<CLOSURE (LAMBDA NIL) {AE295BD}>) 44: (SB-IMPL::TOPLEVEL-REPL NIL) 45: (SB-IMPL::TOPLEVEL-INIT) 46: ((LABELS SB-IMPL::RESTART-LISP))
Cheers, RalfD
d.
Quoting Ralf Mattes (rm@seid-online.de):
CL-USER> (with-open-file (s "example.xml" :direction :output) (write-string "<test a='b'><child/></test>" s)) "<test a='b'><child/></test>" CL-USER> (cxml:parse-file "example.xml" (cxml-dom:make-dom-builder))
----> Document not well-formed: Expected '!' or '?' after '<' in DTD. Context: Line 1, column 2 in file://+/home/ralf/.emacs.d/example.xml
[Condition of type WELL-FORMEDNESS-VIOLATION]
Sorry, I can't reproduce that with this file.
Is that an SBCL with unicode support? Have you tried cleaning fasls and restarting? Which external format does SBCL use when creating the file? (As you can tell, I'm running out of ideas...)
d.