diff options
author | Christian Schneppe <christian@pix-art.de> | 2017-05-31 21:31:29 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2017-05-31 21:31:29 +0200 |
commit | 21bf06c064554c406a6b769160c36a471da45e07 (patch) | |
tree | 93b15d5894a727214a2723be5df5a8c514181554 /src/main | |
parent | f1f5b9fd701499487cbe4e828c45e440ece44e41 (diff) |
do not check if namespace equals prefix for attributes
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/de/pixart/messenger/xml/XmlReader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/pixart/messenger/xml/XmlReader.java b/src/main/java/de/pixart/messenger/xml/XmlReader.java index 1de61e54c..440fdd2fe 100644 --- a/src/main/java/de/pixart/messenger/xml/XmlReader.java +++ b/src/main/java/de/pixart/messenger/xml/XmlReader.java @@ -69,7 +69,7 @@ public class XmlReader { for (int i = 0; i < parser.getAttributeCount(); ++i) { final String prefix = parser.getAttributePrefix(i); String name; - if (prefix != null && !prefix.isEmpty() && !prefix.equals(xmlns)) { + if (prefix != null && !prefix.isEmpty()) { name = prefix + ":" + parser.getAttributeName(i); } else { name = parser.getAttributeName(i); |