Affects Version/s: None
Fix Version/s: 1.1.0
I've been trying to put together a schema/test that parses 3 different characters, and then has three sequences (all part of a top-level sequence with '|' as the separator). The first sequence will have the first character as a separator, the second sequence will use the second character, and so on. So this is my input:
It seems to correctly find the separator in order to fill in the num element, but still fails.
I created a few more tests to try and narrow down the issue:
arrayExpressions02b - demonstrates that you can use an expression referencing a previous element to set the separator
arrayExpressions02c - similar to arrayExpressions02, except the expression with occursCount is used for the terminator property of the innermost element.
arrayExpressions02d - similar to arrayExpressions02, except the expression with occursCount is used for the initiator of the top-level element instead of the sequence separator.
It seems that this is only a problem when used in a property of the sequence.
see test arrayExpressions02 in the following files: