3.2.2. RTI Code Generator¶
184.108.40.206. Incompatibility issues for Java and .Net when using XCDR2¶
See information about this issue in Section 220.127.116.11.
18.104.22.168. 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 “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 “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
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 in 6.0.1.
If the structure doesn’t contain any range annotations, the generated XSD file will be validated.