[plt-scheme] sxml.ss - Works on its own, but not in module

From: Eric Biunno (01rice at gmail.com)
Date: Sat Jan 12 23:20:50 EST 2008

Hi, I'm a little confused. The following code works as expected:

(require (planet "sxml.ss" ("lizorkin" "sxml.plt" 1 4)))

  (define test
    (apply
 string-append
 (sxml:clean-feed
   (stx:transform-dynamic
     (sxml:add-parents
      (sxml:document "http://modis.ispras.ru/Lizorkin/XML/poem.xml"))
     (stx:make-stx-stylesheet
       (sxml:document
         "http://modis.ispras.ru/Lizorkin/XML/poem2html.xsl"
         '((xsl . "http://www.w3.org/1999/XSL/Transform")))))))
   )

(test)

But when I create a module with this code and then call (test) from another
file I get the following error:
.plt-scheme/planet/300/371/cache/lizorkin/sxml.plt/1/4/stx-engine.ss::12970:reference
to undefined identifier: sxpath

Is there something about modules and PLaneT that I'm missing? or is this a
problem with sxml.ss? or something else?

Thanks for your time,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20080112/13012bc7/attachment.html>

Posted on the users mailing list.