I haven't had a chance to test this with other webDAV servers so I don't
know the full implications; but the problem I was having seems to have
nothing to do with xml, instead it was how the URIs of collections
were/are being constructed.
In WebdavResource, line 1086: URIUtil.getName(href) is
Interesting. However, I think the problem has something to do with the
XML Namespaces - the server response contains the same URI mapped to 2
different names, and I think this is throwing the XML parsing of the
webdav client off. I have been meaning to dig deeper into this and try
to fix it
-To: Slide Users Mailing List slide-user@jakarta.apache.org
To: slide-user@jakarta.apache.org
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
Yeah, that's what I kind of thought. I am able to use the Slide client
library to do simple prop-gets, which although not optimal, is enough to
get me by for now. If I have time I will try and trace down what the
exact problem is.
James Mason wrote:
Well, based on the traces this certainly
Sounds good. Let us know when/if you come up with anything.
-James
On Thu, 2004-12-30 at 08:30 -0600, Robert r. Sanders wrote:
Yeah, that's what I kind of thought. I am able to use the Slide client
library to do simple prop-gets, which although not optimal, is enough to
get me by for now.
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
Can you post traces for the request and response?
It might also be useful to compare the request/response when using the
svn client.
-James
On Wed, 2004-12-29 at 17:54 -0600, Robert r. Sanders wrote:
I don't know how much support the WebDAV client lib has for being a
generic WebDAV tool; but
Subversion doesn't implement all of WebDAV, just what the svn client
needs and most of svn functionality is done through a custom (but within
the spec) report method. More complete generic WebDAV support is planned
for future versions. Maybe the slide client is expecting some response
not yet
Well, based on the traces this certainly looks like a bug in the Slide
client library. Maybe it's getting confused by the duplicate namespaces,
or as you suggested, maybe it's dependent on a property Subversion isn't
returning.
-James
On Wed, 2004-12-29 at 21:24 -0600, Robert r. Sanders wrote: