<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Jakob,<br>
<br>
regarding the 'deprecated' state of XmlPatterns: There wont be an
further development for this module, but I also doubt that it will
be removed before Qt 6. So as long as you're using Qt 5 you're safe
to use XmlPatterns. Qt 6 might be still 2 years away, and as you're
using it professionally, I assume that you'll probably wait at least
till the release of Qt 6.1 (or even longer) anyway before upgrading
your project to it. Until then there might be another Qt
(conforming) solution to the problem.<br>
<br>
So in my opinion you've got 2 options (depending on the scope and
lifecycle of your project): <br>
a) use the Xml Schema related classes from the XmlPatterns module
and worry about it going away (much) later, and maybe even have a Qt
(conforming) solution by then, or <br>
b) use an external library like CodeSynthesis XSD or something
similar and worry about their API changes and usage and naming
patterns that differ from Qt's patterns etc. <br>
<br>
IMHO using the Qt modules while they are still available is usually
the better option. <br>
<br>
<div class="moz-signature">Mit freundlichen Grüßen | Kind regards,<br>
<br>
<b>Yves Maurischat</b><br>
Senior Software Engineer<br>
<br>
<small>
basysKom GmbH<br>
Robert-Bosch-Str. 7 | 64293 Darmstadt | Germany<br>
Tel: +49 6151 870 589 0| Fax: -199<br>
<a class="moz-txt-link-abbreviated" href="mailto:yves.maurischat@basyskom.com">yves.maurischat@basyskom.com</a> | <a class="moz-txt-link-abbreviated" href="http://www.basyskom.com">www.basyskom.com</a><br>
<br>
Handelsregister: Darmstadt HRB 9352<br>
Geschaeftsfuehrung: Heike Ziegler
<br>
<br>
</small></div>
<div class="moz-cite-prefix">Am 16.05.2019 um 09:31 schrieb Jakob
Lettenbichler:<br>
</div>
<blockquote type="cite"
cite="mid:d1b826ccf2fc4818a75b280297879c37@artech.at">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hiho,<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">This is my first mail to
the mailing list, so please be gentle with me…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">We are using
QXmlStreamReader and –writer for handling our xml files
(QDom seems to be dead, if I interpret the lines in the
documentation correctly:
<a href="https://doc.qt.io/qt-5/qtxml-index.html"
moz-do-not-send="true">https://doc.qt.io/qt-5/qtxml-index.html</a>
).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Qt seems to have a nice
bunch of classes for Xml Schemas in the Xml patterns module
(<a href="https://doc.qt.io/qt-5/qtxmlpatterns-index.html"
moz-do-not-send="true">https://doc.qt.io/qt-5/qtxmlpatterns-index.html</a>
) but using them seems to be dangerous, since the release
notes mark them as deprecated: (</span><a
href="https://wiki.qt.io/New_Features_in_Qt_5.13"
moz-do-not-send="true"><span lang="EN-GB">https://wiki.qt.io/New_Features_in_Qt_5.13</span></a><span
lang="EN-GB"> )<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">I do not find any
comparable class in the Qt documentation, therefore I would
like to ask the professionals here, how to work with Xml
Schemas in Qt without that module.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Many thanks in advance
for helping me out,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">Jakob<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB">P.S.: My colleague has
asked a similar question in the forum (<a
href="https://forum.qt.io/topic/102834/proper-successor-for-qxmlschemavalidator"
moz-do-not-send="true">https://forum.qt.io/topic/102834/proper-successor-for-qxmlschemavalidator</a>
), but they sent us here. So please don’t send us back…<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">----------------------------------------<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">Dr. Jakob Lettenbichler<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">A&R TECH GMBH ...we make
it move...<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">Marksteinergasse 13, 1210 Vienna, Austria<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">Tel.:
<b>+43 1 2720001- 67</b> Fax.: +43 1 2720001-11<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;mso-fareast-language:DE"
lang="EN-GB"><a href="mailto:jakob.lettenbichler@artech.at"
moz-do-not-send="true"><span style="color:blue">mailto:jakob.lettenbichler@artech.at</span></a><span
style="color:#1F497D">
</span></span><span style="mso-fareast-language:DE-AT"><a
href="http://www.artech.at/" moz-do-not-send="true"><span
style="font-size:10.0pt;color:blue;mso-fareast-language:DE" lang="EN-GB">http://www.artech.at</span></a></span><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">FN 181686 k. HG Wien, UID-Nr.
</span><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE">ATU
47056901, zertifiziert nach ISO 9001:2000 Nr. 4036/0</span><span
style="color:#1F497D;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE">Der
Inhalt dieser E-Mail ist vertraulich und ausschließlich für
den bezeichneten Adressaten bestimmt. Wenn Sie nicht der
vorgesehene Adressat dieser E-Mail oder dessen Vertreter
sein sollten, so beachten Sie bitte, dass jede Form der
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder
Weitergabe des Inhaltes dieser E-Mail unzulässig ist. Wir
bitten Sie, sich in diesem Fall mit dem Absender der E-Mail
in Verbindung zu setzen und die E-Mail zu vernichten. Für
Übermittlungsfehler oder sonstige Irrtümer bei der
Übermittlung besteht keine Haftung.</span><span
style="color:#1F497D;mso-fareast-language:DE"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;color:#1F497D;mso-fareast-language:DE"
lang="EN-GB">This e-mail is intended solely for the person
to whom it is addressed and may contain confidential or
legally privileged information. Access to this e-mail by
anyone else is unauthorized. If an addressing or
transmission error has misdirected this e-mail, please
notify the author by replying to this e-mail and destroy
this e-mail and any attachments. E-mail may be susceptible
to data corruption, interception, unauthorized amendment,
viruses and delays or the consequences thereof. If you are
not the intended recipient, be advised that you have
received this e-mail in error and that any use,
dissemination, forwarding, printing or copying of this
e-mail is strictly prohibited.</span><span
style="color:#1F497D;mso-fareast-language:DE" lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB"><o:p> </o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Interest mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Interest@qt-project.org">Interest@qt-project.org</a>
<a class="moz-txt-link-freetext" href="https://lists.qt-project.org/listinfo/interest">https://lists.qt-project.org/listinfo/interest</a>
</pre>
</blockquote>
<br>
</body>
</html>