1
0
mirror of https://github.com/etesync/android synced 2024-11-22 16:08:13 +00:00

disable strict parsing of XML response for PROPFIND and multiget

This commit is contained in:
rfc2822 2013-10-15 22:54:02 +02:00
parent 7ab740d443
commit b9a13bf7de

View File

@ -70,7 +70,7 @@ public class WebDavCollection extends WebDavResource {
Serializer serializer = new Persister();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
InputStream is = new TeeInputStream(response.getEntity().getContent(), baos);
multistatus = serializer.read(DavMultistatus.class, is);
multistatus = serializer.read(DavMultistatus.class, is, false);
Log.d(TAG, "Received multistatus response: " + baos.toString("UTF-8"));
} catch (Exception e) {
@ -117,7 +117,7 @@ public class WebDavCollection extends WebDavResource {
try {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
InputStream is = new TeeInputStream(response.getEntity().getContent(), baos);
multistatus = serializer.read(DavMultistatus.class, is);
multistatus = serializer.read(DavMultistatus.class, is, false);
Log.d(TAG, "Received multistatus response: " + baos.toString("UTF-8"));
} catch (Exception e) {