.. include:: /../getting_started/vars.rst .. _section-Product-Codegen-601: RTI Code Generator ****************** Incompatibility issues for Java and .Net when using XCDR2 --------------------------------------------------------- See information about this issue in :numref:`section-general-java-net-xcdr2`. Invalid XSD file from an IDL/XML file if input file contains a range annotation ------------------------------------------------------------------------------- Release 6.0.1 introduces support for range annotations in XSD type representation. See :link_connext_codegen_new_release_notes_301:`"What's New in 3.0.1" in the Code Generator Release Notes <>` (in "Support for @range and @default annotations in XSD type representation"). *Code Generator*, however, generates an invalid XSD file from an IDL/XML file if the input file contains a range annotation (@min, @max, @range) inside a structure (struct/valuetype/union) and a typedef of that structure. See :link_connext_codegen_ki_release_notes_301:`"Known Issues" in the Code Generator Release Notes <>` (RTI Issue ID CODEGENII-1217). The workaround for this issue is to disable XSD validation in *Code Generator* by enabling the option ``-disableXSDValidation``. This issue did not exist in release 6.0.0 because these annotations were not supported in XSD type representation in 6.0.0. It is a new, known issue introduced in 6.0.1. .. note:: If the structure doesn't contain any range annotations, the generated XSD file will be validated.