yeshodhan / android-jaxb

Android doesn't support JAXB. Use this library to generate SimpleXML annotated classes from XML Schema. Works well with Android.
https://s3.amazonaws.com/yeshodhan/android-jaxb-1.0.1.jar
41 stars 17 forks source link

Generate fields with a Text annotation #6

Closed sioc1981 closed 8 years ago

sioc1981 commented 8 years ago

For complex type with simple content, the Text data is available in the "value" attribute with the Text annotation.

The feature can handle simple content tag with attributes such as:

<pet type="cat">Garfield</pet>

Sorry for the differences for the generated classes by the tests: those may be due to an encoding or th end of lines issue when I ran the tests.

yeshodhan commented 8 years ago

Thanks @sioc1981 for the contribution. Was on holidays for sometime.

Received quite a few emails on enhancements and bugs. Taking a look.