Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DFDL-878

TextNumberProps: digits after E should give minimum exponent digit count

XMLWordPrintableJSON

    • Icon: Wish Wish
    • Resolution: Unresolved
    • Icon: Minor Minor
    • never
    • None
    • ICU
    • None

      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

              Unassigned Unassigned
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: