https://issues.apache.org/bugzilla/show_bug.cgi?id=49428

nogunha <saiyedza...@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
                 CC|                            |saiyedza...@hotmail.com
          Component|Catalina                    |Catalina
            Version|trunk                       |6.0.0
         Resolution|FIXED                       |
            Product|Tomcat 7                    |Tomcat 6
   Target Milestone|---                         |default

--- Comment #7 from nogunha <saiyedza...@hotmail.com> 2010-09-30 16:26:26 EDT 
---
Hi All - 

For each element we are putting D: prefix. But still we have the issue in
Windows7, Linux and Mac. It works fine in XP.  Below is the XMl response
content generated by XMLWriter.
We have our own webdav servlet which extends webdavserlet
org.apache.catalina.servlets.WebdavServlet;
public class FolderServlet extends WebdavServlet {

@@@@@@@@@@@@@@@@@@@@@@ 

<?xml version="1.0" encoding="utf-8" ?> 
- <D:multistatus xmlns:D="DAV:"
xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
- <D:response>
  <D:href>SimpleFolder</D:href> 
- <D:propstat>
- <D:prop>
+ <D:creationdate b:dt="dateTime.tz">
- <![CDATA[ 2010-09-30T15:36:21Z
  ]]> 
  </D:creationdate>
- <D:getlastmodified b:dt="dateTime.rfc1123">
- <![CDATA[ Thu, 30 Sep 2010 19:36:21 GMT
  ]]> 
  </D:getlastmodified>
  <D:displayname>SimpleFolder</D:displayname> 
- <D:resourcetype>
  <D:collection /> 
  </D:resourcetype>
  <D:source /> 
- <D:supportedlock>
- <D:lockentry>
- <D:lockscope>
  <D:exclusive /> 
  </D:lockscope>
- <D:locktype>
  <D:write /> 
  </D:locktype>
  </D:lockentry>
- <D:lockentry>
- <D:lockscope>
  <D:shared /> 
  </D:lockscope>
- <D:locktype>
  <D:write /> 
  </D:locktype>
  </D:lockentry>
  </D:supportedlock>
  </D:prop>
  <D:status>HTTP/1.1 200 OK</D:status> 
  </D:propstat>
- <D:propstat>
- <D:prop>
  <D:name /> 
  <D:parentname /> 
  <D:ishidden /> 
  <D:isreadonly /> 
  <D:getcontenttype /> 
  <D:contentclass /> 
  <D:getcontentlanguage /> 
  <D:lastaccessed /> 
  <D:getcontentlength /> 
  <D:iscollection /> 
  <D:isstructureddocument /> 
  <D:defaultdocument /> 
  <D:isroot /> 
  </D:prop>
  <D:status>HTTP/1.1 404 Not Found</D:status> 
  </D:propstat>
  </D:response>
  </D:multistatus>

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to