[cxml-devel] ... and another

Marco Antoniotti marcoxa at cs.nyu.edu
Thu Apr 21 23:28:24 UTC 2011


On Apr 21, 2011, at 16:54 , David Lichteblau wrote:

> Quoting Marco Antoniotti (marcoxa at cs.nyu.edu):
>> Always on LWM.  I assume this has to do with UNICODE or not support, but the example in the docs is misleading.
>> 
>> 
>> CL-USER 37 > (defparameter *source* (cxml:make-source "<example>text</example>"))
> 
> That example should work in any implementation with Unicode support.
> 
> Backtrace?
> Value of *features*?
> 


Here they are.  I suspect that LWM does not support UNICODE.

CL-USER 2 > (defparameter *source* (cxml:make-source "<example>text</example>"))

Error: In = of (#\< 254) arguments should be of type NUMBER.
  1 (continue) Return a value to use.
  2 Supply a new first argument.
  3 (abort) Return to level 0.
  4 Return to top loop level 0.

Type :b for backtrace or :c <option number> to proceed.
Type :bug-form "<subject>" for a bug report template or :? for other options.

CL-USER 3 : 1 > :b
Call to ERROR
Call to (METHOD RUNES::FIGURE-ENCODING (STREAM))
Call to RUNES:MAKE-XSTREAM
Call to CXML:MAKE-SOURCE
Call to LET
Call to LET
Call to EVAL
Call to CAPI::CAPI-TOP-LEVEL-FUNCTION
Call to CAPI::INTERACTIVE-PANE-TOP-LOOP
Call to MP::PROCESS-SG-FUNCTION

CL-USER 4 : 1 > (pprint *features*)

(BABEL::UCS-2-CHARS
 :RUNE-IS-CHARACTER
 :RUNE-IS-UTF-16
 :ASDF2
 :ASDF
 :MK-DEFSYSTEM
 :COMMON-LISPWORKS
 :LW-EDITOR
 :CAPI-COCOA-LIB
 :CAPI-TOOLKIT
 :CAPI
 :DBCS-ENV
 :COCOA
 :UNIX-WITHOUT-MOTIF
 :COMMON-FFI
 :NEW-PATCH-SYSTEM
 :BYTE-INSTRUCTIONS
 :COMPILER
 :SHALLOW-BINDING
 :ANSI-CL
 :COMMON-LISP
 :IEEE-FLOATING-POINT
 :LISPWORKS
 :CLASS-SHAKE-USING-GATES
 :COMMON-DEFSYSTEM
 :CLOS
 :DBCS
 :UNICODE
 :NATIVE-THREADS
 :UNIX
 :HARLEQUIN-COMMON-LISP
 :LISPWORKS-32BIT
 :LATIN-1
 :LISPWORKS6
 :LISPWORKS6.0
 :PTHREADS
 :DARWIN
 :MAC
 :MACOSX
 :APPLE
 ...)

CL-USER 5 : 1 > 

Any idea about how to fix this?

--
Marco Antoniotti


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cxml-devel/attachments/20110421/56358756/attachment.html>


More information about the cxml-devel mailing list