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

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

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • s5
    • None
    • None
    • None

      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."

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

                Created:
                Updated:
                Resolved: