QXmlSchemaValidator reports "Premature end of file"
I have several XML and XSD files provided by the simulation community that describe a method for passing task and status messages. I am trying to use the QXmlSchemaValidator class to validate the messages but always get "Premature end of file" exception after calling schema.isValid. My code is based on the XmlPatterns example and I am running on Windows 7 with VS 2013. I have tried various other XML validators including the Notepad++ XML validation tools and they indicate the schema is valid. Are there known issues with the XML classes on Windows. I can use the XmlStreamReader to parse both the XSD and the XML files without any problem.
could you provide a code example and an example xsd file?