[plt-scheme] xexprs and sxml

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Mon Jan 9 19:53:49 EST 2006

I was going to suggest this as well. (Going through the string
interface and constructing response objects that way.)

With regards to ports, do you mean that it would accept a port to read
from or return a port to write to?

I personally don't see a whole lot of value in the web-server knowing
anything about XML/HTML at all, except making it regular to use some
decent libraries for abstracting things. Other than
send/suspend/callback, nothing actually requires XML for doing


On 1/9/06, Robby Findler <robby at cs.uchicago.edu> wrote:
> At Mon, 09 Jan 2006 13:12:54 -0500, Dave Herman wrote:
> > Anton's suggestion was just to go SXML -> XML and pass the strings to
> > the web-server, essentially bypassing any of the web-server's use of
> > x-expressions at all. Lower-tech, but something that works now without
> > me having to generate a mapping.
> This is already possible. See "response" in the web server manual.
> I do think that the web server could improve in this regard a little
> bit, tho, by allowing a response to be a port. There's been a lot of
> port improvements in v300 that the web server can take good advantage
> of in a simple way, if that were the case.
> (All of the (listof (union string bytes)) parts of the variants of
> response should be probably become ports, in fact.)
> Robby
> _________________________________________________
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme

Jay McCarthy <jay at cs.brown.edu>

Posted on the users mailing list.