You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by th...@apache.org on 2006/03/20 17:54:46 UTC
svn commit: r387246 - in /lenya/trunk/src/modules/webdav/xslt: init.xsl
limitResponse.xsl lock.xsl
Author: thorsten
Date: Mon Mar 20 08:54:44 2006
New Revision: 387246
URL: http://svn.apache.org/viewcvs?rev=387246&view=rev
Log:
Bug 39017
[WebDAV] Empty property values in propfind response
Patch submitted by Jonathan Addison
Thanks Jonathan Addison.
Modified:
lenya/trunk/src/modules/webdav/xslt/init.xsl
lenya/trunk/src/modules/webdav/xslt/limitResponse.xsl
lenya/trunk/src/modules/webdav/xslt/lock.xsl
Modified: lenya/trunk/src/modules/webdav/xslt/init.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/xslt/init.xsl?rev=387246&r1=387245&r2=387246&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/xslt/init.xsl (original)
+++ lenya/trunk/src/modules/webdav/xslt/init.xsl Mon Mar 20 08:54:44 2006
@@ -22,7 +22,7 @@
<D:getcontenttype>httpd/unix-directory</D:getcontenttype>
- <D:contentlength>0</D:contentlength>
+ <D:getcontentlength>0</D:getcontentlength>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
@@ -46,7 +46,7 @@
<D:getcontenttype>httpd/unix-directory</D:getcontenttype>
- <D:contentlength>0</D:contentlength>
+ <D:getcontentlength>0</D:getcontentlength>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
Modified: lenya/trunk/src/modules/webdav/xslt/limitResponse.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/xslt/limitResponse.xsl?rev=387246&r1=387245&r2=387246&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/xslt/limitResponse.xsl (original)
+++ lenya/trunk/src/modules/webdav/xslt/limitResponse.xsl Mon Mar 20 08:54:44 2006
@@ -57,8 +57,8 @@
<xsl:if test="//D:prop/D:getcontenttype"><xso:copy-of select="."/></xsl:if>
</xso:template>
- <xso:template match="D:contentlength">
- <xsl:if test="//D:prop/D:contentlength"><xso:copy-of select="."/></xsl:if>
+ <xso:template match="D:getcontentlength">
+ <xsl:if test="//D:prop/D:getcontentlength"><xso:copy-of select="."/></xsl:if>
</xso:template>
<xso:template match="D:lockdiscovery">
Modified: lenya/trunk/src/modules/webdav/xslt/lock.xsl
URL: http://svn.apache.org/viewcvs/lenya/trunk/src/modules/webdav/xslt/lock.xsl?rev=387246&r1=387245&r2=387246&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/xslt/lock.xsl (original)
+++ lenya/trunk/src/modules/webdav/xslt/lock.xsl Mon Mar 20 08:54:44 2006
@@ -15,7 +15,7 @@
<D:timeout>Second-604800</D:timeout>
<D:locktoken>
<D:href>
- <xsl:value-of select="docid"/>
+ <xsl:value-of select="$docid"/>
</D:href>
</D:locktoken>
</D:activelock>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org