From: Dannes W. <da...@ex...> - 2010-04-18 10:57:51
|
Hi Drew, On 17 Apr 2010, at 0:41 , Drew Toto wrote: > The collections and subcollections are extracted, but, there is always one resource missing from each collection. Looking at the source code (line 137 of org.exist.ant.XMLDBExtractTask.java), it looks like the missing resource is the result of initializing the iteration variable to 1, instead of 0. When I modify the source code to start at 0 (vice 1), and recompile and run the Ant extract task, I see the results I am expecting (no missing resources). As I am not deeply familiar with the > code, I was hoping someone could verify the bug or functionality of this feature. Thank you for your mail. I checked the code, and just like you said the start at "1" looks a bit strange to me. I'll fix the code according to your suggestion. Kind regards Dannes -- eXist-db Native XML Database - http://exist-db.org Join us on linked-in: http://www.linkedin.com/groups?gid=35624 |