On Fri, Oct 23, 2009 at 09:03:58AM +0200, Peter Bex wrote:
> On Thu, Oct 22, 2009 at 10:10:14PM -0400, Taylor Venable wrote:
> > Error: unbound variable: ssax:scan-Misc
> > 
> > I can't see the problem in my code, if there is one; I'm just starting  
> > to work with this so any ideas are appreciated.  Thank you.
> 
> This probably has something to do with the module exports.  I don't
> fully understand module exports for macros.  Please try the attached
> patch.  I will be gone during the weekend, so if it doesn't work,
> perhaps other people can help.

Thanks for the tip-off.  After exercising a bit more of the ssax egg's
functionality, I came up with a list of the things that I at least
needed to add to the export list to get it to work.  Being rather new
to the way eggs work, I've not the faintest idea of whether this is
the right way to fix it or not, but at least I got it to function.

Patch attached.

-- 
Taylor Venable
http://metasyntax.net/
Index: ssax-chicken.scm
===================================================================
--- ssax-chicken.scm    (revision 16243)
+++ ssax-chicken.scm    (working copy)
@@ -3,7 +3,7 @@
 
 (module ssax
 
-((ssax:make-parser fold)
+((ssax:make-parser fold ssax:scan-Misc ssax:Prefix-XML ssax:complete-start-tag 
ssax:read-char-data ssax:assert-token ssax:warn parser-error 
ssax:skip-internal-dtd ssax:ncname-starting-char? ssax:skip-pi ssax:skip-S 
ssax:S-chars ssax:read-external-id ssax:read-QName ssax:read-markup-token 
ssax:handle-parsed-entity)
  (ssax:make-pi-parser fold)
  (ssax:make-elem-parser fold)
  ssax:xml->sxml)
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to