Hello Lixin, By default, no label is set to the version history items, so the response u got is what I would expect. Experiment the same request but now with DAV:version-name, or DAV:getcontentlength.
Hope this helps, Miguel Figueiredo -----Original Message----- From: Lixin Chu [mailto:[EMAIL PROTECTED] Sent: sábado, 5 de Novembro de 2005 5:37 To: Slide User Subject: help: can not get version information Hi, I am trying to get the version info of a file but reportMethod() always return empty. Here is my code: ------- Vector properties = new Vector(); PropertyName name = new PropertyName("DAV:", "label-name-set"); properties.add(name); webdavResource = getWebdavResource(this.slideName); webdavResource.setPath(folder+filename); Enumeration report = webdavResource.reportMethod(webdavResource.getHttpURL(), properties, 2); -------- this.slideName is 'http://localhost:8080/slide' and folder: /slide/files/ filenameL wired.gif Also tryied -------- String sQuery = "<D:version-tree xmlns:D='DAV:'>" + "<D:prop>" + "<D:version-name/>" + "<D:creator-displayname/>" + "<D:creationuser/>" + "<D:creationdate/>" + "<D:modificationuser/>" + "<D:successor-set/>" + "<D:predecessor-set/>" + "<D:comment/>" + "<D:getcontentlength/>" + "<D:getlastmodified/>" + "<D:displayname/>" + "</D:prop>" + "</D:version-tree>"; report = webdavResource.reportMethod(url, sQuery, 2); ------------ the result is the same. anything wrong here ? thanks lixin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
