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

QXmlSchema, XSD Schema validation, not all errors are reported

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • Some future release
    • 4.6.3
    • XML: QtXmlPatterns
    • Qt 4.6.3, Linux Slackware 13.0 64bit

      Hi,
      I have an issue with validating Xml Schema.
      As you can see attached schema has two errors, first one is at the line 8 and the second one is at the line 12 (Attribute names are incorrect).
      But I can get only the first error with xmlpatternsvalidator utility (As well as in my own code).
      Error XTSE0090 in file:///home/uvv/CPP/xsdeditor/trunk/bin/test.xsd, at line 8, column 52: Attribute nam cannot appear on the element element. Allowed is form, type, ref, minOccurs, id, default, name, nillable, maxOccurs, block, fixed, and the standard attributes.
      I believe all non-critical errors should be reported. The reason for reporting just one error could be either the document has just one error or the error, parser encounters with, is critical.

      Yours sincerely,
      Vyacheslav Yurkov

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            juvuolle Juha Vuolle (closed Nokia identity) (Inactive)
            uvv Vyacheslav Yurkov
            Votes:
            8 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes