mpictor/StepClassLibrary — pull request #81 by mpictor (2011-10-19 00:59:03+00:00)
Title: Review/check schema

This closes issues #73 and #75.

The header schema has been regenerated from the Part 21 header schema, edition 2. This drops support for N279 files (which are 17+ years obsolete).

p21read has been modified to compare the schema of the exchange file to the schema of the library. If they do not match, it prints a message and exits:

This pair of schema names do not match - AP2_TS_AND_ASSEMBLIES_MIM_LF and AP203_CONFIGURATION_CONTROLLED_3D_DESIGN_OF_MECHANICAL_PARTS_AND_ASSEMBLIES_MIM_LF
ERROR - schema name mismatch. Tried all available combinations.

I assume that the only time a space is legal in a schema name is immediately preceding the optional ASN.1 identifier.