WebDAV not locking
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Thu Sep 20, 2012 10:23 pm
WebDAV not locking
What would be reasons why Oxygen 14 is not locking files accessed via a Data Connection to a webdav folder?
Options > Preferences > Proxy Configuration > Lock WebDAV files on open IS selected. All users are connecting with unique accounts.
Eric
Options > Preferences > Proxy Configuration > Lock WebDAV files on open IS selected. All users are connecting with unique accounts.
Eric
-
- Posts: 846
- Joined: Mon Dec 05, 2011 6:04 pm
Re: WebDAV not locking
Hello,
Could you please provide more details about what type of WebDAV server are you using to access the files and what type of files are you trying to access?
Also, are you sure that the server supports locking ?
In order to offer you a possibility to enable logging please contact us on our support email address: support AT oxygenxml DOT com.
Regards,
Costin
Could you please provide more details about what type of WebDAV server are you using to access the files and what type of files are you trying to access?
Also, are you sure that the server supports locking ?
In order to offer you a possibility to enable logging please contact us on our support email address: support AT oxygenxml DOT com.
Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
oXygen XML Editor and Author Support
-
- Posts: 2
- Joined: Thu Sep 20, 2012 10:23 pm
Re: WebDAV not locking
We are accessing XML files on a Jetty server (http://jetty.codehaus.org/jetty/) started by BaseX.
I'll follow up with logging option.
I'll follow up with logging option.
-
- Posts: 9448
- Joined: Fri Jul 09, 2004 5:18 pm
Re: WebDAV not locking
Hi Eric,
Thank you for providing the detailed log messages.
We analyzed them and here is the conclusion:
As you probably know the WebDav communication involves sending XML messages between client and server using an usual HTTP connection.
Basically when you ask Oxygen to open a certain HTTP resource, it will first look to see if that resource supports locking.
This means that the Oxygen HTTP client issues a PROPFIND request with an XML like:
As a response for the <D:supportedlock/> property, the Jetty server responds something like:
By contrast, an Apache HTTP Webdav-enabled server responds something like:
From the response of the Jetty server, Oxygen assumes that locking is not supported and thus does not try to lock the file on open.
The WebDav Specification:
http://www.webdav.org/specs/rfc4918.htm ... portedlock
Regards,
Radu
Thank you for providing the detailed log messages.
We analyzed them and here is the conclusion:
As you probably know the WebDav communication involves sending XML messages between client and server using an usual HTTP connection.
Basically when you ask Oxygen to open a certain HTTP resource, it will first look to see if that resource supports locking.
This means that the Oxygen HTTP client issues a PROPFIND request with an XML like:
Code: Select all
<D:propfind xmlns:D="DAV:">
<D:prop>
<D:getlastmodified/>
<D:getcontentlength/>
<D:resourcetype/>
<D:supportedlock/>
<D:lockdiscovery/>
</D:prop>
</D:propfind>
Code: Select all
<d:supportedlock/>
Code: Select all
<D:supportedlock>
<D:lockentry>
<D:lockscope>
<D:exclusive/>
</D:lockscope>
<D:locktype>
<D:write/>
</D:locktype>
</D:lockentry>
<D:lockentry>
<D:lockscope>
<D:shared/>
</D:lockscope>
<D:locktype>
<D:write/>
</D:locktype>
</D:lockentry>
</D:supportedlock>
The WebDav Specification:
http://www.webdav.org/specs/rfc4918.htm ... portedlock
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service