diff options
author | iNPUTmice <daniel@gultsch.de> | 2014-08-09 11:37:30 +0200 |
---|---|---|
committer | iNPUTmice <daniel@gultsch.de> | 2014-08-09 11:37:30 +0200 |
commit | 0cda7f78195dd3eb8fb9ab247b5973c62d64204d (patch) | |
tree | f7dec3d22d3f8e6359c127b5a1b6fd0d8262d981 /src/eu | |
parent | d486d5def9a98f439f374c81a7b5795b3508c19d (diff) |
work around xml parser issues...
Diffstat (limited to 'src/eu')
-rw-r--r-- | src/eu/siacs/conversations/xml/XmlReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/xml/XmlReader.java b/src/eu/siacs/conversations/xml/XmlReader.java index 0a74dbfb..25d3fe38 100644 --- a/src/eu/siacs/conversations/xml/XmlReader.java +++ b/src/eu/siacs/conversations/xml/XmlReader.java @@ -54,7 +54,7 @@ public class XmlReader { try { wakeLock.release();} catch (RuntimeException re) {} } try { - while(parser.next() != XmlPullParser.END_DOCUMENT && this.is != null) { + while(this.is != null && parser.next() != XmlPullParser.END_DOCUMENT) { wakeLock.acquire(); if (parser.getEventType() == XmlPullParser.START_TAG) { Tag tag = Tag.start(parser.getName()); |