But according to the Atom Pub spec a workspace may contain zero or more collections. How can an Abdera workspace contain zero collections if it throws a NullPointerException? On Mar 26, 2012 8:31 AM, "Christophe Dupriez" <[email protected]> wrote:
> I have a single Workspace so it is not empty! > I prefer to have multiple Abdera services for different information types, > one workspace for services and many collections per workspace. > I follow (roughly) the OData convention + OpenSearch: > http://host/application/**service.svc/collection(record-**id)?opensearch<http://host/application/service.svc/collection(record-id)?opensearch>parameters > > Most of the job is to have a correct Provider and to implement the > CollectionAdapter. > > Have a nice evening, > > Christophe > > Le 26/03/2012 17:15, David Ventimiglia a écrit : > >> Hi, >> >> If I create a DefaultProvider and add a SimpleWorkspaceInfo to it, but >> don't add a CollectionAdapter to that, I get a NullPointerException. How >> is an empty workspace, with no collections, to be represented? >> >> Thanks, David. >> >> >
