Hi Taylor,<div><br></div><div>Do you plan on making full bindings for libxml2? I'd be interested in packaging it as a Blackhole module when you are ready.</div><div>Also, when following your steps I got this error:</div>

<div><div>> (load "xml")</div><div>*** WARNING -- Could not find C function: "____20_xml_2e_o1"</div><div>*** ERROR IN (console)@1.1 -- /home/alvatar/gambit-xml/xml.o1: undefined symbol: ___release_scmobj</div>

<div><br></div></div><div>Using gambit 4.6.3</div><div><br></div><div>Best regards,</div><div><br></div><div>Álvaro</div><div><br></div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 8:09 PM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 2012-02-10, at 2:01 PM, Taylor Venable wrote:<br>
<br>
> Thanks to Valgrind, I found my mistake. I made a vector with size two, then put three items into it. Specifically, the root node went into index 2, which is why that field of the xml-document was the one with the bug. That silly problem fixed, things seem to be working fine. But if anybody has a spare minute and would be willing to check over my code, I would still appreciate any feedback about whether I'm doing things the right way. Especially when it comes to memory management. Thanks!<br>


<br>
</div>I'm glad you found the bug.  I looked at your code yesterday and all the allocations seem correct (use of ___STILL objects, and appropriate reference count management).  It seems I missed the "out of bound" index which was the problem.<br>


<span class="HOEnZb"><font color="#888888"><br>
Marc<br>
</font></span><div class="HOEnZb"><div class="h5"><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>