Mapping Services restricts all names, both component and type identifiers, to 32 characters in length. ASN.1 defines that a component name must start with a lowercase alphabetic character, and a type name with an uppercase alphabetic. Remaining characters can be chosen from the set of alphanumeric characters plus the hyphen. The Mapping Services compiler does not permit a hyphenated name, but instead allows the underscore (_) character.
The ASN.1 compiler does not support ASN.1 macros, nor does it support complex subtyping. When introducing ASN.1 source containing macros or complex subtypes you must edit the source to resolve macros manually, and remove complex subtyping (possibly employing new code to perform value checks).
The ASN.1 compiler does support simple subtyping such as sizes, integer and real value ranges and character set constraints.
The ASN.1 compiler ignores value assignments. The compiler checks the assignments, but generate no output. However, named values appearing after a type assignment are supported.
Support is provided for the ASN.1 import facility, however imports are resolved during map load, and not during compilation. Any type definition can be imported from another module, provided it is marked for EXPORT within that module. The compiler produces an IMPORT list of types and the containing maps. All such maps must be compiled for the import to be successful on map load. Because importing takes place at map load time and not at compile time it is possible for a map load to fail due to incomplete or inconsistent definitions.
| Copyright © 2008 CA. All rights reserved. |
|