You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "John Interrante (Jira)" <ji...@apache.org> on 2023/04/07 23:18:00 UTC
[jira] [Resolved] (DAFFODIL-2807) Add left over data check to generated C parsers
[ https://issues.apache.org/jira/browse/DAFFODIL-2807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Interrante resolved DAFFODIL-2807.
---------------------------------------
Resolution: Fixed
Fixed in commit 7d52935d8983d6038a8f071c44e547cf3e6b85ad
> Add left over data check to generated C parsers
> -----------------------------------------------
>
> Key: DAFFODIL-2807
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2807
> Project: Daffodil
> Issue Type: Improvement
> Components: Back End C-Generator
> Reporter: John Interrante
> Assignee: John Interrante
> Priority: Minor
> Fix For: 3.5.0
>
>
> Fix generated C parsers not checking for left over data after parse calls and not clearing infoset between parse calls. Rename some infoset C functions more consistently (C snake style).
> Also enhance C code generator to support DFDL schemas containing simple type root elements, allowing generated C parsers to parse data and infosets containing only a single element. Add examples and new tests for simple root elements as well.
> Also replace any non-alphabetical / non-numerical characters with underscores when converting XML identifiers to C identifiers, allowing XML element names like "simple-boolean" to become "simple_boolean" in generated C code.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)