There is this explanation : Although the salary element is optional, no DFDL discriminator is needed because the DFDL parser deduces that it is missing when it finds the employeeRecord terminator. When salary is missing, notice that the ',' before it is suppressed. That is modeled using dfdl:separatorSuppressionPolicy trailingEmpty on the parent sequence.
But it doesn't work and i don't knwo which parameter i have to set to change the behavior
I can help, but I need some more information first.
1. Are you reading this format or writing it (or both)?
2. Please supply an example of your current output and your required output.
3. Please supply details of your DFDL schema. Not all of it - just the parts that are important for this question.
Finally...
Quote:
But it doesn't work...
Never write this in a technical question. It is a waste of your time and ours. Just explain clearly what is happening.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum