PDA

View Full Version : XML Validation



NoRulez
30th October 2008, 08:56
Hey @all,

did anybody know a way how i can validate a XML file with DTD or XSD (XML-Schema) ?
I only find QXmlDTDHandler and I think this is only an abstract class.
Currently I verify the XML file using QProcess with xmllint, but i don't want to use external programs for that when Qt has already a XML class.

Regards

Kumosan
30th October 2008, 09:38
The Qt xml modules current do not support validation.

wysota
30th October 2008, 09:39
I don't think there is direct support for this in Qt.

Kumosan
30th October 2008, 09:49
I don't think there is direct support for this in Qt.

You don't need to think here. There isn't. :D

However, there might be something in the solutions.

flowmaster
15th September 2010, 14:07
Now Qt has support of XSD validation. I've use it in 4.6 version