[
https://issues.apache.org/jira/browse/DAFFODIL-3021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18021913#comment-18021913
]
Ben Cavanagh edited comment on DAFFODIL-3021 at 9/22/25 6:06 PM:
-----------------------------------------------------------------
The two main changes had to do with converting XPath 2.0 statements to C logic
as well as correcting pointers to grandparent (or higher) elements.
> 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)