[ 
https://issues.apache.org/jira/browse/DAFFODIL-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17678387#comment-17678387
 ] 

Mike Beckerle commented on DAFFODIL-1172:
-----------------------------------------

Question: Does the underlying code implement lengthUnits bits for beyond 64 
bits? E.g., does Daffodil work with a 67 bit long xs:integer?

If not, if it insists on the sizes being multiples of 8, then yes I would say 
we don't need a tunable. We should just SDW that this is non-standard and so 
deprecated. 

Then fix in a subsequent release and make it an SDE. 

But,... If we're actually supporting bit granularity in these types that can 
support more than 64 bits, then it's trickier as we need to know if there are 
any *actual* uses of those that are not multiples of 8. 

Suggest we log any use of xs:integer or xs:nonNegativeInteger that is more than 
64 bits and not a multiple of 8. 

 

 

> length units bits for xs:integer and xs:nonNegativeInteger, should be SDE
> -------------------------------------------------------------------------
>
>                 Key: DAFFODIL-1172
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-1172
>             Project: Daffodil
>          Issue Type: Bug
>          Components: Diagnostics, Front End
>    Affects Versions: 1.0.0
>            Reporter: Mike Beckerle
>            Assignee: Mike McGann
>            Priority: Minor
>             Fix For: 3.5.0
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Currently, daffodil accepts lengthUnits bits for these types. This should not 
> be allowed as lengthUnits bits is only allowed for the integer types up to 
> length 64 bits.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to