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

QXmlSchema: cannot load a valid schema

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.15.0
    • XML: QtXmlPatterns
    • None
    • Linux/X11

    Description

      Hi,

      I'm trying to validate XML against an known valid schema

       

      QUrl schemaUrl("http://www.genicam.org/GenApi/GenApiSchema_Version_1_1.xsd");
      QXmlSchema schema;
      schema.load(schemaUrl); 

      And get this error: 

       

      Error XSDError in http://www.genicam.org/GenApi/GenApiSchema_Version_1_1.xsd, at line 1, column 50: Expected ' ', but got '>'. 

      The issue being there's no column 50 at line 1 in this file.

      I checked the schema validity and it passes in multiple tools.

      I get the same error trying to load from a local copy.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            damienlefevre Damien LEFEVRE
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes