[
https://issues.apache.org/jira/browse/DAFFODIL-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021532#comment-18021532
]
Ben Cavanagh commented on DAFFODIL-3021:
----------------------------------------
Hello,
Thanks for getting back to me, and sorry for the delay!
I've found a solution that works using dfdl:occursCountKind="expression" but
which requires going in and manually editing fields in the generated c code.
I'd be interested in adding support for these instances to work automatically
if you could help me with understanding the repository.
> Unbounded occurrences in C code generation
> ------------------------------------------
>
> Key: DAFFODIL-3021
> URL: https://issues.apache.org/jira/browse/DAFFODIL-3021
> Project: Daffodil
> Issue Type: Request
> Reporter: Ben Cavanagh
> Priority: Major
> Attachments: schema.dfdl.xsd
>
>
> Wanted to request (or ask whether it is possible through some other method)
> the ability to generate C code which is capable of handling unbounded
> occurrences of a type. I've attached a schema which parses strings of "0"s of
> unbounded length.
> I have also tried setting a high bound for maxOccurs and the code
> successfully generates but does not make.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)