[Introspector-developers] Re: Redland/Raptor problem
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2003-01-15 17:31:02
|
mario, please post this also to the mailling list :) I hope you dont mind that i forward your mail. And for raptor issues : re...@ya... http://groups.yahoo.com/group/redland/ the current issue : ah yes that is the change in the interator ; in the new system you use http://www.redland.opensource.ac.uk/docs/pod/RDF/Redland/Iterator.html my $iterator=$model->targets_iterator($source_node, $arc_node); while($iterator && !$iterator->end) { my $node=$iterator->current; ... $iterator->next; } in the older you use i next just next, and that returns the current iirc : my $iterator=$model->targets_iterator($source_node, $arc_node); while (defined($x)) { $x = $iterator->next; } I cannot acces the cvs web, so i cannot tell you right now how i did it. --- Bernardi Mario Luca <mar...@in...> wrote: > Hi mike , > i'm having some problems with RDF_Stats & redland. > In the handler package you have used ->current() method that belong > only > to the cvs version of redland. > I've compiled the cvs version lib with success but the perl interface > give me an error on swig processing. It says there is a syntax error > on > Redland.i. Hmm... i did not reprocess the swig, just used the code in there. > I've swig 1.3.10 , do you know there are some issues ( i > must > use a particular version ) ? What version you have for redland? I used cvs head. But oh god, i hope that this is not the mixed up cvs + release version that i have been testing with! > I'll also ask this question on redland irc channel. ok mike ===== James Michael DuPont http://introspector.sourceforge.net/ __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com |