[closure-devel] index error in SGML::READ-LITERAL

Maury Davis mdavis452 at gmail.com
Sun Jan 30 00:36:52 UTC 2011


Hi,

Evaluating:

(chtml:parse (drakma:http-request "
http://firedepartmentdirectory.com/location/County-Fire-Departments.aspx?state=New%20York&county=Westchester")
(cxml-stp:make-builder))

I'm getting:

Index 12288 out of bounds for (SIMPLE-ARRAY CHARACTER (12288)), should be
nonnegative and <12288.
   [Condition of type SB-INT:INVALID-ARRAY-INDEX-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [TERMINATE-THREAD] Terminate this thread (#<THREAD "new-repl-thread"
RUNNING {C559489}>)

Backtrace:
  0: (SGML::READ-LITERAL #<RUNES:XSTREAM NIL> #<SGML::DTD (:PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN")> #\")
  1: (SGML::READ-ATTRIBUTE #<RUNES:XSTREAM NIL> #<SGML::DTD (:PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN")>)
  2: (SGML::READ-NAME-AND-ATTRIBUTES #<RUNES:XSTREAM NIL> #<SGML::DTD
(:PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN")>)
  3: (SGML::READ-START-TAG #<RUNES:XSTREAM NIL> #<SGML::DTD (:PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN")>)
  4: (SGML::READ-TAG #<RUNES:XSTREAM NIL> #<SGML::DTD (:PUBLIC "-//W3C//DTD
HTML 4.0 Frameset//EN")>)
  5: (SGML::READ-TOKEN* #<RUNES:XSTREAM NIL> #<SGML::DTD (:PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN")>)
  6: (SGML:SGML-PARSE #<SGML::DTD (:PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN")> #<RUNES:XSTREAM NIL>)
  7: (CLOSURE-HTML::PARSE-XSTREAM #<RUNES:XSTREAM NIL>
#<CXML-STP-IMPL::BUILDER {AC3ED09}>)
  8: (SB-INT:SIMPLE-EVAL-IN-LEXENV ..)

using SBCL 1.0.44.

Have:
closure-common-20101107-git
closure-html-20101006-git
cxml-20101107-git
cxml-stp-20101107-git

installed recently with quicklisp.

Other web pages are parsed without error.

Thanks,
Maury Davis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/closure-devel/attachments/20110129/06467471/attachment.html>


More information about the closure-devel mailing list