Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13355

XML + schema and sequences can not hold more than 100 elements

    XMLWordPrintable

Details

    Description

      Using QXMLSchema and QXMLSchemaValidator to validate XML files against XML schema.
      There is a problem with bounded sequences containing more than 100 elements. In our schema, we have a fixed size sequence of elements - total of 256 elements (minOccurs = "256" maxOccurs = "256"). QXMLSchemaValidator does not handle this, it accepts the first 100 elements but then gives an error for the 101:th one (element not defined in this scope).

      This only occur for bounded sequences.

      Attachments

        1. patch.diff
          0.6 kB
          Martin Petersson
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            xcm Martin Petersson (Inactive)
            Votes:
            7 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes