El mar, 14-03-2006 a las 15:26 -0500, Doug Chestnut escribió:
> Hi Renaud,
> I just got back from vacation to find you folks are working on webDAV,
> sweet :).
jeje, welcome back. ;)
>
> Renaud Richardet wrote:
> > Hello,
> >
> > While further implementing the webdav protocol for Lenya, we realized
> > that clients behave differently,
Yeah, e.g. Jonathan reported:
Dreamweaver
* MKCOL
* Error creating new file
* But looking in the authoring folder in build a new
temporary folder CRXDQWHFA has been created
* No files are inside the folder though
* So the MKCOL method is adding files and folders to the
server, but Dreamweaver's way of creating new files by
first creating temporary files is causing errors
...but with cadaver that is working perfect since it does not create tmp
folder on the server.
The problem with this tmp folders/files are that they are not registered
in lenya and therefore cannot be deleted using the standard delete
method of webdav. This will cause a file not found error.
Further if we do not use
org.apache.lenya.cms.site.usecases.Delete but rather a custom usecase
with some brute force in using IO calls and going directly on the file
system (if document is not registered with lenya) that will fail in the
future with jcr, right?
> and that we should better start with a
> > small set of usecases. Here's a proposal (supported clients/editors -
> > usecases):
> >
> > a)
> > open cadaver
> > set editor vi
> > edit document.xml
> > save the file in vi
> >
> > b)
> > open with cadaver
> > set editor ooffice2
> > edit document.odt with openoffice
> > save the file in openoffice
> >
> > c)
> > open webdav site in dreamweaver
> > edit a file in dw
> > save a file in dw
> >
> > d)
> > open netdrive folder (webdav client for windows)
> > double click on document.odt
> > edit document in ooffice
> > save the document in ooffice
> >
> > Do see other usecases to start with?
>
> Open OO
> open document dialog (using OO dialog which supports webDAV)
> enter publication webDAV url
> select your file to open
> click open
> edit
> click save icon
>
f) mkcol (creating new folders/collections) with cadaver
> >
> > Another issue is re the uploaded document validation (which occurs in
> > Put.java). This is hadcoded to validate xhtml document, and should
> > rather be dropped, or (better) delegated to the corresponding
> > ressource-type module. WDYT?
> Delegated to resource-type module
I strongly agree we should only use input/outputstream saving otherwise
we limit PUT.java to xml only.
+1
>
> >
> > TIA,
> > Renaud
> >
Thanks Renaud for bringing this up. :)
salu2
--
Thorsten Scherler
COO Spain
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]