Jump to content

DOM and Schemas


MatthewRed

Recommended Posts

I have been converting config and definition files (company proprietary formats) to XML and xsd formats. We are using Qt 4.1.4 which has a Core Level 1 and 2 compliant DOM parser.How is xml validated against the xsd file? Is there something I'm suppost to do to test my data against the schema? How do I catch an error? How do I know it passed?I've played with some example data and schema, and I tried to get an error by breaking the schema file. This had no effect, and the xml file was parsed into a DOM tree regardless.I'm so confused, can anyone help me?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...