WebDAV properties & namespace
Michael Stahl
mstahl at redhat.com
Mon Apr 30 10:09:09 PDT 2012
On 30/04/12 16:02, Adam Tauno Williams wrote:
> I work on a WebDAV server. Looking at requests from LibreOffice
> [3.4.5.5-4.5.1 on openSUSE 12.1] I see requests for properties in the
> "http://ucb.openoffice.org/dav/props/" namespace. But the only places I
> can find mention of this namespace are:
>
> <http://code.google.com/p/sabredav/wiki/OpenOffice>
> <http://www.openoffice.org/ucb/docs/ucp-ref/webdav-ucp.html>
>
> Is there any documentation for the 'format' of these properties? What
> the client expects?
>
> And the property I see requested "IsReadOnly" is not listed on the
> openoffice.org page.
>
> I'd like to support these properties, especially IsReadOnly [since that
> one is frequently requested]. But there is no documentation on what a
> proper response looks like.
looking into this a bit, it was added in commit
d8aa390b8620613b977dd5421f99d56c0e557f6b.
the "IsReadOnly" property is added here in Content::getResourceType:
http://cgit.freedesktop.org/libreoffice/core/tree/ucb/source/ucp/webdav/webdavcontent.cxx#n3190
but the ContentProperties::UCBNamesToDAVNames function does not contain
a mapping to a DAV property name, in contrast to the other properties
added in Content::getResourceType:
http://cgit.freedesktop.org/libreoffice/core/tree/ucb/source/ucp/webdav/ContentProperties.cxx#n221
so... is there some equivalent of "is-read-only" in WebDAV?
if not then maybe it was simply added there in error...
More information about the LibreOffice
mailing list