Schema Simple Types

This table shows the schema simple types and their default length values.

Schema Simple Type Default Length
xs:byte

xs:unsignedByte

1
xs:short

xs:unsignedShort

4
xs:int

xs:unsignedInt

9
xs:integer

xs:negativeInteger

xs:nonPositiveInteger

xs:long

xs:nonNegativeInteger

xs:positiveInteger

xs:unsignedLong

18

Notes

  • If the number of total digits in an integer exceeds 18 and if the Plug-in encounters an unlimited maximum occurrence of an element, warning messages are displayed.
  • The Default Date Format field value from the Settings page serves as a pattern during the conversion of the XML schema date type into a COBOL copybook DATE FORMAT clause. The valid patterns are YYYYXXXX, YYYYXXX, XXXXYYYY, and XXXYYYY.
  • The Plug-in formats the resultant COBOL copybook source code to comply with the fixed-format requirements. In addition, the Plug-in replaces underscores and periods in the XML schema names with hyphens in the corresponding COBOL copybook data-item names, which the Plug-in formats in uppercase.