mirror of
https://github.com/bitfireAT/davx5-ose
synced 2024-09-06 09:51:50 +00:00
disable strict parsing of XML response for PROPFIND and multiget
This commit is contained in:
parent
cefaffa650
commit
4ed3502286
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue