Apache Daffodil VS Code Extension

2022-05-02 Thread Shane Dell
All, I am excited to announce that the Apache Daffodil VS Code Extension is now available via the VS Code Extension Marketplace. The quickest way to search for it is to go to the marketplace and search for "asf" or "daffodil". Thank you, Shane Dell

Re: Bug in Daffodil?

2022-05-02 Thread Mike Beckerle
Alternate DFDL lengthKind enums have been suggested such as dfdl:lengthKind="valuePattern" intended to support the behavior you have described. However, I was unable to find a record of this so I created a JIRA ticket to track this. https://issues.apache.org/jira/browse/DAFFODIL-2692 On Mon, M

Re: Bug in Daffodil?

2022-05-02 Thread Roger L Costello
Thank you Mike for the detailed and excellent explanation. But I disagree. I think DFDL got it wrong with regard to regexes. * In DFDL, the lengthKind 'pattern' was added as a *hack* to cope with things we couldn't come up with any better way to handle. It is intended to be a last resort

Re: Catalog the causes of the dreaded “left over data” error message

2022-05-02 Thread Mike Beckerle
I first encountered left-over-data with a dead-simple file format. Just a top level element named "records" with a minOccurs="0" maxOccurs="unbounded" array of elements named "record". Due to minOccurs="0" such a schema is very happy to "successfully" parse zero records, and tell you the entire fi