WebDAV Connection in Oxygen XML Editor


#1

Hi all,

I am trying to integrate my owncloud into Oxygen. It is possible via WebDAV and the Data Source Explorer. Unfortunately, although Oxygen provides possibility to lock opened files from the Data Source Explorer, it doesn't work with owncloud files. I already have written to the Oxygen Support. I then created a logfile: what Oxygen expects and what owncloud returns. Is there anyone who has an idea how to solve this problem? I cannot upload files, so I paste XML into this message, sorry for that...

Thanks a lot,
Dominika

Expected by Oxygen:

<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns">
    <d:response>
        <d:href>/remote.php/webdav/Narragonien%20digital/Test%20GW%205041.xml</d:href>
        <d:propstat>
            <d:prop>
                <d:getlastmodified>Mon, 12 Mar 2018 09:47:52 GMT</d:getlastmodified>
                <d:getcontentlength>752856</d:getcontentlength>
                <d:resourcetype/>
            </d:prop>
            <d:status>HTTP/1.1 200 OK</d:status>
        </d:propstat>
        <d:propstat>
            <d:prop>
                <d:supportedlock>
                        <d:lockentry>
                                <d:lockscope><d:exclusive/></d:lockscope>
                                <d:locktype><d:write/></d:locktype></d:lockentry>
                    </d:supportedlock>
                <d:lockdiscovery/>
            </d:prop>
            <d:status>HTTP/1.1 404 Not Found</d:status>
        </d:propstat>
    </d:response>
</d:multistatus>

Returned by Owncloud:

<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns">
    <d:response>
        <d:href>/remote.php/webdav/Narragonien%20digital/Test%20GW%205041.xml</d:href>
        <d:propstat>
            <d:prop>
                <d:getlastmodified>Mon, 12 Mar 2018 09:47:52 GMT</d:getlastmodified>
                <d:getcontentlength>752856</d:getcontentlength>
                <d:resourcetype/>
            </d:prop>
            <d:status>HTTP/1.1 200 OK</d:status>
        </d:propstat>
        <d:propstat>
            <d:prop>
                <d:supportedlock/>
                <d:lockdiscovery/>
            </d:prop>
            <d:status>HTTP/1.1 404 Not Found</d:status>
        </d:propstat>
    </d:response>
</d:multistatus>

#2

WebDAV locking is an optinal specification within the WebDAV specs.
ownCloud does not implement this feature set and therefore it cannot be used.

In case Oxygen relies on locking the integration will not work ....

Any idea which user agent is used by Oxygen to communicate via WebDAV?
We have some workarounds in place for other tools like M$ Office .....