<div dir="ltr">Is anyone having problems compiling SSAX-SXML on Gambit?<br><br>We used Dominique Boucher's SSAX-SXML. It can be found on the Gambit page's dumping grounds.<br><br>Essentially there has been two issues with this distribution, both of which are easily fixed:<br>
<br> - Add namespace to the distribution. This is done by adding  -prelude '(##namespace ("ssax-sxml#")) (##include "~~/lib/gambit#.scm") (##include "~~/lib/ssax-sxml/ssax-sxml#.scm")' to the gsc compile rows in the Makefile. Make ssax-sxml# contain (##namespace ("ssax-sxml#" [list of the ssax-sxml functions you want to use] )) .<br>
 - Patch the srl:appy-string-append of sxml-tools/serializer.scm , in order never to pass string-append more than 8192 parameters. We did this through rewriting it to use a string port instead. Having this not fixed does cause a problem, I think it is when serializing SXML to XML without passing a port parameter.<br>
<br>Also I have a lose memory that that SSAX-SXML distribution is compiled with (declare (not safe)) by default, which may not be preferable.<br><br>M<br><br><div class="gmail_quote">2008/8/16 Bradley Lucier <span dir="ltr"><<a href="mailto:lucier@math.purdue.edu">lucier@math.purdue.edu</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d"><br>
On Aug 15, 2008, at 10:00 PM, Frederick LeMaster wrote:<br>
<br>
><br>
> Adjusting gambit to accept .c files not in the current directory will<br>
> allow SSAX to build.<br>
> There's a patch for that in bug #41.<br>
<br>
</div>That's not enough for any of the SSAX sources I found (CVS, the<br>
gambit one from 2006) to build using the Makefiles.<br>
<div><div></div><div class="Wj3C7c"><br>
Brad<br>
<br>
_______________________________________________<br>
Gambit-list mailing list<br>
<a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
<a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" target="_blank">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br>
</div></div></blockquote></div><br></div>