From: Wolfgang M. <wol...@gm...> - 2007-02-01 10:56:37
|
> I am connecting to a eXist db remotely > xmldb:exist://localhost:5080/exist/xmlrpc (on eXist 1.1.1newcore) and > run some queries from an application. The application gets a > ResourceSet streams back resset.getResource(0) and then does a > resset.removeResource(0) so it should go through all the results. I tried this on the current SVN trunk and it worked as expected: int count = (int) result.getSize(); for ( int i = 0; i < count; i++ ) { XMLResource resource = (XMLResource) result.getResource( 0 ); resource.getContentAsSAX(serializer); result.removeResource(0); } Wolfgang |