John Interrante created DAFFODIL-2853:
-----------------------------------------

             Summary: Add schema validation code to C generator
                 Key: DAFFODIL-2853
                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2853
             Project: Daffodil
          Issue Type: Improvement
          Components: Back End C-Generator
    Affects Versions: 3.5.0
            Reporter: John Interrante
            Assignee: John Interrante
             Fix For: 3.6.0


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to