XSD substitution group API changes

In 9.0, the Gosu API changed slightly for the XSD feature called substitution groups. You may get compilation errors in some cases due to type incompatibilities. To fix the issue, call the cast method (with no arguments) on the type you want to assign. For example:

xml.Address = new schema.UKAddress().cast()

See also