i noticed a lot of postings to the list from quite a long time ago
talking about bugs in contentNodeIterator.
From what I can tell, at least one of the problems hasn't been fixed,
or else the documentation for the tag is incorrect.
From what I can tell from looking at the code it implements "end" by
checking to see whether the number of times it has iterated is greater
than the "end" value. This means that (unless "begin"=0) "end" is
actually not the "zero based index of the last item to process" (from
the tag documentation) , but the *number of times* you want to iterate.
To get it to behave as documented you'd have to have something like :
if(this.end !=null && (count*step)+begin>end.intValue())
return false;
(I haven't tested this code, it's just a guess)
Either the confusing tag documentation needs to be updated, or the
code fixed, I think.
Josh
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------