Thursday, May 14, 2009

Legacy Code Generation Issue

We recently got a support question regarding the fact the XML Data Binder 2009 Service Pack 1 generated more files and different code than the previous release.

This is true as we fixed an issue when using Element References with inheritance and changing the type within the XML Document using xsi:type="...". This issue was due to the Element Refs not using interfaces and so this was fixed.

The effect of this was that users generating code from schema that made use of Element Refs would see different code generated from the previous version, and if they did not use xsi:type would not benefit them.

In order to resolve this, we have release Liquid XML Studio 2009 version 7.1.4 which include a new option in the XML Data Binding Wizard that allows you to select whether or not Element Refs generate as Interfaces.