unico       2003/11/01 06:12:30

  Modified:    src/blocks/webdav/samples/davmap/styles
                        collection2propfind.xsl
  Log:
  resourcetype property is required on any DAV resource
  contentlength property was missing
  now the davmap works with my eclipse client!
  
  Revision  Changes    Path
  1.2       +4 -4      
cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2propfind.xsl
  
  Index: collection2propfind.xsl
  ===================================================================
  RCS file: 
/home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2propfind.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- collection2propfind.xsl   30 Oct 2003 14:35:36 -0000      1.1
  +++ collection2propfind.xsl   1 Nov 2003 14:12:30 -0000       1.2
  @@ -56,9 +56,8 @@
         <D:propstat>
           <D:prop>
             <D:displayname><xsl:value-of select="@name"/></D:displayname>
  -          <D:creationdate><xsl:value-of select="@created"/></D:creationdate>
  +          <D:getlastmodified><xsl:value-of 
select="@date"/></D:getlastmodified>
             <D:resourcetype><D:collection /></D:resourcetype>
  -          <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
           </D:prop>
           <D:status>HTTP/1.1 200 OK</D:status>
         </D:propstat>
  @@ -75,9 +74,10 @@
         <D:propstat>
           <D:prop>
             <D:displayname><xsl:value-of select="@name"/></D:displayname>
  -          <D:creationdate><xsl:value-of select="@created"/></D:creationdate>
  -          <D:getlastmodified><xsl:value-of 
select="@modified"/></D:getlastmodified>
  +          <D:getlastmodified><xsl:value-of 
select="@date"/></D:getlastmodified>
             <D:getcontenttype>text/xml</D:getcontenttype>
  +          <D:getcontentlength><xsl:value-of select="@size" 
/></D:getcontentlength>
  +          <D:resourcetype />
           </D:prop>
           <D:status>HTTP/1.1 200 OK</D:status>
         </D:propstat>
  
  
  

Reply via email to