mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-27 19:22:15 -05:00
do not check if namespace equals prefix for attributes
This commit is contained in:
parent
6ccdd1227e
commit
50f61a4d91
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user