Robert,

I had a similar problem some time ago. I noticed that whenever a parent collection contained a special character, it was returned infinitely down the line.

For example
Collection 10~9 contains 3 children, getChildResources would return 10~9 and the 3 children. When I did a getChildren on the now nested 10~9 collection, it would keep returning itself infinitely



Ascii Art ;)

-10~9
|-----10~9
|    |----------10~9
|    |     |-----------------10~9
|    |     |   |------------------------10~9
|-----File 1
|-----File 2
|-----File 3

From: "Robert r. Sanders" <[EMAIL PROTECTED]>
Reply-To: "Slide Users Mailing List" <[email protected]>
To: [email protected]
Subject: WebdavResource getChildResources() : Directory Listing
Date: Wed, 29 Dec 2004 17:54:14 -0600

I don't know how much support the WebDAV client lib has for being a generic WebDAV tool; but I am trying to use it as such.

Currently I am trying to connect to a Subversion server over WebDAV and list all resources in a collection/directory; the code is:

WebdavResource resource = new WebdavResource("http://myserver/svn/";, true);

       WebdavResources children = resource.getChildResources();


but when I iterate over the WebdavResources all I see is the collection itself, and any files it contains. I know there are several sub-collections/directories, but they are not being reported. I ended up installing Ethereal to see what was going on, so I can send the HTTP trace if that helps; but I thought I'd start without it in case I am missing something more basic.


Thanks,

--
   Robert r. Sanders
   Chief Technologist
   iPOV
   www.ipov.net


--------------------------------------------------------------------- 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