Apparently it's choking on a huge <input /> tag.
On Sat, Jan 29, 2011 at 4:27 PM, Maury Davis mdavis452@gmail.com wrote:
Hi,
Evaluating:
(chtml:parse (drakma:http-request " http://firedepartmentdirectory.com/location/County-Fire-Departments.aspx?sta...") (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