From: Patrick B. <pat...@jo...> - 2011-05-12 21:22:14
|
Are you referring to the eval function in org.exist.xquery.functions.xmldb.XMLDBAbstractCollectionManipulator? Because that appears to call the code I referenced: line 168: evalWithCollection(collection, args, contextSequence); Cheers, Patrick On Thu, May 12, 2011 at 5:09 PM, Dannes Wessels <da...@ex...> wrote: > > On 12 May 2011, at 23:04 , Patrick Bosek wrote: > > > Resource resource = collection.getResource(doc); > > if (resource == null) { > > logger.error("Resource " + doc + " not found"); > > throw new XPathException(this, "Resource " + doc + " > not found"); > > } > > collection.removeResource(resource); > > > > > > Am I missing something? > > the actual work is done elsewhere.... > > anyway before committing code, I'd 'appreciate' if you have your code > changed reviewed, e.g. by adam or dmitiry > > thx > > Dannes > > > -- > Dannes Wessels > eXist-db Open Source Native XML Database > e: da...@ex... > w: http://www.exist-db.org > > > > > > > -- Patrick Bosek Jorsek Software Cell (585) 820 9634 Office (585) 239 6060 Jorsek.com |