[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: DAV locking question

From: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2005-01-12 22:19:59 CET

Greg Stein wrote:
> ...
> RFC 2518, section 12.10 states that the DAV:owner element can contain any
> XML child elements. IOW, it is structured data rather than a simple string
> (see the example in section 8.10.8). Therefore, mod_dav serializes that
> into a string and stores it into the ->owner field.

That's the right thing to do.

> You could make some assumptions and try to lift some of the CDATA out of
> there. I don't see explicit text in RFC 2518 that you MUST maintain that
> element unchanged, but I would certainly assume it.

Correct. RFC2518bis will clarify this, so does
<http://greenbytes.de/tech/webdav/draft-reschke-webdav-locking-latest.html#lock.owner>.
If a server doesn't preserve the content properly, some clients will
think that their lock requests failed (-> Microsoft Office).

> If the lock comes from an SVN client, then the assumptions will hold.
> You'll be able to strip/rebuild the owner field.
>
> Cheers,
> -g
>

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 12 22:21:24 2005

This is an archived mail posted to the Subversion Dev mailing list.