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

occursCountKind="fixed" does not verify that minOccurs == maxOccurs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: s5
    • Component/s: None
    • Labels:
      None

      Description

      In a schema I set occursCountKind to "fixed" and had differing values for minOccurs and maxOccurs. The document was parsed based on the value of maxOccurs, and there was no schema definition error.

      According to the spec:

      "When dfdl:occursCountKind='fixed', then the xs:maxOccurs value is the fixed number of occurrences of the array elements. It is a schema definition error if xs:minOccurs is not equal to xs:maxOccurs."

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              pchu Paul Chu (Inactive)
              Reporter:
              jchab Jessie Chab
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Tasks