Namespace of properties

Æde van der Weij vdweij at hotmail.com
Fri Aug 29 05:15:57 EDT 2008


Henrik,

The propnames command yields only the DAV: properties. Could it be due to a different version? The about command produces the following output:

about
cadaver 0.23.0
neon 0.27.2: Library build, IPv6, libxml 2.6.30, zlib 1.2.3.3, GNU TLS 1.6.3.
readline 5.2

I'm using latest Hippo Respository (Apache Slide based) by the way.

Æde

> Subject: RE: Namespace of properties
> From: henrik at witsbits.com
> To: vdweij at hotmail.com
> CC: cadaver at lists.manyfish.co.uk
> Date: Fri, 29 Aug 2008 10:00:42 +0200
> 
> fre 2008-08-29 klockan 09:42 +0200 skrev Henrik Holst:
> > It strikes me that "propnames [resource]" should work without the patch,
> > I'm experiencing problems with it but I'm not yet sure if it is really a
> > problem with cadaver or with my server :)
> > 
> > /Henrik Holst
> > Witsbits AB
> > 
> 
> Fortunately it was a problem with our server that is now corrected. You
> can use propnames to show the namespace and property names of a resource
> such as:
> 
> dav:/users/? propnames henrik
> Fetching property names `henrik': DAV: acl
>  DAV: supported-privilege-set
>  DAV: current-user-privilege-set
>  DAV: acl-restrictions
>  DAV: principal-collection-set
>  DAV: inherited-acl-set
>  DAV: group-member-set
>  DAV: group-membership
>  DAV: resourcetype
>  Witsbits creditbalance
>  Witsbits country
>  Witsbits email
>  DAV: displayname
>  DAV: principal-URL
>  DAV: creationdate
>  DAV: getlastmodified
>  DAV: owner
>  succeeded.
> dav:/users/? 
> 
> Here we can see that there is two namespaces; DAV: and Witsbits.
> 
> With the patch that I sent earlier the namespace will be written for
> allprop propgets as well:
> 
> dav:/users/? propget henrik
> Fetching properties for `henrik':
> Witsbits email = henrik (at) witsbits.com
> DAV: displayname = henrik
> DAV: principal-URL = https://fs.witsbits.com/users/henrik
> DAV: creationdate = 2007-10-05T17:08:17Z
> DAV: getlastmodified = Fri, 05 Oct 2007 17:08:17 GMT
> DAV: owner = henrik
> DAV: resourcetype = <principal></principal>
> Witsbits creditbalance = 0
> dav:/users/? 
> 
> Without the patch only the property names would be displayed. One
> benefit with propnames is that that should list all defined properties
> for a resource while an allprop propget would only list those properties
> that the server in question chooses to send per default.
> 
> Regards, Henrik Holst
> Witsbits AB
> 

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.manyfish.co.uk/pipermail/cadaver/attachments/20080829/152704dd/attachment.html 


More information about the cadaver mailing list