jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Moseley" <...@osafoundation.org>
Subject Re: Suggestion for PROPPATCH with simple-server (was: Status of jcr-server)
Date Thu, 06 Apr 2006 14:44:32 GMT
On 4/6/06, Angela Schreiber <anchela@day.com> wrote:

> Proposed solution
> -----------------------------------------------------
> The situation described before leads me to the
> following conclusion:
> - IOHandler should not only read/write resource data
>    and properties during GET, PUT, PROPFIND but should
>    also take care of setting/removing properties without
>    modifying the data during PROPPATCH.
> - Since the previous suggestion would still limit
>    the properties to (jcr:encoding, jcr:mimeType and
>    jcr:lastModified), we may think about changing the
>    default nodetype for the jcr:content node to
>    nt:unstructured.
> I guess this would meet the requirements for those
> expecting a webDAV server that is (as a first step)
> not limited regarding PROPPATCH. Second it would
> allow to have a handling of property modifications
> which is specific for individual resource types instead
> of trying to set all properties to the uppermost node.

seems like a reasonable approach. i think it's important to continue
to store the encoding, media type and last modified timestamp for the
resource even if the underlying node type does not explicitly require
those jcr properties, but assuming that's done, i'm +1.

View raw message