As was mentioned to us during our presentation, we really should be
validating our input XML documents. Luckily, as of recent versions of QT,
this is possible. XML has always handled validation with the idea of a
'schema'. Basically, a schema outlines the form and format of an XML file.
Then, you can compare the given XML document to the schema. If it doesn't
match, it's invalid.

http://doc.trolltech.com/4.6/qxmlschema.html

This will allow us to ensure that our applications won't try to deal with
invalid XML files.

Zach J. Elko
Ball State University Unified Technology Support
Certified Hardware & Software Technician
_______________________________________________
Mailing list: https://launchpad.net/~destiny
Post to     : destiny@lists.launchpad.net
Unsubscribe : https://launchpad.net/~destiny
More help   : https://help.launchpad.net/ListHelp

Reply via email to