Hello Sisinda
Thanks for this analysis.
Le 24/05/2017 à 10:20, Sisinda Dinusha a écrit :
> JAXB can be make to run on android by using jaxb-api module and some other
> support
> modules from maven repository. Since those modules are under GPL2.0 license,
> as far as I know, we can't compile them into sis library (correct me if I'm
> wrong).
You are right, we can not introduce a GPL dependency into an Apache
project. Especially if we need to redistribute the JAR under GPL in
order to allow the application to run.
There is a related discussion at the link below. The reporter seems to
rely on GPL / CDDL dual license. Do the Maven dependencies required for
JAXB support have such dual license?
https://issues.apache.org/jira/browse/LEGAL-264
> So it turns out we also can't use jaxb annotations. The reason I
> suggested to use fasterxml library is it's ability to work with jaxb
> annotations.
> But in this case its not a valid reason. So I'm thinking of using simplexml
> library because it gives a good comparison with jaxb. In this case all the
> jaxb code will have to be replaced including annotations.
But the replacement of JAXB by SimpleXML would be only on the Android
branch, isn't it? If so, how SimpleXML compares with the XML API
provided natively on the Android SDK (e.g. their org.xmlpull package)?
Martin