WebDAV & Content-Type? [Was: WebDAV properties & namespace]
Adam Tauno Williams
awilliam at whitemice.org
Mon Apr 30 11:09:39 PDT 2012
> 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
Does -
<snip>
else if ( rProp.Name == "ContentType" || rProp.Name ==
"IsDocument" || rProp.Name == "IsFolder" || rProp.Name ==
DAVProperties::RESOURCETYPE )
{
if ( !bResourceType )
{
propertyNames.push_back( DAVProperties::RESOURCETYPE
);
bResourceType = sal_True;
}
}
</snap>
- imply that the value all of these properties are handled in the same
manner? [which just seems odd as DAV:resourcetype contains an XML child
like <D:collection/>, DAV:getcontenttype is a MIME-type string, while
IsFolder, etc... imply some kind of boolean construct].
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20120430/7b7ff708/attachment.pgp>
More information about the LibreOffice
mailing list