Hi all,
Thank you all for giving me help to develop xwiki-android-client and passing
me in GSOC mid evaluation.
Since I've finished most of the xwiki android navigation features now I'm
working on adding other features which uses XWiki RESTful POST and PUT
methods.
There is really big problem here. Because until now I used json objects to
communicate with XWiki REST. But REST doesn't support accepting json
objects. Please correct me if I'm wrong.
If REST doesn't accept "application/json", I have to modify almost all the
classes in xwiki-android-rest to be worked with xml. Another drawback is
still REST doesn't provide "links" of the elements in json but xml provides
it. Fabio described it here (
http://blog.fabiomancinelli.org/2011/03/07/XWikis_RESTful_API.html)
I selected json because it can be deserialized using gson which is the
smallest json deserializing library specially designed for Android.
But now I feel that moving from json to xml is the best option.
A light weight xml serialization library named simple-xml (
http://simple.sourceforge.net/) would be a feasible library for Android.
Should I proceed with xml using simple-xml or can you suggest me a better
option which saves my time from modifying classes?
Thank you,
Best Regards,
Chamika Weerasinghe