You have to add the comment in a PROPPATCH first and the do the CHECKIN. Then it will show in the REPORT

/jacob

----- Original Message ----- From: "rss167" <[EMAIL PROTECTED]>
To: <slide-dev@jakarta.apache.org>
Sent: Thursday, May 18, 2006 12:56 AM
Subject: Help: Check in version with comment



I want to be able to check in a file with a comment, whcih should then be
associated with that version.  When I do a REPORT method on the history
version, the comment should then be returned. If I construct the XML below
and issue a CHECKIN request, the comment is not added to the file and it
remains blank.

Can Slide handle comments on checkin or am I doing something wrong?

The XML for the checkin request is
<A:checkin xmlns:A="DAV:">
     <A:comment>testComment</A:comment>
</A:checkin>

I then do a REPORT on the history URI with the XML which returns a blank
comment.  The request XML is below
<A:version-tree xmlns:A='DAV:'>
     <A:prop>
              <A:comment/>
     </A:prop>
</A:version-tree>


--
View this message in context: http://www.nabble.com/Help%3A-Check-in-version-with-comment-t1639727.html#a4441312
Sent from the Jakarta Slide - Dev forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to