Re: [racket] Fwd: read-xml: lex-error when reading Javascript

2014-05-02 Thread Raoul Duke
or run it all through a proxy ;-) https://www.google.com/search?q=convert+html+to+xhtml Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Fwd: read-xml: lex-error when reading Javascript

2014-05-02 Thread Neil Van Dyke
Alegria Baquero wrote at 04/25/2014 04:01 PM: It turns out it believes the operator '<' is an opening xml tag. You're using an XML parser, but HTML is not necessarily XML. You could try to get the file past the XML parser by wrapping the JavaScript parts as per "http://en.wikipedia.org/wiki

[racket] Fwd: read-xml: lex-error when reading Javascript

2014-05-02 Thread Alegria Baquero
Hello, I am using the web-server/servlet library to deploy an html: (let ((start (lambda (req) (response/xexpr (string->xexpr (include-template "ui/page.html")) Page.html includes Javascript code and everything works well until I try to use a comparison op