Hello. It seems that there been no activity on kxml 2 project for a longer time. I have fixed WbxmlSerializer in kxml 2.3.0. I've taken inspiration from patch in previous bugreport and accommodated it for kxml 2.3.0. In addition, there is one more fix, as kxml 2 supports multiple codepages. Old
code didn't much count that in two codepages can be the same attributeStarts/Values to suppress often codepage switching. So I fixed this issue and generated wbxml is even more smaller.
Fixed serializer is attached.
One more thing to improve (TODO) is more effective putting of strings to the string table. For example, if I have 2 attribute values, eg. "MySpecialSetting_ip" and "MySpecialSetting_port" then it would be wise to externalize "MySpecialSetting_" string. Serialization should be done then in two phases and after first phase it would be decided if to externalize
some string or to just inline it.