Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Trouble with xsd file
Qt 6.11 is out! See what's new in the release blog

Trouble with xsd file

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 669 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mulfycrowh
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved