Re: dfdl:choiceDispatchKey

2020-06-18 Thread Beckerle, Mike
To use a pattern to discriminate a choice, you would use a dfdl:discriminator statement with testKind='pattern' on each branch of the choice. That assertion is using a regex to look at the data stream, and fails if the data stream at the current position doesn't start with a non-zero-length matc

dfdl:choiceDispatchKey

2020-06-18 Thread Patrick Grandjean
Hi! I recently started using dfdl:choiceDispatchKey. According to the documentation, it only accepts DFDL expressions. Is it possible to use DFDL regular expressions instead? Or is there an alternative that would accept regexes? Patrick. > On Jun 18, 2020, at 9:31 AM, Beckerle, Mike wrote: >

Re: What platforms does Daffodil run on?

2020-06-18 Thread Steve Lawrence
Daffodil should be able to run on any system that can run Java 8 or later. >From the downloads page, the .tgz and .zip binaries contain pre-compiled helper binaries that will run on any Java 8+ system. Just uncompress them and you can run via a command line. The .msi is a Windows only installer,

What platforms does Daffodil run on?

2020-06-18 Thread Roger L Costello
Hi Folks, This web page provides access to the latest release: http://daffodil.apache.org/releases/2.6.0/ But the web page gives no clue on what platforms it runs on. I know from personal experience that it runs on Windows 10. Does it run on other versions of Windows? Does it run on Linux? Mac

Re: java.lang.ArithmeticException: Overflow

2020-06-18 Thread Beckerle, Mike
I don't think maxLength is usable on anything but string and hexBinary. For integers you can use maxInclusive or maxExclusive. From: Steve Lawrence Sent: Thursday, June 18, 2020 9:10 AM To: users@daffodil.apache.org Subject: Re: java.lang.ArithmeticException: Ove

Re: java.lang.ArithmeticException: Overflow

2020-06-18 Thread Steve Lawrence
Thanks for the contribution! I've taken a look and made a few comments in the PR. I think the totalDigits logic is actually much more complicated than I originally thought it would be. Regarding the release, I'm not personally against a patch release, but keep in mind that the Daffodil release pro