3.3.2.2. RTI Code Generator

3.3.2.2.1. Incompatibility issues for Java and .Net when using XCDR2

See information about this issue in Section 3.3.1.2.2.

3.3.2.2.2. 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 -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.