Trouble with xsd file



  • Hi !

    I have a valid Xml schema file. It's valid because I load it into many softwares like XML Liquid Studio and it is said to be valid.
    Now I try to validate it under Qt 5 and VS 2012.

    I use a QbyteArray to read the file and convert to Utf8.
    I use schema.load(QByteArray) and schema.isValid().

    When I put a breakpoint in front of schema.load and then F10 in Qt Creator it throws an exception.
    When I put a breakpoint in front of schema.isValid() and then F10 it don't throw any exception but isValid always return false.

    Any idea ?
    Many thanks


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.