<?xml version="1.0"?>
<paste-with-annotations>
  <paste>
    <number>
      <integer>6241</integer>
    </number>
    <user>
      <string>lemonodor</string>
    </user>
    <title>
      <string>this xmls patch fixed generation in ACL</string>
    </title>
    <contents>
      <string>(defun xmls::write-escaped (string stream)
  &quot;Writes string to stream with all character entities escaped.&quot;
  (coerce string 'string)
  (when (eq stream t) (setf stream *standard-output*))
  (dotimes (i (length string))
    (let* ((char (char string i))
           (code (char-code char)))
      (if (&gt; code 255)
          (format nil &quot;&amp;#~S;&quot; code)
          (write-sequence (svref xmls::*char-escapes* code) stream)))))
</string>
    </contents>
    <universal-time>
      <integer>3318798454</integer>
    </universal-time>
    <channel>
      <string>#lisp</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
  </paste>
  <annotation>
    <number>
      <integer>2</integer>
    </number>
    <user>
      <string>tolstoy</string>
    </user>
    <title>
      <string>backtrace</string>
    </title>
    <contents>
      <string>The value #\&#xE2; is not of type BASE-CHAR.
   [Condition of type TYPE-ERROR]

Restarts:
  0: [ABORT] Abort handling SLIME request.
  1: [ABORT] Reduce debugger level (leaving debugger, returning to toplevel).
  2: [TOPLEVEL] Restart at toplevel READ/EVAL/PRINT loop.

Backtrace:
  0: (SB-KERNEL:HAIRY-DATA-VECTOR-SET 3 &quot;&lt;p&gt; 
As &lt;a href=\&quot;http://lemonodor.com/archives/001077.html\&quot;&gt;seen on Lemonodor&lt;/a&gt;... 
&lt;blockquote&gt; 
&lt;em&gt; 
The book &lt;a href=\&quot;http://www.amazon.com/exec/obidos/ASIN/1590592395/qid=1109294066/sr=2-1/ref=pd_ka_b_2_1/103-3914066-2665435\&quot;&gt;Practical Common Lisp&lt;/a&gt; shows the power of Lisp not only in the areas that it has traditionally been noted for</string>
    </contents>
    <universal-time>
      <integer>3318799620</integer>
    </universal-time>
    <channel>
      <string>#lisp</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
  </annotation>
  <annotation>
    <number>
      <integer>1</integer>
    </number>
    <user>
      <string>lemonodor</string>
    </user>
    <title>
      <string>well, that explains why some characters went missing</string>
    </title>
    <contents>
      <string>(defun xmls::write-escaped (string stream)
  &quot;Writes string to stream with all character entities escaped.&quot;
  (coerce string 'string)
  (when (eq stream t) (setf stream *standard-output*))
  (dotimes (i (length string))
    (let* ((char (char string i))
           (code (char-code char)))
      (if (&gt; code 255)
          ;; OOPS
          (format stream &quot;&amp;#~S;&quot; code)
          (write-sequence (svref xmls::*char-escapes* code) stream)))))</string>
    </contents>
    <universal-time>
      <integer>3318798644</integer>
    </universal-time>
    <channel>
      <string>#lisp</string>
    </channel>
    <colorization-mode>
      <string></string>
    </colorization-mode>
    <maybe-spam>
      <null/>
    </maybe-spam>
    <is-unicode>
      <null/>
    </is-unicode>
  </annotation>
</paste-with-annotations>