-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add annotations and facet check for PrefixLengthType
- currently we silently ignore facets on the prefixLengthType simple type and we don't execute asserts that try to force facet checking, thereby not doing any validation on prefixLengthType. This ticket aims to fix that issue by performing the checks and SDEing when we have statement annotation on the simpleType of the prefixLengthType, which are not supported according to the DFDL workgroup. - adds specific statement annotations to SDE - Added tests to ensure prefix value of 0 causes parse error - Added tests to ensure prefix value which results in zero-length string is allowed - Added tests to ensure prefix value greater than string lengths results in parse error DAFFODIL-2660
- Loading branch information
1 parent
e5851a7
commit 357f224
Showing
5 changed files
with
271 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters