The contract of the the XMLPullParser interface states that getText() should return null if the next element is a TAG, but MXParser does return a String containing the TAG. KXmlParser used on Android does follow the specification and doesn't show the behavior, therefore PubSub Items don't work in aSmack without a patch.
This is the upstream issue of the aSmack issue #3.
The contract of the the XMLPullParser interface states that getText() should return null if the next element is a TAG, but MXParser does return a String containing the TAG. KXmlParser used on Android does follow the specification and doesn't show the behavior, therefore PubSub Items don't work in aSmack without a patch.
Hint for flow: Remove https://github.com/Flowdalic/asmack/blob/master/static-src/custom/org/jivesoftware/smackx/pubsub/provider/ItemProvider.java when this issue is fixed upstream.