You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "Mike Beckerle (Jira)" <ji...@apache.org> on 2020/08/05 18:35:00 UTC
[jira] [Commented] (DAFFODIL-878) TextNumberProps: digits after E
should give minimum exponent digit count
[ https://issues.apache.org/jira/browse/DAFFODIL-878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17171681#comment-17171681 ]
Mike Beckerle commented on DAFFODIL-878:
----------------------------------------
Document this and then close.
> TextNumberProps: digits after E should give minimum exponent digit count
> ------------------------------------------------------------------------
>
> Key: DAFFODIL-878
> URL: https://issues.apache.org/jira/browse/DAFFODIL-878
> Project: Daffodil
> Issue Type: Bug
> Components: ICU
> Reporter: Jessie Chab
> Priority: Minor
>
> According to the spec, the number of digits after the E in scientific notation gives the minimum exponent digit count. I would expect that if textNumberCheckPolicy is strict, then data that provides a number of digits less than this minimum should fail. However the data parses without issue.
> see test
> textNumberPattern_scientificNotation02 in the following files:
> daffodil-test/src/test/resources/edu/illinois/ncsa/daffodil/section13/text_number_props/TextNumberProps.tdml
> daffodil-test/src/test/scala-debug/edu/illinois/ncsa/daffodil/section13/text_number_props/TestTextNumberPropsDebug.scala
--
This message was sent by Atlassian Jira
(v8.3.4#803005)