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

textNumberProps: Issues with textNumberCheckPolicy="lax"

    XMLWordPrintableJSON

    Details

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

      Description

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                Created:
                Updated:

                  Tasks