XHTMLExtensionProvider relies on incorrect behavior of MXParser, violating the contract of the XMLPullParser interface

Description

The XHTMLExtensionProvider uses getText() to get the String of a tag, which works with XPP but violates the contract and doesn't work on Android.

When getText() is used and the next element is a TAG, MKParser returns a string containing the TAG, but KXmlParser returns null. KXmlParser also does not support xml-roundtrip, and it's therefore not possible to change this behavior

Environment

None

Activity

Show:

Florian Schmaus 
February 7, 2014 at 2:35 PM

Same issue as SMACK-415, but different provider.

Fixed

Details

Assignee

Reporter

Expected Effort

Components

Fix versions

Affects versions

Priority

Created February 7, 2014 at 2:35 PM
Updated August 17, 2014 at 1:11 PM
Resolved March 9, 2014 at 10:56 PM