[plt-scheme] Unexpected exception in read-xml

From: Robert Bruce Findler (robby at cs.uchicago.edu)
Date: Thu Jan 23 14:12:22 EST 2003

The XML library's error message isn't super clear (and probably should
be improved), but from the source location it looks like you should
have a & in this line:

      <title>Ion Updated & Phantom Star Released</title>

Robby

At Thu, 23 Jan 2003 20:01:13 +0100, Jens_Axel_Søgaard wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> 
> The snippet below raises this expression:
> 
>   read-xml: lex-error: at position 29.28/879: expected name, received
> #\space
> 
> Is that intended?
> 
> (require (lib "url.ss" "net")
>          (lib "xml.ss" "xml"))
> 
> (read-xml (get-pure-port
>            (string->url "http://www.ticalc.org/mynetscape.xml")))
> 
> 
> --
> Jens Axel Søgaard
> 



Posted on the users mailing list.