-
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 support for lengthUnit=bits for any type
- we currently report a warning when we use lengthUnit=bits with certain types ex date/time types. Per the discussions on dev (https://lists.apache.org/thread/01sn3fk2wk7jtos2svw4995f7dxxt7g1), we want to open up use of lengthUnit=bits to all types. - remove no-op checkLengthUnits function - allow lengthUnits bits for binarySeconds/milliSeconds for xs:datetime - remove SDE for requirement that lengthUnit=bytes for binarySeconds/milliSeconds - verify test that uses lengthUnit=bits with calendar type no longer produces warning - verify test that uses lengthUnit=bits with integer type no longer produces warning - verify test that uses lengthUnit=bits with decimal type no longer produces warning - add tests for xs:double/xs:float verifying LU=bits - add tests for double/float showing runtime lengths not allowed - add tests for xs:dateTime with binaryCalendarRep set to binarySeconds/milliSeconds - add test for xs:date with binaryCalendarRep set to binarySeconds/milliSeconds (SDEs) - deprecate allowBigIntegerBits tunable and the DeprecatedBigIntegerBits WarnID Deprecation/Compatibility - allowBigIntegerBits tunable no longer has any effect. All types are allowed to use lengthUnit=bits. - WarnID DeprecatedBigIntegerBits has been deprecated. It is no longer in use in the codebase. DAFFODIL-2931
- Loading branch information
1 parent
3096dea
commit 36f2d87
Showing
8 changed files
with
280 additions
and
101 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
Oops, something went wrong.