Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.