XML validation in Qt

545 Views Asked by At

How does one validate an XML document against an XML schema in Qt? There must be Qt facilities to do that, but I am unable to find them...

I am using the latest Qt version (6.2.4).

1

There are 1 best solutions below

0
On

Bad news

I have recently been looking into xml patterns using Qt and unfortunately it seems that QtXmlPatterns was available until Qt 5.13 where it was deprecated and completely removed from Qt 6.x.

See Qt Xml Patterns 5.15.11.

I have seen other suggestions online to implement xerces-C++.