Process xml namespaces for java
This commit is contained in:
parent
5eb5d1080b
commit
b35e8ea6be
1 changed files with 3 additions and 1 deletions
|
@ -23,7 +23,9 @@ public class PlatformUtil {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static XmlPullParser newXMLPullParser() throws XmlPullParserException{
|
public static XmlPullParser newXMLPullParser() throws XmlPullParserException{
|
||||||
return new org.kxml2.io.KXmlParser();
|
org.kxml2.io.KXmlParser xmlParser = new org.kxml2.io.KXmlParser();
|
||||||
|
xmlParser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, true);
|
||||||
|
return xmlParser;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static XmlSerializer newSerializer() {
|
public static XmlSerializer newSerializer() {
|
||||||
|
|
Loading…
Reference in a new issue