Bewerken

Delen via


Valid GDL Configurations

The GDL parser interface functions will always validate the incoming configuration because the parser assumes that the client might sometimes make a mistake and provide it with an invalid configuration. For more information about invalid configurations, see Using Invalid GDL Configurations.

A valid configuration satisfies the following conditions:

  • The configuration contains an entry for each parameter that is defined in the GDL.

  • The configuration does not contain entries for parameters that are not defined in the GDL.

  • Each value that is assigned to a parameter is defined by an *Option construct for that parameter.

  • PICKONE parameters have one and only one value assigned.

  • PICKMANY parameters have at least one value assigned.

To prevent loss of the intent of your configuration because of the parser's validation process, you should pass a valid configuration to the parser functions.