Skip to content

Commit 70c75eb

Browse files
authored
Merge pull request #17 from MarcMil/master
Fix a bug where getNamespaceUri always returned null
2 parents e7771fd + bea7189 commit 70c75eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>de.upb.cs.swt</groupId>
66
<artifactId>axml</artifactId>
77
<name>axml</name>
8-
<version>2.1.3</version>
8+
<version>2.1.4</version>
99
<description>The axml components for reading binary Android XML files forked from a not further maintained
1010
repository created by Bob Pan
1111
</description>
@@ -205,4 +205,4 @@
205205
</build>
206206
</profile>
207207
</profiles>
208-
</project>
208+
</project>

src/pxb/android/axml/AxmlParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public String getNamespacePrefix() {
163163
}
164164

165165
public String getNamespaceUri() {
166-
if (nsIdx < 0 && nsIdx >= strings.length) {
166+
if (nsIdx >= 0 && nsIdx < strings.length) {
167167
return strings[nsIdx];
168168
}
169169
return null;

0 commit comments

Comments
 (0)