return pos < resources.size();
return resources == null ? false : pos < resources.size();
        public boolean hasMoreResources() throws XMLDBException {            return pos < resources.size();        }