On Sun, 2004-04-04 at 17:00, Guido Casper wrote:
> Rolf Kulemann wrote:
> > Hello (Guido),
> >
> > I have done a small js file to test the functionalities of the new
> > WebDAVRepository[1] using the NEW Repository[2] interface.
> >
> > I encountered a problem creating new reosurces.
> > It does not work when using saveContent(String, String) on the [1]/[2].
> >
> > Normally, looking at the WebDAVUtil class, there is a special method
> > createResource(URI) which is used to create a new resource.
> >
> > The problem is, the repository interface does not provide such a method,
> > yet.
> >
> > Does it make sense to add a method called makeResource to the Repository
> > interface ??
>
> Just did that :-)
Wouldn't it be useful also to have
createResource(String url, Source src)
createResource(String url, Node src)
??
--
Regards,
Rolf Kulemann