You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Will Holcomb <wi...@himinbi.org> on 2002/08/28 02:47:13 UTC
isCollection v. getIsCollection
I am confused as to why those two methods return different values. I am
working through the webdav and deltaV documents currently; can anyone
explain the difference to me?
>From reading the code it seems like one is coming from the
<dav:collection/> element and it is also looking for a <dav:iscollection/>
for the other. What is the difference between them? The references that
google comes up with for iscollection have to do with searching.
Is the behavior for them to return different values consistent? Will there
be entries where iscollection is false, but collection is true (well, I
know they can exist, but are there ones for which this is the proper
syntactic behavior?)
I ask in part because I am working with Velocity and it uses the beans
syntax, so $resource.isCollection actually calls
WebdavResource.getIsCollection() which is returning something different
than WebdavResource.isCollection(). I know how to work around it, but if
the proper behavior is for both to be true or both false then I was going
to submit a patch.
Will Holcomb
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>