{"action":"opened","issue":{"url":"https://api.github.com/repos/lookfirst/sardine/issues/208","labels_url":"https://api.github.com/repos/lookfirst/sardine/issues/208/labels{/name}","comments_url":"https://api.github.com/repos/lookfirst/sardine/issues/208/comments","events_url":"https://api.github.com/repos/lookfirst/sardine/issues/208/events","html_url":"https://github.com/lookfirst/sardine/issues/208","id":72999375,"number":208,"title":"PROPPATCH cannot set new complex properties (only text properties are currently supported)","user":{"login":"olivierlemasle","id":628140,"avatar_url":"https://avatars.githubusercontent.com/u/628140?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlemasle","html_url":"https://github.com/olivierlemasle","followers_url":"https://api.github.com/users/olivierlemasle/followers","following_url":"https://api.github.com/users/olivierlemasle/following{/other_user}","gists_url":"https://api.github.com/users/olivierlemasle/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlemasle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlemasle/subscriptions","organizations_url":"https://api.github.com/users/olivierlemasle/orgs","repos_url":"https://api.github.com/users/olivierlemasle/repos","events_url":"https://api.github.com/users/olivierlemasle/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlemasle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-04T11:43:43Z","updated_at":"2015-05-04T11:43:43Z","closed_at":null,"body":"`Sardine.patch(...)` uses `Map<QName, String> setProps` to set new properties.\r\n\r\nThis limits the feature to simple textual properties only.\r\n\r\nIt excludes complex properties, as show in the WebDAV spec example:\r\nhttp://www.webdav.org/specs/rfc4918.html#rfc.section.9.2.2\r\n\r\nFor example, it is not possible, using Sardine, to add an Owncloud tag, because Owncloud tags format is:\r\n\r\n```xml\r\n<?xml version=\"1.0\"?>\r\n<d:propertyupdate xmlns:d=\"DAV:\" xmlns:oc=\"http://owncloud.org/ns\">\r\n  <d:set>\r\n    <d:prop>\r\n                <oc:tags>\r\n                        <oc:tag>tag1</oc:tag>\r\n                        <oc:tag>tag2</oc:tag>\r\n                </oc:tags>\r\n                <oc:favorite>1</oc:favorite>\r\n    </d:prop>\r\n  </d:set>\r\n</d:propertyupdate>\r\n```"}}