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

TextNumberProps: digits after E should give minimum exponent digit count

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: never
    • Component/s: ICU
    • Labels:
      None

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Tasks