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

textNumberProps: Issues with textNumberCheckPolicy="lax"

XMLWordPrintableJSON

    • Icon: Wish Wish
    • Resolution: Unresolved
    • Icon: Normal Normal
    • never
    • s11
    • ICU
    • None

      According to errata item 2.21:

      2.21. Section 13.6. Change meaning of textNumberCheckPolicy enum 'lax' to align with ICU.: "If ‘lax' and dfdl:textNumberRep is 'standard' then grouping separators are ignored, leading and trailing whitespace is ignored, leading zeros are ignored, quoted characters may be omitted."

      I wrote two tests for the last part of that requirement, and they result in Parse Errors.

      see tests test_textNumberCheckPolicy_lax01, test_textNumberCheckPolicy_lax05
      in 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
      daffodil-test/src/test/scala/edu/illinois/ncsa/daffodil/section13/text_number_props/TestTextNumberProps.scala

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

                Created:
                Updated: