On 02/06/2012 04:00 AM, Mike Maxwell wrote: > We're storing our DocBook documents on an svn server. We recently made > two changes to the system, and in the process something broke. > > I can now open documents from our svn server (which is at an https > address), but I can't save them back there. I get the ff. msg: > Cannot save document https://<servername>/<path> > Cannot refresh the lock of file > "https://<servername>/<path>": > Error for resource<path>: 412 (Precondition failed) > (with<servername> and<path> replaced by actual ones, of course)
At first sight, this looks like a server bug or limitation. > > I've looked up 412 "Precondition failed" on the web, but the description > is not helpful to me. > > I can create a new file and save it the first time, but if I edit the > newly saved file and try to save the changes, I get the above error again. Understood. > > There was a thread on the xmlmind mailing list in June 2010, but it > seems not to be our case--we're starting XXE from Windows, not (afaik) > from the Java Web Start. > > One of the changes we made was a move to XXE v5.1.1 from 4.something. This *could* be the indirect cause of your problem. However, this is unlikely as we have tested XXE v5 against several locking WebDAV servers (but not svn). > It's possible I've made an error in setting the options in XXE, which > seem to be different now--in particular, one of the options (using the > built-in URL chooser) now appears on the File menu, instead of in the > Options | Preferences dialog box. But that seems unlikely to be the > cause of the problem we're seeing. No, this cannot be the cause of your problem. > > The WebDAV plugin shows version 2.1.4_01 in the "Install Add-ons" dialog. > > Suggestions? First, please make sure that it's not a ``regression'' of XXE. In order to do that, please use an older release of XXE which used to work with your svn server and see what happens. If it is a regression, we'll review what has changed between your old release of XXE (you'll have to specify its version) and v5.1.1. If it is not a regression, then we absolutely need to reproduce the problem with an XXE having -DXXE_DAV_TRACE=1. In order to do that, you should provide us with a temporary access to you WebDAV server. > I was looking for some logfiles, but I don't see any. There is always -DXXE_DAV_TRACE=1. See http://www.xmlmind.com/xmleditor/_distrib/doc/help/system_properties.html However I'm not sure that the copious WebDAV traces issued by XXE could help you understand what is happening. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

