Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.5.0
-
None
Description
Modify C generator to compare floating point and integer numbers with enumerations and ranges specified in DFDL schemas. Test validation code with additional simple type root elements in simple.dfdl.xsd schema and additional TDML tests in simple_errors.tdml.
Also allow C generator to compare hexBinary elements to values in enumerations since Daffodil does the same thing and C generator already compares hexBinary elements to values in fixed attributes.
Allow C generator to ignore dfdl:assert expressions in DFDL schemas and generate code anyway instead of throwing an exception.
Allow C generator to get schema version from DFDL schemas and put it into the generated C code to version the generated code as well.