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

Unordered sequence with dfdl:format value of occursCountKind != "parsed" fails to compile

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • deferred
    • None
    • Front End, General
    • None

      Daffodil performs checks to ensure the occursCountKind="parsed" for arrays and optional elements inside an unordered sequence. However, when we convert a unordered sequence to a sequence of choices, we create temporary elements that do not specify occursCountKind. These elements then get occursCountKind from the dfdl:format. If this value is not parsed, daffodil throws an error. We either need to set occursCountKind="parsed" on these temporary elements, or we need to exclude these elements when checking this restriction.

              Unassigned Unassigned
              slawrence Steve Lawrence
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: