jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roland Porath" <rol...@exari.com>
Subject XML-string as property value
Date Mon, 04 Feb 2008 03:01:58 GMT
When I try to set a property on a resource (non collection) to an xml-value
I get some strange behavior:

This is the request:
n/proptest/test.txt HTTP/1.1
User-Agent: cadaver/0.22.2 neon/0.24.6
Connection: TE
TE: trailers
Content-Length: 304
Content-Type: application/xml
Authorization: Basic QWRtaW5pc3RyYXRvcjpmcmVlLkRPTQ==
<?xml version="1.0" encoding="utf-8" ?>
   <D:propertyupdate xmlns:D="DAV:">

- the result is HTTP 207 Multi-Status;
- jackrabbit throws no exceptions and logs no errors so everything seems to
be just fine.

However when I do a propget this is what comes back:
anotherProp = [[subProp1: null], [subProp2: null]]

am I missing something here?

The same request works just nicely with slide.



View raw message