Free Support Forum - groupdocs.com

XML serialization issue


#1

Hi,


I noticed that the XML serialization is terrible :slight_smile: As you can see on the example below the tags are random and not user readable. It’s hard to parse it in an external application since it’s based on your obfustaced class naming. Additionally, the obfustaced names may change with each version so this kind of serialization is at least risky.

<com.groupdocs.annotation.data.tables.c>
3
8d34fe95-0351-4299-8537-d549ecc23405
2
09000001800273e7
</com.groupdocs.annotation.data.tables.c>


Is there any chance to improve it? We might need to implement some conversion between XFDF format and GD format and you’re strange format makes it really hard to do. I know I can probably implement that serialization from scratch by defining my own implementation of I… interfaces, but the out-of-the-box functionality should handle that in a better way. There should be some XML Schema that will define the XML format that will not be changed with the next release.

Thanks,
Mariusz

#2
Hi Mariusz,

We are sorry to see you are facing this problem. We already know about it. It’s already fixed in the 1.8.0 version that is next to being released. Also we will include it in the 1.7.0 version hotfix (1.7.1) that we plan to publish today. Please, stay tuned.


#3

The issues you have found earlier (filed as ANNOTATIONJAVA-580) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by groupdocs.notifier.

#4

More about…XML Serialization

Brian


#5

OK, that’s great. I hope it will be published to Maven repository as well! Thank you!


#6

You are welcome. Yes it will be published to the Maven central repository as well.