Avoid accessing package javax.xml.stream.* when not working with XML descriptors

Description

As XmlParserHelper is always loaded, also if actually there is no XML configuration, a NoClassDefFoundError is raised on Android, which does not have the javax.xml.stream.* package.

Stacktrace:

Java setup:

Gradle setup:

Environment

None

Status

Assignee

Gunnar Morling

Reporter

SD

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major
Configure