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

DAV lock discover - owner value tags encoded?

From: Kyle Kline <kyle.kline_at_gmail.com>
Date: 2005-05-02 00:22:57 CEST

Am still working out a few minor kinks with WebDrive +
Apache/SVN/WebDAV -- one is that the "lock owner" in the properties
box for a file displays some weird XML instead of a readable "user -
kkline" as I believe it should.

I took a log from WebDrive and noted this exchange for lock discovery
(below). Note that in the response, the lock owner inside <D:owner>
has all of the xml tags encoded so they become literals.

Is this some transliteration WebDrive is doing, or might this be a bug in RC2?

Thx,
Kyle

PROPFIND /svn/test2/content/Default/Home.txt HTTP/1.1
Content-Type: text/xml
Depth: 0
Host: localhost:81
User-Agent: WebDrive/6.07 NT DAV
Translate: f
Connection: close
Authorization: Basic a2tsaW5lOjEyMzQ=
<?xml version="1.0" encoding="utf-8" ?><propfind
xmlns="DAV:"><prop><lockdiscovery/><locktoken/></prop></propfind>
HTTP/1.1 207 Multi-Status
Date: Fri, 29 Apr 2005 19:00:31 GMT
Server: Apache/2.0.54 (Win32) SVN/1.2.0-rc2 DAV/2
X-SVN-Creation-Date: 2005-04-29T19:00:06.799156Z
Content-Length: 799
Connection: close
Content-Type: text/xml; charset="utf-8"
<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:D="DAV:" xmlns:ns0="DAV:">
<D:response xmlns:g0="DAV:">
<D:href>/svn/test2/content/Default/Home.txt</D:href>
<D:propstat>
<D:prop>
<D:lockdiscovery><D:activelock>
<D:locktype><D:write/></D:locktype>
<D:lockscope><D:exclusive/></D:lockscope>
<D:depth>0</D:depth>
<D:owner xmlns:D="DAV:">&lt;ns0:owner
xmlns:ns0=&quot;DAV:&quot;&gt;User -
kkline&lt;/ns0:owner&gt;</D:owner><D:timeout>Infinite</D:timeout>
<D:locktoken>
<D:href>opaquelocktoken:63813716-e4b1-a440-b268-6ccdd5b7d1cd</D:href>
</D:locktoken>
</D:activelock>
</D:lockdiscovery>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<g0:locktoken/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>
</D:propstat>
</D:response>
</D:multistatus>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 2 00:25:26 2005

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