> 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].

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to