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

Array in unordered sequence with with maxOccurs="unbounded" fails

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: deferred
    • Component/s: Front End
    • Labels:
      None

      Description

      For example:

      <sequence dfdl:sequenceKind="unordered">
        <element name="foo" maxOccurs="unbounded" />
        ...
      </sequence>

      Causes a NumberFormatException for input string: "unbounded".

      Looks like we try to convert the value of maxOccurs to a number without checking if it's unbounded.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                slawrence Steve Lawrence
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Tasks