What | Removed | Added |
---|---|---|
Status | NEW | CONFIRMED |
CC | fabian@ritter-vogt.de | |
Assignee | opensuse-kde-bugs@opensuse.org | screening-team-bugs@suse.de |
Summary | libkolabxml packages differ for every build | xerces-c serialization varies across builds |
FWICT, the issue is the serialization in xerces-c, which dumps elements based on the order in internal hash tables. Those tables use a hash derived from the key pointers in some cases ("PtrHasher"), so the order can depend on the memory layout. XTemplateSerializer.cpp has an define "XERCES_DEBUG_SORT_GRAMMAR" which if enabled sorts the keys more deterministically (?). With that defined, xsdbin emits consistent output here. Oh, and there's also a bug that alignment space is not zeroed, but that's actually deterministic, so not an issue in this context.