From thunderstorm.keeper at gmail.com Tue May 20 08:24:28 2025 From: thunderstorm.keeper at gmail.com (Marina Egorova) Date: Tue May 20 09:24:48 2025 Subject: [xsd-users] XSD 4.0 backward compatibility Message-ID: Hello, In our system we use XSD to convert our internal system messages, based on proprietary XML schema, to/from XDR for effective transfer. Now we are working towards upgrading from XSD version 3.3.0 to 4.* (where 4.0 is preferable). However, we are faced with the issue that messages encoded to XDR by version 3.3.0 can not be read successfully by XSD 4.0. Is backward compatibility expected in this case? Can something be done to have backward compatibility? From boris at codesynthesis.com Fri May 23 06:46:48 2025 From: boris at codesynthesis.com (Boris Kolpackov) Date: Fri May 23 06:45:06 2025 Subject: [xsd-users] XSD 4.0 backward compatibility In-Reply-To: References: Message-ID: Hi Marina, Marina Egorova writes: > However, we are faced with the issue that messages encoded to XDR by > version 3.3.0 can not be read successfully by XSD 4.0. > > Is backward compatibility expected in this case? No, this is a major version change and backwards-compatibility is not guaranteed. > Can something be done to have backward compatibility? Hm, I think the first step is to understand what exactly is causing this and the scope of it. You could try comparing the representations from version 3 to 4 to understand the difference. Alternatively, you could use the revision history to see what got changes in that area. The git repository for XSD is here: https://github.com/codesynthesis-com/xsd From thunderstorm.keeper at gmail.com Mon May 26 04:55:43 2025 From: thunderstorm.keeper at gmail.com (Marina Egorova) Date: Mon May 26 09:06:56 2025 Subject: [xsd-users] XSD 4.0 backward compatibility In-Reply-To: References: Message-ID: Hi Boris, thank you for your reply. Can we expect backward compatibility between versions 4.2 and 4.0 ? On Fri, May 23, 2025 at 1:44?PM Boris Kolpackov wrote: > Hi Marina, > > Marina Egorova writes: > > > However, we are faced with the issue that messages encoded to XDR by > > version 3.3.0 can not be read successfully by XSD 4.0. > > > > Is backward compatibility expected in this case? > > No, this is a major version change and backwards-compatibility is not > guaranteed. > > > > Can something be done to have backward compatibility? > > Hm, I think the first step is to understand what exactly is causing > this and the scope of it. > > You could try comparing the representations from version 3 to 4 to > understand the difference. Alternatively, you could use the revision > history to see what got changes in that area. The git repository for > XSD is here: > > https://github.com/codesynthesis-com/xsd > From boris at codesynthesis.com Mon May 26 10:26:25 2025 From: boris at codesynthesis.com (Boris Kolpackov) Date: Mon May 26 10:24:40 2025 Subject: [xsd-users] XSD 4.0 backward compatibility In-Reply-To: References: Message-ID: Marina Egorova writes: > Can we expect backward compatibility between versions 4.2 and 4.0 ? Yes, we strive not to break backwards compatibility between minor versions. But at the end of the day, you use XSD under the GPLv2 and it comes with no warranties or guarantees of any kind.