├── .gitmodules ├── .qmake.conf ├── .tag ├── LICENSE.FDL ├── LICENSE.GPL2 ├── LICENSE.GPL3 ├── LICENSE.GPL3-EXCEPT ├── LICENSE.LGPL3 ├── configure.json ├── dependencies.yaml ├── dist ├── changes-5.0.1 ├── changes-5.0.2 ├── changes-5.1.0 ├── changes-5.1.1 ├── changes-5.10.0 ├── changes-5.10.1 ├── changes-5.11.0 ├── changes-5.11.1 ├── changes-5.11.2 ├── changes-5.11.3 ├── changes-5.12.0 ├── changes-5.12.1 ├── changes-5.12.2 ├── changes-5.12.3 ├── changes-5.12.4 ├── changes-5.12.5 ├── changes-5.13.0 ├── changes-5.13.1 ├── changes-5.13.2 ├── changes-5.14.0 ├── changes-5.14.1 ├── changes-5.6.3 ├── changes-5.7.0 ├── changes-5.8.0 ├── changes-5.9.0 ├── changes-5.9.1 ├── changes-5.9.2 ├── changes-5.9.3 ├── changes-5.9.4 ├── changes-5.9.5 └── changes-5.9.6 ├── examples ├── examples.pro └── xmlpatterns │ ├── README │ ├── filetree │ ├── doc │ │ └── src │ │ │ └── filetree.qdoc │ ├── filetree.cpp │ ├── filetree.h │ ├── filetree.pro │ ├── forms │ │ └── mainwindow.ui │ ├── main.cpp │ ├── mainwindow.cpp │ ├── mainwindow.h │ ├── queries.qrc │ └── queries │ │ ├── listCPPFiles.xq │ │ └── wholeTree.xq │ ├── recipes │ ├── doc │ │ └── src │ │ │ └── recipes.qdoc │ ├── files │ │ ├── allRecipes.xq │ │ ├── cookbook.xml │ │ ├── liquidIngredientsInSoup.xq │ │ ├── mushroomSoup.xq │ │ ├── preparationLessThan30.xq │ │ └── preparationTimes.xq │ ├── forms │ │ └── querywidget.ui │ ├── main.cpp │ ├── querymainwindow.cpp │ ├── querymainwindow.h │ ├── recipes.pro │ └── recipes.qrc │ ├── schema │ ├── doc │ │ └── src │ │ │ └── schema.qdoc │ ├── files │ │ ├── contact.xsd │ │ ├── invalid_contact.xml │ │ ├── invalid_order.xml │ │ ├── invalid_recipe.xml │ │ ├── order.xsd │ │ ├── recipe.xsd │ │ ├── valid_contact.xml │ │ ├── valid_order.xml │ │ └── valid_recipe.xml │ ├── main.cpp │ ├── mainwindow.cpp │ ├── mainwindow.h │ ├── schema.pro │ ├── schema.qrc │ └── schema.ui │ ├── shared │ ├── xmlsyntaxhighlighter.cpp │ └── xmlsyntaxhighlighter.h │ ├── xmlpatterns.pro │ └── xquery │ ├── doc │ └── src │ │ └── globalVariables.qdoc │ ├── globalVariables │ ├── globals.cpp │ ├── globals.gccxml │ ├── globals.html │ └── reportGlobals.xq │ └── xquery.pro ├── qtxmlpatterns.pro ├── src ├── imports │ ├── imports.pro │ └── xmllistmodel │ │ ├── plugin.cpp │ │ ├── plugins.qmltypes │ │ ├── qmldir │ │ ├── qqmlxmllistmodel.cpp │ │ ├── qqmlxmllistmodel_p.h │ │ └── xmllistmodel.pro ├── src.pro └── xmlpatterns │ ├── Doxyfile │ ├── Mainpage.dox │ ├── acceltree │ ├── acceltree.pri │ ├── qacceliterators.cpp │ ├── qacceliterators_p.h │ ├── qacceltree.cpp │ ├── qacceltree_p.h │ ├── qacceltreebuilder_p.h │ ├── qacceltreebuilder_tpl_p.h │ ├── qacceltreeresourceloader.cpp │ ├── qacceltreeresourceloader_p.h │ ├── qcompressedwhitespace.cpp │ └── qcompressedwhitespace_p.h │ ├── api │ ├── api.pri │ ├── qabstractmessagehandler.cpp │ ├── qabstractmessagehandler.h │ ├── qabstracturiresolver.cpp │ ├── qabstracturiresolver.h │ ├── qabstractxmlforwarditerator.cpp │ ├── qabstractxmlforwarditerator_p.h │ ├── qabstractxmlnodemodel.cpp │ ├── qabstractxmlnodemodel.h │ ├── qabstractxmlnodemodel_p.h │ ├── qabstractxmlpullprovider.cpp │ ├── qabstractxmlpullprovider_p.h │ ├── qabstractxmlreceiver.cpp │ ├── qabstractxmlreceiver.h │ ├── qabstractxmlreceiver_p.h │ ├── qcoloringmessagehandler.cpp │ ├── qcoloringmessagehandler_p.h │ ├── qcoloroutput.cpp │ ├── qcoloroutput_p.h │ ├── qdeviceresourceloader_p.h │ ├── qiodevicedelegate.cpp │ ├── qiodevicedelegate_p.h │ ├── qnetworkaccessdelegator.cpp │ ├── qnetworkaccessdelegator_p.h │ ├── qpullbridge.cpp │ ├── qpullbridge_p.h │ ├── qreferencecountedvalue_p.h │ ├── qresourcedelegator.cpp │ ├── qresourcedelegator_p.h │ ├── qsimplexmlnodemodel.cpp │ ├── qsimplexmlnodemodel.h │ ├── qsourcelocation.cpp │ ├── qsourcelocation.h │ ├── qtxmlpatternsglobal.h │ ├── quriloader.cpp │ ├── quriloader_p.h │ ├── qvariableloader.cpp │ ├── qvariableloader_p.h │ ├── qxmlformatter.cpp │ ├── qxmlformatter.h │ ├── qxmlname.cpp │ ├── qxmlname.h │ ├── qxmlnamepool.cpp │ ├── qxmlnamepool.h │ ├── qxmlpatternistcli_p.h │ ├── qxmlquery.cpp │ ├── qxmlquery.h │ ├── qxmlquery_p.h │ ├── qxmlresultitems.cpp │ ├── qxmlresultitems.h │ ├── qxmlresultitems_p.h │ ├── qxmlschema.cpp │ ├── qxmlschema.h │ ├── qxmlschema_p.cpp │ ├── qxmlschema_p.h │ ├── qxmlschemavalidator.cpp │ ├── qxmlschemavalidator.h │ ├── qxmlschemavalidator_p.h │ ├── qxmlserializer.cpp │ ├── qxmlserializer.h │ └── qxmlserializer_p.h │ ├── common.pri │ ├── configure.json │ ├── data │ ├── data.pri │ ├── qabstractdatetime.cpp │ ├── qabstractdatetime_p.h │ ├── qabstractduration.cpp │ ├── qabstractduration_p.h │ ├── qabstractfloat_p.h │ ├── qabstractfloat_tpl_p.h │ ├── qabstractfloatcasters_p.h │ ├── qabstractfloatcasters_tpl_p.h │ ├── qabstractfloatmathematician_p.h │ ├── qabstractfloatmathematician_tpl_p.h │ ├── qanyuri.cpp │ ├── qanyuri_p.h │ ├── qatomiccaster.cpp │ ├── qatomiccaster_p.h │ ├── qatomiccasters.cpp │ ├── qatomiccasters_p.h │ ├── qatomiccomparator.cpp │ ├── qatomiccomparator_p.h │ ├── qatomiccomparators.cpp │ ├── qatomiccomparators_p.h │ ├── qatomicmathematician.cpp │ ├── qatomicmathematician_p.h │ ├── qatomicmathematicians.cpp │ ├── qatomicmathematicians_p.h │ ├── qatomicstring.cpp │ ├── qatomicstring_p.h │ ├── qatomicvalue.cpp │ ├── qbase64binary.cpp │ ├── qbase64binary_p.h │ ├── qboolean.cpp │ ├── qboolean_p.h │ ├── qcommonvalues.cpp │ ├── qcommonvalues_p.h │ ├── qcomparisonfactory.cpp │ ├── qcomparisonfactory_p.h │ ├── qdate.cpp │ ├── qdate_p.h │ ├── qdaytimeduration.cpp │ ├── qdaytimeduration_p.h │ ├── qdecimal.cpp │ ├── qdecimal_p.h │ ├── qderivedinteger_p.h │ ├── qderivedstring_p.h │ ├── qduration.cpp │ ├── qduration_p.h │ ├── qgday.cpp │ ├── qgday_p.h │ ├── qgmonth.cpp │ ├── qgmonth_p.h │ ├── qgmonthday.cpp │ ├── qgmonthday_p.h │ ├── qgyear.cpp │ ├── qgyear_p.h │ ├── qgyearmonth.cpp │ ├── qgyearmonth_p.h │ ├── qhexbinary.cpp │ ├── qhexbinary_p.h │ ├── qinteger.cpp │ ├── qinteger_p.h │ ├── qitem.cpp │ ├── qitem_p.h │ ├── qnodebuilder.cpp │ ├── qnodebuilder_p.h │ ├── qnodemodel.cpp │ ├── qqnamevalue.cpp │ ├── qqnamevalue_p.h │ ├── qresourceloader.cpp │ ├── qresourceloader_p.h │ ├── qschemadatetime.cpp │ ├── qschemadatetime_p.h │ ├── qschemanumeric.cpp │ ├── qschemanumeric_p.h │ ├── qschematime.cpp │ ├── qschematime_p.h │ ├── qsequencereceiver.cpp │ ├── qsequencereceiver_p.h │ ├── qsorttuple.cpp │ ├── qsorttuple_p.h │ ├── quntypedatomic.cpp │ ├── quntypedatomic_p.h │ ├── qvalidationerror.cpp │ ├── qvalidationerror_p.h │ ├── qvaluefactory.cpp │ ├── qvaluefactory_p.h │ ├── qyearmonthduration.cpp │ └── qyearmonthduration_p.h │ ├── doc │ ├── images │ │ ├── filetree_1-example.png │ │ ├── filetree_2-example.png │ │ ├── patternist-wordProcessor.png │ │ ├── recipes-example.png │ │ ├── schema-example.png │ │ └── trafficinfo-example.png │ ├── qtxmlpatterns.qdocconf │ ├── snippets │ │ ├── code │ │ │ ├── doc_src_qtxmlpatterns.qdoc │ │ │ ├── src_xmlpatterns_api_qabstracturiresolver.cpp │ │ │ ├── src_xmlpatterns_api_qabstractxmlforwarditerator.cpp │ │ │ ├── src_xmlpatterns_api_qabstractxmlnodemodel.cpp │ │ │ ├── src_xmlpatterns_api_qabstractxmlreceiver.cpp │ │ │ ├── src_xmlpatterns_api_qsimplexmlnodemodel.cpp │ │ │ ├── src_xmlpatterns_api_qxmlformatter.cpp │ │ │ ├── src_xmlpatterns_api_qxmlname.cpp │ │ │ ├── src_xmlpatterns_api_qxmlquery.cpp │ │ │ ├── src_xmlpatterns_api_qxmlresultitems.cpp │ │ │ └── src_xmlpatterns_api_qxmlserializer.cpp │ │ ├── doc_src_qtxmlpatterns.cpp │ │ ├── doc_src_qtxmlpatterns.pro │ │ ├── patternist │ │ │ ├── anyHTMLElement.xq │ │ │ ├── anyXLinkAttribute.xq │ │ │ ├── bracesIncluded.xq │ │ │ ├── bracesIncludedResult.xml │ │ │ ├── bracesOmitted.xq │ │ │ ├── bracesOmittedResult.xml │ │ │ ├── computedTreeFragment.xq │ │ │ ├── copyAttribute.xq │ │ │ ├── copyID.xq │ │ │ ├── directTreeFragment.xq │ │ │ ├── doc.txt │ │ │ ├── docPlainHTML.xq │ │ │ ├── docPlainHTML2.xq │ │ │ ├── embedDataInXHTML.xq │ │ │ ├── embedDataInXHTML2.xq │ │ │ ├── emptyParagraphs.xq │ │ │ ├── escapeCurlyBraces.xq │ │ │ ├── escapeStringLiterals.xml │ │ │ ├── escapeStringLiterals.xq │ │ │ ├── expressionInsideAttribute.xq │ │ │ ├── filterOnPath.xq │ │ │ ├── filterOnStep.xq │ │ │ ├── firstParagraph.xq │ │ │ ├── fnStringOnAttribute.xq │ │ │ ├── forClause.xq │ │ │ ├── forClause2.xq │ │ │ ├── forClauseOnFeed.xq │ │ │ ├── indented.xml │ │ │ ├── introAcneRemover.xq │ │ │ ├── introExample2.xq │ │ │ ├── introFileHierarchy.xml │ │ │ ├── introNavigateFS.xq │ │ │ ├── introductionExample.xq │ │ │ ├── invalidLetOrderBy.xq │ │ │ ├── items.xq │ │ │ ├── letOrderBy.xq │ │ │ ├── literalsAndOperators.xq │ │ │ ├── mobeyDick.xml │ │ │ ├── nextLastParagraph.xq │ │ │ ├── nodeConstructorsAreExpressions.xq │ │ │ ├── nodeConstructorsInPaths.xq │ │ │ ├── nodeTestChildElement.xq │ │ │ ├── notIndented.xml │ │ │ ├── oneElementConstructor.xq │ │ │ ├── paragraphsExceptTheFiveFirst.xq │ │ │ ├── paragraphsWithTables.xq │ │ │ ├── pathAB.xq │ │ │ ├── pathsAllParagraphs.xq │ │ │ ├── simpleHTML.xq │ │ │ ├── simpleXHTML.xq │ │ │ ├── svgDocumentElement.xml │ │ │ ├── tablesInParagraphs.xq │ │ │ ├── twoSVGElements.xq │ │ │ ├── xmlStylesheet.xq │ │ │ ├── xsBooleanTrue.xq │ │ │ └── xsvgDocumentElement.xml │ │ ├── qml │ │ │ ├── xmlrole.qml │ │ │ └── xmlrole.xml │ │ ├── qxmlquery │ │ │ └── bindingExample.cpp │ │ ├── qxmlschema │ │ │ └── main.cpp │ │ └── qxmlschemavalidator │ │ │ └── main.cpp │ └── src │ │ ├── qtxmlpatterns-examples.qdoc │ │ ├── qtxmlpatterns-index.qdoc │ │ ├── qtxmlpatterns-module.qdoc │ │ ├── xml-patterns.qdoc │ │ └── xquery-introduction.qdoc │ ├── documentationGroups.dox │ ├── environment │ ├── createReportContext.sh │ ├── createReportContext.xsl │ ├── environment.pri │ ├── qcurrentitemcontext.cpp │ ├── qcurrentitemcontext_p.h │ ├── qdelegatingdynamiccontext.cpp │ ├── qdelegatingdynamiccontext_p.h │ ├── qdelegatingstaticcontext.cpp │ ├── qdelegatingstaticcontext_p.h │ ├── qdynamiccontext.cpp │ ├── qdynamiccontext_p.h │ ├── qfocus.cpp │ ├── qfocus_p.h │ ├── qgenericdynamiccontext.cpp │ ├── qgenericdynamiccontext_p.h │ ├── qgenericstaticcontext.cpp │ ├── qgenericstaticcontext_p.h │ ├── qreceiverdynamiccontext.cpp │ ├── qreceiverdynamiccontext_p.h │ ├── qreportcontext.cpp │ ├── qreportcontext_p.h │ ├── qstackcontextbase_p.h │ ├── qstackcontextbase_tpl_p.h │ ├── qstaticbaseuricontext.cpp │ ├── qstaticbaseuricontext_p.h │ ├── qstaticcompatibilitycontext.cpp │ ├── qstaticcompatibilitycontext_p.h │ ├── qstaticcontext.cpp │ ├── qstaticcontext_p.h │ ├── qstaticcurrentcontext.cpp │ ├── qstaticcurrentcontext_p.h │ ├── qstaticfocuscontext.cpp │ ├── qstaticfocuscontext_p.h │ ├── qstaticnamespacecontext.cpp │ └── qstaticnamespacecontext_p.h │ ├── expr │ ├── expr.pri │ ├── qandexpression.cpp │ ├── qandexpression_p.h │ ├── qapplytemplate.cpp │ ├── qapplytemplate_p.h │ ├── qargumentreference.cpp │ ├── qargumentreference_p.h │ ├── qarithmeticexpression.cpp │ ├── qarithmeticexpression_p.h │ ├── qattributeconstructor.cpp │ ├── qattributeconstructor_p.h │ ├── qattributenamevalidator.cpp │ ├── qattributenamevalidator_p.h │ ├── qaxisstep.cpp │ ├── qaxisstep_p.h │ ├── qcachecells_p.h │ ├── qcallsite.cpp │ ├── qcallsite_p.h │ ├── qcalltargetdescription.cpp │ ├── qcalltargetdescription_p.h │ ├── qcalltemplate.cpp │ ├── qcalltemplate_p.h │ ├── qcastableas.cpp │ ├── qcastableas_p.h │ ├── qcastas.cpp │ ├── qcastas_p.h │ ├── qcastingplatform_p.h │ ├── qcastingplatform_tpl_p.h │ ├── qcollationchecker.cpp │ ├── qcollationchecker_p.h │ ├── qcombinenodes.cpp │ ├── qcombinenodes_p.h │ ├── qcommentconstructor.cpp │ ├── qcommentconstructor_p.h │ ├── qcomparisonplatform_p.h │ ├── qcomparisonplatform_tpl_p.h │ ├── qcomputednamespaceconstructor.cpp │ ├── qcomputednamespaceconstructor_p.h │ ├── qcontextitem.cpp │ ├── qcontextitem_p.h │ ├── qcopyof.cpp │ ├── qcopyof_p.h │ ├── qcurrentitemstore.cpp │ ├── qcurrentitemstore_p.h │ ├── qdocumentconstructor.cpp │ ├── qdocumentconstructor_p.h │ ├── qdocumentcontentvalidator.cpp │ ├── qdocumentcontentvalidator_p.h │ ├── qdynamiccontextstore.cpp │ ├── qdynamiccontextstore_p.h │ ├── qelementconstructor.cpp │ ├── qelementconstructor_p.h │ ├── qemptycontainer.cpp │ ├── qemptycontainer_p.h │ ├── qemptysequence.cpp │ ├── qemptysequence_p.h │ ├── qevaluationcache_p.h │ ├── qevaluationcache_tpl_p.h │ ├── qexpression.cpp │ ├── qexpression_p.h │ ├── qexpressiondispatch_p.h │ ├── qexpressionfactory.cpp │ ├── qexpressionfactory_p.h │ ├── qexpressionsequence.cpp │ ├── qexpressionsequence_p.h │ ├── qexpressionvariablereference.cpp │ ├── qexpressionvariablereference_p.h │ ├── qexternalvariableloader.cpp │ ├── qexternalvariableloader_p.h │ ├── qexternalvariablereference.cpp │ ├── qexternalvariablereference_p.h │ ├── qfirstitempredicate.cpp │ ├── qfirstitempredicate_p.h │ ├── qforclause.cpp │ ├── qforclause_p.h │ ├── qgeneralcomparison.cpp │ ├── qgeneralcomparison_p.h │ ├── qgenericpredicate.cpp │ ├── qgenericpredicate_p.h │ ├── qifthenclause.cpp │ ├── qifthenclause_p.h │ ├── qinstanceof.cpp │ ├── qinstanceof_p.h │ ├── qletclause.cpp │ ├── qletclause_p.h │ ├── qliteral.cpp │ ├── qliteral_p.h │ ├── qliteralsequence.cpp │ ├── qliteralsequence_p.h │ ├── qnamespaceconstructor.cpp │ ├── qnamespaceconstructor_p.h │ ├── qncnameconstructor.cpp │ ├── qncnameconstructor_p.h │ ├── qnodecomparison.cpp │ ├── qnodecomparison_p.h │ ├── qnodesort.cpp │ ├── qnodesort_p.h │ ├── qoperandsiterator_p.h │ ├── qoptimizationpasses.cpp │ ├── qoptimizationpasses_p.h │ ├── qoptimizerblocks.cpp │ ├── qoptimizerblocks_p.h │ ├── qoptimizerframework.cpp │ ├── qoptimizerframework_p.h │ ├── qorderby.cpp │ ├── qorderby_p.h │ ├── qorexpression.cpp │ ├── qorexpression_p.h │ ├── qpaircontainer.cpp │ ├── qpaircontainer_p.h │ ├── qparentnodeaxis.cpp │ ├── qparentnodeaxis_p.h │ ├── qpath.cpp │ ├── qpath_p.h │ ├── qpositionalvariablereference.cpp │ ├── qpositionalvariablereference_p.h │ ├── qprocessinginstructionconstructor.cpp │ ├── qprocessinginstructionconstructor_p.h │ ├── qqnameconstructor.cpp │ ├── qqnameconstructor_p.h │ ├── qquantifiedexpression.cpp │ ├── qquantifiedexpression_p.h │ ├── qrangeexpression.cpp │ ├── qrangeexpression_p.h │ ├── qrangevariablereference.cpp │ ├── qrangevariablereference_p.h │ ├── qreturnorderby.cpp │ ├── qreturnorderby_p.h │ ├── qsimplecontentconstructor.cpp │ ├── qsimplecontentconstructor_p.h │ ├── qsinglecontainer.cpp │ ├── qsinglecontainer_p.h │ ├── qsourcelocationreflection.cpp │ ├── qsourcelocationreflection_p.h │ ├── qstaticbaseuristore.cpp │ ├── qstaticbaseuristore_p.h │ ├── qstaticcompatibilitystore.cpp │ ├── qstaticcompatibilitystore_p.h │ ├── qtemplate.cpp │ ├── qtemplate_p.h │ ├── qtemplateinvoker.cpp │ ├── qtemplateinvoker_p.h │ ├── qtemplatemode.cpp │ ├── qtemplatemode_p.h │ ├── qtemplateparameterreference.cpp │ ├── qtemplateparameterreference_p.h │ ├── qtemplatepattern_p.h │ ├── qtextnodeconstructor.cpp │ ├── qtextnodeconstructor_p.h │ ├── qtreatas.cpp │ ├── qtreatas_p.h │ ├── qtriplecontainer.cpp │ ├── qtriplecontainer_p.h │ ├── qtruthpredicate.cpp │ ├── qtruthpredicate_p.h │ ├── qunaryexpression.cpp │ ├── qunaryexpression_p.h │ ├── qunlimitedcontainer.cpp │ ├── qunlimitedcontainer_p.h │ ├── qunresolvedvariablereference.cpp │ ├── qunresolvedvariablereference_p.h │ ├── quserfunction.cpp │ ├── quserfunction_p.h │ ├── quserfunctioncallsite.cpp │ ├── quserfunctioncallsite_p.h │ ├── qvalidate.cpp │ ├── qvalidate_p.h │ ├── qvaluecomparison.cpp │ ├── qvaluecomparison_p.h │ ├── qvariabledeclaration.cpp │ ├── qvariabledeclaration_p.h │ ├── qvariablereference.cpp │ ├── qvariablereference_p.h │ ├── qwithparam_p.h │ ├── qxsltsimplecontentconstructor.cpp │ └── qxsltsimplecontentconstructor_p.h │ ├── functions │ ├── functions.pri │ ├── qabstractfunctionfactory.cpp │ ├── qabstractfunctionfactory_p.h │ ├── qaccessorfns.cpp │ ├── qaccessorfns_p.h │ ├── qaggregatefns.cpp │ ├── qaggregatefns_p.h │ ├── qaggregator.cpp │ ├── qaggregator_p.h │ ├── qassemblestringfns.cpp │ ├── qassemblestringfns_p.h │ ├── qbooleanfns.cpp │ ├── qbooleanfns_p.h │ ├── qcomparescaseaware.cpp │ ├── qcomparescaseaware_p.h │ ├── qcomparestringfns.cpp │ ├── qcomparestringfns_p.h │ ├── qcomparingaggregator_p.h │ ├── qcomparingaggregator_tpl_p.h │ ├── qconstructorfunctionsfactory.cpp │ ├── qconstructorfunctionsfactory_p.h │ ├── qcontextfns.cpp │ ├── qcontextfns_p.h │ ├── qcontextnodechecker.cpp │ ├── qcontextnodechecker_p.h │ ├── qcurrentfn.cpp │ ├── qcurrentfn_p.h │ ├── qdatetimefn.cpp │ ├── qdatetimefn_p.h │ ├── qdatetimefns_p.h │ ├── qdatetimefns_tpl_p.h │ ├── qdeepequalfn.cpp │ ├── qdeepequalfn_p.h │ ├── qdocumentfn.cpp │ ├── qdocumentfn_p.h │ ├── qelementavailablefn.cpp │ ├── qelementavailablefn_p.h │ ├── qerrorfn.cpp │ ├── qerrorfn_p.h │ ├── qfunctionargument.cpp │ ├── qfunctionargument_p.h │ ├── qfunctionavailablefn.cpp │ ├── qfunctionavailablefn_p.h │ ├── qfunctioncall.cpp │ ├── qfunctioncall_p.h │ ├── qfunctionfactory.cpp │ ├── qfunctionfactory_p.h │ ├── qfunctionfactorycollection.cpp │ ├── qfunctionfactorycollection_p.h │ ├── qfunctionsignature.cpp │ ├── qfunctionsignature_p.h │ ├── qgenerateidfn.cpp │ ├── qgenerateidfn_p.h │ ├── qnodefns.cpp │ ├── qnodefns_p.h │ ├── qnumericfns.cpp │ ├── qnumericfns_p.h │ ├── qpatternmatchingfns.cpp │ ├── qpatternmatchingfns_p.h │ ├── qpatternplatform.cpp │ ├── qpatternplatform_p.h │ ├── qqnamefns.cpp │ ├── qqnamefns_p.h │ ├── qresolveurifn.cpp │ ├── qresolveurifn_p.h │ ├── qsequencefns.cpp │ ├── qsequencefns_p.h │ ├── qsequencegeneratingfns.cpp │ ├── qsequencegeneratingfns_p.h │ ├── qstaticbaseuricontainer_p.h │ ├── qstaticnamespacescontainer.cpp │ ├── qstaticnamespacescontainer_p.h │ ├── qstringvaluefns.cpp │ ├── qstringvaluefns_p.h │ ├── qsubstringfns.cpp │ ├── qsubstringfns_p.h │ ├── qsystempropertyfn.cpp │ ├── qsystempropertyfn_p.h │ ├── qtimezonefns.cpp │ ├── qtimezonefns_p.h │ ├── qtracefn.cpp │ ├── qtracefn_p.h │ ├── qtypeavailablefn.cpp │ ├── qtypeavailablefn_p.h │ ├── qunparsedentitypublicidfn.cpp │ ├── qunparsedentitypublicidfn_p.h │ ├── qunparsedentityurifn.cpp │ ├── qunparsedentityurifn_p.h │ ├── qunparsedtextavailablefn.cpp │ ├── qunparsedtextavailablefn_p.h │ ├── qunparsedtextfn.cpp │ ├── qunparsedtextfn_p.h │ ├── qxpath10corefunctions.cpp │ ├── qxpath10corefunctions_p.h │ ├── qxpath20corefunctions.cpp │ ├── qxpath20corefunctions_p.h │ ├── qxslt20corefunctions.cpp │ └── qxslt20corefunctions_p.h │ ├── iterators │ ├── iterators.pri │ ├── qcachingiterator.cpp │ ├── qcachingiterator_p.h │ ├── qdeduplicateiterator.cpp │ ├── qdeduplicateiterator_p.h │ ├── qdistinctiterator.cpp │ ├── qdistinctiterator_p.h │ ├── qemptyiterator_p.h │ ├── qexceptiterator.cpp │ ├── qexceptiterator_p.h │ ├── qindexofiterator.cpp │ ├── qindexofiterator_p.h │ ├── qinsertioniterator.cpp │ ├── qinsertioniterator_p.h │ ├── qintersectiterator.cpp │ ├── qintersectiterator_p.h │ ├── qitemmappingiterator_p.h │ ├── qrangeiterator.cpp │ ├── qrangeiterator_p.h │ ├── qremovaliterator.cpp │ ├── qremovaliterator_p.h │ ├── qsequencemappingiterator_p.h │ ├── qsingletoniterator_p.h │ ├── qsubsequenceiterator.cpp │ ├── qsubsequenceiterator_p.h │ ├── qtocodepointsiterator.cpp │ ├── qtocodepointsiterator_p.h │ ├── qunioniterator.cpp │ └── qunioniterator_p.h │ ├── janitors │ ├── janitors.pri │ ├── qargumentconverter.cpp │ ├── qargumentconverter_p.h │ ├── qatomizer.cpp │ ├── qatomizer_p.h │ ├── qcardinalityverifier.cpp │ ├── qcardinalityverifier_p.h │ ├── qebvextractor.cpp │ ├── qebvextractor_p.h │ ├── qitemverifier.cpp │ ├── qitemverifier_p.h │ ├── quntypedatomicconverter.cpp │ └── quntypedatomicconverter_p.h │ ├── parser │ ├── TokenLookup.gperf │ ├── createParser.sh │ ├── createTokenLookup.sh │ ├── createXSLTTokenLookup.sh │ ├── parser.pri │ ├── qmaintainingreader_p.h │ ├── qmaintainingreader_tpl_p.h │ ├── qparsercontext.cpp │ ├── qparsercontext_p.h │ ├── qquerytransformparser.cpp │ ├── qquerytransformparser_p.h │ ├── qtokenizer_p.h │ ├── qtokenlookup.cpp │ ├── qtokenrevealer.cpp │ ├── qtokenrevealer_p.h │ ├── qtokensource.cpp │ ├── qtokensource_p.h │ ├── qtokenvalue_p.h │ ├── querytransformparser.ypp │ ├── qxquerytokenizer.cpp │ ├── qxquerytokenizer_p.h │ ├── qxslttokenizer.cpp │ ├── qxslttokenizer_p.h │ ├── qxslttokenlookup.cpp │ ├── qxslttokenlookup.xml │ ├── qxslttokenlookup_p.h │ ├── trolltechHeader.txt │ └── winCEWorkaround.sed │ ├── projection │ ├── projection.pri │ ├── qdocumentprojector.cpp │ ├── qdocumentprojector_p.h │ └── qprojectedexpression_p.h │ ├── qtokenautomaton │ ├── README │ ├── exampleFile.xml │ ├── qautomaton2cpp.xsl │ ├── qtokenautomaton.xsd │ └── regenerate.sh │ ├── query.pri │ ├── schema │ ├── builtinschemas.qrc │ ├── doc │ │ ├── All_diagram.dot │ │ ├── Alternative_diagram.dot │ │ ├── Annotation_diagram.dot │ │ ├── AnyAttribute_diagram.dot │ │ ├── Any_diagram.dot │ │ ├── Assert_diagram.dot │ │ ├── Choice_diagram.dot │ │ ├── ComplexContentExtension_diagram.dot │ │ ├── ComplexContentRestriction_diagram.dot │ │ ├── ComplexContent_diagram.dot │ │ ├── DefaultOpenContent_diagram.dot │ │ ├── EnumerationFacet_diagram.dot │ │ ├── Field_diagram.dot │ │ ├── FractionDigitsFacet_diagram.dot │ │ ├── GlobalAttribute_diagram.dot │ │ ├── GlobalComplexType_diagram.dot │ │ ├── GlobalElement_diagram.dot │ │ ├── GlobalSimpleType_diagram.dot │ │ ├── Import_diagram.dot │ │ ├── Include_diagram.dot │ │ ├── KeyRef_diagram.dot │ │ ├── Key_diagram.dot │ │ ├── LengthFacet_diagram.dot │ │ ├── List_diagram.dot │ │ ├── LocalAll_diagram.dot │ │ ├── LocalAttribute_diagram.dot │ │ ├── LocalChoice_diagram.dot │ │ ├── LocalComplexType_diagram.dot │ │ ├── LocalElement_diagram.dot │ │ ├── LocalSequence_diagram.dot │ │ ├── LocalSimpleType_diagram.dot │ │ ├── MaxExclusiveFacet_diagram.dot │ │ ├── MaxInclusiveFacet_diagram.dot │ │ ├── MaxLengthFacet_diagram.dot │ │ ├── MinExclusiveFacet_diagram.dot │ │ ├── MinInclusiveFacet_diagram.dot │ │ ├── MinLengthFacet_diagram.dot │ │ ├── NamedAttributeGroup_diagram.dot │ │ ├── NamedGroup_diagram.dot │ │ ├── Notation_diagram.dot │ │ ├── Override_diagram.dot │ │ ├── PatternFacet_diagram.dot │ │ ├── Redefine_diagram.dot │ │ ├── ReferredAttributeGroup_diagram.dot │ │ ├── ReferredGroup_diagram.dot │ │ ├── Schema_diagram.dot │ │ ├── Selector_diagram.dot │ │ ├── Sequence_diagram.dot │ │ ├── SimpleContentExtension_diagram.dot │ │ ├── SimpleContentRestriction_diagram.dot │ │ ├── SimpleContent_diagram.dot │ │ ├── SimpleRestriction_diagram.dot │ │ ├── TotalDigitsFacet_diagram.dot │ │ ├── Union_diagram.dot │ │ ├── Unique_diagram.dot │ │ ├── WhiteSpaceFacet_diagram.dot │ │ └── legend.dot │ ├── qnamespacesupport.cpp │ ├── qnamespacesupport_p.h │ ├── qxsdalternative.cpp │ ├── qxsdalternative_p.h │ ├── qxsdannotated.cpp │ ├── qxsdannotated_p.h │ ├── qxsdannotation.cpp │ ├── qxsdannotation_p.h │ ├── qxsdapplicationinformation.cpp │ ├── qxsdapplicationinformation_p.h │ ├── qxsdassertion.cpp │ ├── qxsdassertion_p.h │ ├── qxsdattribute.cpp │ ├── qxsdattribute_p.h │ ├── qxsdattributegroup.cpp │ ├── qxsdattributegroup_p.h │ ├── qxsdattributereference.cpp │ ├── qxsdattributereference_p.h │ ├── qxsdattributeterm.cpp │ ├── qxsdattributeterm_p.h │ ├── qxsdattributeuse.cpp │ ├── qxsdattributeuse_p.h │ ├── qxsdcomplextype.cpp │ ├── qxsdcomplextype_p.h │ ├── qxsddocumentation.cpp │ ├── qxsddocumentation_p.h │ ├── qxsdelement.cpp │ ├── qxsdelement_p.h │ ├── qxsdfacet.cpp │ ├── qxsdfacet_p.h │ ├── qxsdidcache.cpp │ ├── qxsdidcache_p.h │ ├── qxsdidchelper.cpp │ ├── qxsdidchelper_p.h │ ├── qxsdidentityconstraint.cpp │ ├── qxsdidentityconstraint_p.h │ ├── qxsdinstancereader.cpp │ ├── qxsdinstancereader_p.h │ ├── qxsdmodelgroup.cpp │ ├── qxsdmodelgroup_p.h │ ├── qxsdnotation.cpp │ ├── qxsdnotation_p.h │ ├── qxsdparticle.cpp │ ├── qxsdparticle_p.h │ ├── qxsdparticlechecker.cpp │ ├── qxsdparticlechecker_p.h │ ├── qxsdreference.cpp │ ├── qxsdreference_p.h │ ├── qxsdschema.cpp │ ├── qxsdschema_p.h │ ├── qxsdschemachecker.cpp │ ├── qxsdschemachecker_helper.cpp │ ├── qxsdschemachecker_p.h │ ├── qxsdschemachecker_setup.cpp │ ├── qxsdschemacontext.cpp │ ├── qxsdschemacontext_p.h │ ├── qxsdschemadebugger.cpp │ ├── qxsdschemadebugger_p.h │ ├── qxsdschemahelper.cpp │ ├── qxsdschemahelper_p.h │ ├── qxsdschemamerger.cpp │ ├── qxsdschemamerger_p.h │ ├── qxsdschemaparser.cpp │ ├── qxsdschemaparser_p.h │ ├── qxsdschemaparser_setup.cpp │ ├── qxsdschemaparsercontext.cpp │ ├── qxsdschemaparsercontext_p.h │ ├── qxsdschemaresolver.cpp │ ├── qxsdschemaresolver_p.h │ ├── qxsdschematoken.cpp │ ├── qxsdschematoken_p.h │ ├── qxsdschematypesfactory.cpp │ ├── qxsdschematypesfactory_p.h │ ├── qxsdsimpletype.cpp │ ├── qxsdsimpletype_p.h │ ├── qxsdstatemachine_p.h │ ├── qxsdstatemachine_tpl_p.h │ ├── qxsdstatemachinebuilder.cpp │ ├── qxsdstatemachinebuilder_p.h │ ├── qxsdterm.cpp │ ├── qxsdterm_p.h │ ├── qxsdtypechecker.cpp │ ├── qxsdtypechecker_p.h │ ├── qxsduserschematype_p.h │ ├── qxsduserschematype_tpl_p.h │ ├── qxsdvalidatedxmlnodemodel.cpp │ ├── qxsdvalidatedxmlnodemodel_p.h │ ├── qxsdvalidatinginstancereader.cpp │ ├── qxsdvalidatinginstancereader_p.h │ ├── qxsdwildcard.cpp │ ├── qxsdwildcard_p.h │ ├── qxsdxpathexpression.cpp │ ├── qxsdxpathexpression_p.h │ ├── schema.pri │ ├── schemas │ │ ├── qt_attribution.json │ │ ├── xml.xsd │ │ └── xml.xsd-LICENSE │ └── tokens.xml │ ├── type │ ├── qabstractnodetest.cpp │ ├── qabstractnodetest_p.h │ ├── qanyitemtype.cpp │ ├── qanyitemtype_p.h │ ├── qanynodetype.cpp │ ├── qanynodetype_p.h │ ├── qanysimpletype.cpp │ ├── qanysimpletype_p.h │ ├── qanytype.cpp │ ├── qanytype_p.h │ ├── qatomiccasterlocator.cpp │ ├── qatomiccasterlocator_p.h │ ├── qatomiccasterlocators.cpp │ ├── qatomiccasterlocators_p.h │ ├── qatomiccomparatorlocator.cpp │ ├── qatomiccomparatorlocator_p.h │ ├── qatomiccomparatorlocators.cpp │ ├── qatomiccomparatorlocators_p.h │ ├── qatomicmathematicianlocator.cpp │ ├── qatomicmathematicianlocator_p.h │ ├── qatomicmathematicianlocators.cpp │ ├── qatomicmathematicianlocators_p.h │ ├── qatomictype.cpp │ ├── qatomictype_p.h │ ├── qatomictypedispatch_p.h │ ├── qbasictypesfactory.cpp │ ├── qbasictypesfactory_p.h │ ├── qbuiltinatomictype.cpp │ ├── qbuiltinatomictype_p.h │ ├── qbuiltinatomictypes.cpp │ ├── qbuiltinatomictypes_p.h │ ├── qbuiltinnodetype_p.h │ ├── qbuiltinnodetype_tpl_p.h │ ├── qbuiltintypes.cpp │ ├── qbuiltintypes_p.h │ ├── qcardinality.cpp │ ├── qcardinality_p.h │ ├── qcommonsequencetypes.cpp │ ├── qcommonsequencetypes_p.h │ ├── qebvtype.cpp │ ├── qebvtype_p.h │ ├── qemptysequencetype.cpp │ ├── qemptysequencetype_p.h │ ├── qgenericsequencetype.cpp │ ├── qgenericsequencetype_p.h │ ├── qitemtype.cpp │ ├── qitemtype_p.h │ ├── qlocalnametest.cpp │ ├── qlocalnametest_p.h │ ├── qmultiitemtype.cpp │ ├── qmultiitemtype_p.h │ ├── qnamedschemacomponent.cpp │ ├── qnamedschemacomponent_p.h │ ├── qnamespacenametest.cpp │ ├── qnamespacenametest_p.h │ ├── qnonetype.cpp │ ├── qnonetype_p.h │ ├── qnumerictype.cpp │ ├── qnumerictype_p.h │ ├── qprimitives_p.h │ ├── qqnametest.cpp │ ├── qqnametest_p.h │ ├── qschemacomponent.cpp │ ├── qschemacomponent_p.h │ ├── qschematype.cpp │ ├── qschematype_p.h │ ├── qschematypefactory.cpp │ ├── qschematypefactory_p.h │ ├── qsequencetype.cpp │ ├── qsequencetype_p.h │ ├── qtypechecker.cpp │ ├── qtypechecker_p.h │ ├── quntyped.cpp │ ├── quntyped_p.h │ ├── qxsltnodetest.cpp │ ├── qxsltnodetest_p.h │ └── type.pri │ ├── utils │ ├── qautoptr.cpp │ ├── qautoptr_p.h │ ├── qcommonnamespaces_p.h │ ├── qcppcastinghelper_p.h │ ├── qdelegatingnamespaceresolver.cpp │ ├── qdelegatingnamespaceresolver_p.h │ ├── qgenericnamespaceresolver.cpp │ ├── qgenericnamespaceresolver_p.h │ ├── qnamepool.cpp │ ├── qnamepool_p.h │ ├── qnamespacebinding_p.h │ ├── qnamespaceresolver.cpp │ ├── qnamespaceresolver_p.h │ ├── qnodenamespaceresolver.cpp │ ├── qnodenamespaceresolver_p.h │ ├── qoutputvalidator.cpp │ ├── qoutputvalidator_p.h │ ├── qpatternistlocale.cpp │ ├── qpatternistlocale_p.h │ ├── qxmldebug_p.h │ ├── qxpathhelper.cpp │ ├── qxpathhelper_p.h │ └── utils.pri │ └── xmlpatterns.pro ├── sync.profile ├── tests ├── README ├── auto │ ├── auto.pro │ ├── bic │ │ └── data │ │ │ ├── QtXmlPatterns.5.0.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.1.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.10.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.11.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.14.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.2.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.3.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.4.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.6.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.7.0.linux-gcc-amd64.txt │ │ │ ├── QtXmlPatterns.5.8.0.linux-gcc-amd64.txt │ │ │ └── QtXmlPatterns.5.9.0.linux-gcc-amd64.txt │ ├── checkxmlfiles │ │ ├── checkxmlfiles.pro │ │ └── tst_checkxmlfiles.cpp │ ├── cmake │ │ ├── CMakeLists.txt │ │ └── cmake.pro │ ├── compilerwarnings │ │ └── data │ │ │ └── test_cpp.txt │ ├── host.pro │ ├── network-settings.h │ ├── patternistexamplefiletree │ │ ├── patternistexamplefiletree.pro │ │ └── tst_patternistexamplefiletree.cpp │ ├── patternistexamples │ │ ├── patternistexamples.pro │ │ └── tst_patternistexamples.cpp │ ├── patternistheaders │ │ ├── patternistheaders.pro │ │ └── tst_patternistheaders.cpp │ ├── qabstractmessagehandler │ │ ├── qabstractmessagehandler.pro │ │ └── tst_qabstractmessagehandler.cpp │ ├── qabstracturiresolver │ │ ├── TestURIResolver.h │ │ ├── qabstracturiresolver.pro │ │ └── tst_qabstracturiresolver.cpp │ ├── qabstractxmlforwarditerator │ │ ├── qabstractxmlforwarditerator.pro │ │ └── tst_qabstractxmlforwarditerator.cpp │ ├── qabstractxmlnodemodel │ │ ├── LoadingModel.cpp │ │ ├── LoadingModel.h │ │ ├── TestNodeModel.h │ │ ├── qabstractxmlnodemodel.pro │ │ ├── tree.xml │ │ └── tst_qabstractxmlnodemodel.cpp │ ├── qabstractxmlreceiver │ │ ├── TestAbstractXmlReceiver.h │ │ ├── qabstractxmlreceiver.pro │ │ └── tst_qabstractxmlreceiver.cpp │ ├── qapplicationargumentparser │ │ ├── qapplicationargumentparser.pro │ │ └── tst_qapplicationargumentparser.cpp │ ├── qautoptr │ │ ├── qautoptr.pro │ │ └── tst_qautoptr.cpp │ ├── qquickxmllistmodel │ │ ├── data │ │ │ ├── empty.xml │ │ │ ├── get.qml │ │ │ ├── groups.qml │ │ │ ├── groups.xml │ │ │ ├── model.qml │ │ │ ├── model.xml │ │ │ ├── model2.xml │ │ │ ├── propertychanges.qml │ │ │ ├── proxyCrash.qml │ │ │ ├── recipes.qml │ │ │ ├── recipes.xml │ │ │ ├── roleCrash.qml │ │ │ ├── roleErrors.qml │ │ │ ├── roleKeys.qml │ │ │ ├── testtypes.qml │ │ │ └── unique.qml │ │ ├── qquickxmllistmodel.pro │ │ └── tst_qquickxmllistmodel.cpp │ ├── qsimplexmlnodemodel │ │ ├── TestSimpleNodeModel.h │ │ ├── qsimplexmlnodemodel.pro │ │ └── tst_qsimplexmlnodemodel.cpp │ ├── qsourcelocation │ │ ├── qsourcelocation.pro │ │ └── tst_qsourcelocation.cpp │ ├── qxmlformatter │ │ ├── baselines │ │ │ ├── K2-DirectConElemContent-46.xml │ │ │ ├── adjacentNodes.xml │ │ │ ├── classExample.xml │ │ │ ├── documentElementWithWS.xml │ │ │ ├── documentNodes.xml │ │ │ ├── elementsWithWS.xml │ │ │ ├── emptySequence.xml │ │ │ ├── indentedAdjacentNodes.xml │ │ │ ├── indentedMixedContent.xml │ │ │ ├── mixedContent.xml │ │ │ ├── mixedTopLevelContent.xml │ │ │ ├── nodesAndWhitespaceAtomics.xml │ │ │ ├── onlyDocumentNode.xml │ │ │ ├── prolog.xml │ │ │ ├── simpleDocument.xml │ │ │ ├── singleElement.xml │ │ │ ├── singleTextNode.xml │ │ │ ├── textNodeAtomicValue.xml │ │ │ └── threeAtomics.xml │ │ ├── input │ │ │ ├── K2-DirectConElemContent-46.xq │ │ │ ├── adjacentNodes.xml │ │ │ ├── adjacentNodes.xq │ │ │ ├── classExample.xml │ │ │ ├── classExample.xq │ │ │ ├── documentElementWithWS.xml │ │ │ ├── documentElementWithWS.xq │ │ │ ├── documentNodes.xq │ │ │ ├── elementsWithWS.xml │ │ │ ├── elementsWithWS.xq │ │ │ ├── emptySequence.xq │ │ │ ├── indentedAdjacentNodes.xml │ │ │ ├── indentedAdjacentNodes.xq │ │ │ ├── indentedMixedContent.xml │ │ │ ├── indentedMixedContent.xq │ │ │ ├── mixedContent.xml │ │ │ ├── mixedContent.xq │ │ │ ├── mixedTopLevelContent.xq │ │ │ ├── nodesAndWhitespaceAtomics.xq │ │ │ ├── onlyDocumentNode.xq │ │ │ ├── prolog.xml │ │ │ ├── prolog.xq │ │ │ ├── simpleDocument.xml │ │ │ ├── simpleDocument.xq │ │ │ ├── singleElement.xml │ │ │ ├── singleElement.xq │ │ │ ├── singleTextNode.xq │ │ │ ├── textNodeAtomicValue.xq │ │ │ └── threeAtomics.xq │ │ ├── qxmlformatter.pro │ │ └── tst_qxmlformatter.cpp │ ├── qxmlitem │ │ ├── qxmlitem.pro │ │ └── tst_qxmlitem.cpp │ ├── qxmlname │ │ ├── qxmlname.pro │ │ └── tst_qxmlname.cpp │ ├── qxmlnamepool │ │ ├── qxmlnamepool.pro │ │ └── tst_qxmlnamepool.cpp │ ├── qxmlnodemodelindex │ │ ├── qxmlnodemodelindex.pro │ │ └── tst_qxmlnodemodelindex.cpp │ ├── qxmlquery │ │ ├── MessageSilencer.h │ │ ├── MessageValidator.cpp │ │ ├── MessageValidator.h │ │ ├── NetworkOverrider.h │ │ ├── PushBaseliner.h │ │ ├── TestFundament.cpp │ │ ├── TestFundament.h │ │ ├── data │ │ │ ├── notWellformed.xml │ │ │ └── oneElement.xml │ │ ├── input.qrc │ │ ├── input.xml │ │ ├── pushBaselines │ │ │ ├── allAtomics.ref │ │ │ ├── concat.ref │ │ │ ├── emptySequence.ref │ │ │ ├── errorFunction.ref │ │ │ ├── literalsequence.ref │ │ │ ├── nodeSequence.ref │ │ │ ├── oneElement.ref │ │ │ ├── onePlusOne.ref │ │ │ ├── onlyDocumentNode.ref │ │ │ └── openDocument.ref │ │ ├── qxmlquery.pro │ │ └── tst_qxmlquery.cpp │ ├── qxmlresultitems │ │ ├── qxmlresultitems.pro │ │ └── tst_qxmlresultitems.cpp │ ├── qxmlschema │ │ ├── qxmlschema.pro │ │ └── tst_qxmlschema.cpp │ ├── qxmlschemavalidator │ │ ├── qxmlschemavalidator.pro │ │ ├── testdata │ │ │ ├── QTBUG-77620.xml │ │ │ └── QTBUG-77620.xsd │ │ └── tst_qxmlschemavalidator.cpp │ ├── qxmlserializer │ │ ├── qxmlserializer.pro │ │ └── tst_qxmlserializer.cpp │ ├── xmlpatterns.pri │ ├── xmlpatterns │ │ ├── XSLTTODO │ │ ├── baselines │ │ │ └── globals.xml │ │ ├── queries │ │ │ ├── README │ │ │ ├── allAtomics.xq │ │ │ ├── allAtomicsExternally.xq │ │ │ ├── completelyEmptyQuery.xq │ │ │ ├── concat.xq │ │ │ ├── emptySequence.xq │ │ │ ├── errorFunction.xq │ │ │ ├── externalStringVariable.xq │ │ │ ├── externalVariable.xq │ │ │ ├── externalVariableUsedTwice.xq │ │ │ ├── flwor.xq │ │ │ ├── globals.gccxml │ │ │ ├── invalidRegexp.xq │ │ │ ├── invalidRegexpFlag.xq │ │ │ ├── literalsequence.xq │ │ │ ├── nodeSequence.xq │ │ │ ├── nonexistingCollection.xq │ │ │ ├── oneElement.xq │ │ │ ├── onePlusOne.xq │ │ │ ├── onlyDocumentNode.xq │ │ │ ├── openDocument.xq │ │ │ ├── reportGlobals.xq │ │ │ ├── simpleDocument.xml │ │ │ ├── simpleLibraryModule.xq │ │ │ ├── staticBaseURI.xq │ │ │ ├── staticError.xq │ │ │ ├── syntaxError.xq │ │ │ ├── threeVariables.xq │ │ │ ├── twoVariables.xq │ │ │ ├── typeError.xq │ │ │ ├── unavailableExternalVariable.xq │ │ │ ├── unsupportedCollation.xq │ │ │ ├── wrongArity.xq │ │ │ └── zeroDivision.xq │ │ ├── stderrBaselines │ │ │ ├── Anunboundexternalvariable.txt │ │ │ ├── Asimplemathquery.txt │ │ │ ├── Asingledashthatsinvalid.txt │ │ │ ├── Asinglequerythatdoesnotexist.txt │ │ │ ├── Basicuseofoutputqueryfirst.txt │ │ │ ├── Basicuseofoutputquerylast.txt │ │ │ ├── Bindanexternalvariable.txt │ │ │ ├── Bindanexternalvariablequeryappearinglast.txt │ │ │ ├── Callanamedtemplateandusenofocus..txt │ │ │ ├── Callfnerror.txt │ │ │ ├── Ensureisuricanappearafterthequeryfilename.txt │ │ │ ├── Evaluatealibrarymodule.txt │ │ │ ├── Evaluateastylesheetwithnocontextdocument.txt │ │ │ ├── Invalidtemplatename.txt │ │ │ ├── Invokeatemplateandusepassparameters..txt │ │ │ ├── Invokeversion.txt │ │ │ ├── Invokewithcoloninvariablename..txt │ │ │ ├── Invokewithinvalidparamvalue..txt │ │ │ ├── Invokewithmissingnameinparamarg..txt │ │ │ ├── Invokewithparamthathasnovalue..txt │ │ │ ├── Invokewithparamthathastwoadjacentequalsigns..txt │ │ │ ├── LoadqueryviaFTP.txt │ │ │ ├── LoadqueryviaHTTP.txt │ │ │ ├── Loadqueryviadatascheme.txt │ │ │ ├── MakesurequerypathsareresolvedagainstCWDnotthelocationoftheexecutable..txt │ │ │ ├── Notwellformedinstancedocumentcausescrashincoloringcode..txt │ │ │ ├── Notwellformedstylesheetcausescrashincoloringcode..txt │ │ │ ├── Openannonexistentfile.txt │ │ │ ├── Openanonexistingcollection..txt │ │ │ ├── Passhelp.txt │ │ │ ├── Passinanexternalvariablebutthequerydoesntuseit..txt │ │ │ ├── Passinastylesheetfileandafocusfilewhichdoesntexist.txt │ │ │ ├── PassinastylesheetfilewhichcontainsanXQueryquery.txt │ │ │ ├── Passinastylsheetfileandafocusfilewhichdoesntexist.txt │ │ │ ├── PassinastylsheetfilewhichcontainsanXQueryquery.txt │ │ │ ├── Passingasingledashisinsufficient.txt │ │ │ ├── Passingtwodashesthelastisinterpretedasafilename.txt │ │ │ ├── PassininvalidURI.txt │ │ │ ├── Passthreedashesthetwolastgetsinterpretedastwoqueryarguments.txt │ │ │ ├── PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt │ │ │ ├── QTBUG35897literalsequence.txt │ │ │ ├── Runaquerywhichevaluatestoasingledocumentnodewithnochildren..txt │ │ │ ├── Runaquerywhichevaluatestotheemptysequence..txt │ │ │ ├── Specifyanamedtemplatethatdoesnotexists.txt │ │ │ ├── Specifyanamedtemplatethatexists.txt │ │ │ ├── Specifynoargumentsatall..txt │ │ │ ├── Specifythesameparametertwicedifferentvalues.txt │ │ │ ├── Specifythesameparametertwicesamevalues.txt │ │ │ ├── Specifytwodifferentquerynames.txt │ │ │ ├── Specifytwoidenticalquerynames.txt │ │ │ ├── TriggeranassertinQPatternistColorOutput.ThequerynaturallycontainsanerrorXPTY0004..txt │ │ │ ├── TriggerasecondassertinQPatternistColorOutput.ThequerynaturallycontainsXPST0003..txt │ │ │ ├── Triggerastaticerror..txt │ │ │ ├── Unknownswitchd.txt │ │ │ ├── Unknownswitchunknownswitch.txt │ │ │ ├── Useanativepath.txt │ │ │ ├── Useanexternalvariablemultipletimes..txt │ │ │ ├── Useasimplifiedstylesheetmodule.txt │ │ │ ├── Usefndoc.txt │ │ │ ├── Usefndoctogetherwithnoformatfirst.txt │ │ │ ├── Usefndoctogetherwithnoformatlast.txt │ │ │ ├── Useoutputonafilewithexistingcontenttoensurewetruncatenotappendthecontentweproduce..txt │ │ │ ├── Useoutputtwice.txt │ │ │ ├── Useparamthrice.txt │ │ │ ├── Useparamtwice.txt │ │ │ ├── Wedontsupportformatanylonger.txt │ │ │ ├── XQuerydataXQuerykeywordmessagemarkups.txt │ │ │ ├── XQueryexpressionmessagemarkups.txt │ │ │ ├── XQueryfunctionmessagemarkups.txt │ │ │ ├── XQuerytypemessagemarkups.txt │ │ │ ├── XQueryurimessagemarkups.txt │ │ │ ├── initialtemplatedoesntworkwithXQueries..txt │ │ │ ├── initialtemplatemustbefollowedbyavalue.txt │ │ │ ├── initialtemplatemustbefollowedbyavalue2.txt │ │ │ ├── onequeryandaterminatingdashattheend.txt │ │ │ ├── onequerywithaprecedingdash.txt │ │ │ ├── onlynoformat.txt │ │ │ ├── outputwithanonwritablefile.txt │ │ │ └── paramismissingsomultiplequeriesappear.txt │ │ ├── stylesheets │ │ │ ├── bool070.xml │ │ │ ├── bool070.xsl │ │ │ ├── copyWholeDocument.xsl │ │ │ ├── documentElement.xml │ │ │ ├── namedAndRootTemplate.xsl │ │ │ ├── namedTemplate.xsl │ │ │ ├── notWellformed.xsl │ │ │ ├── onlyRootTemplate.xsl │ │ │ ├── parameters.xsl │ │ │ ├── queryAsStylesheet.xsl │ │ │ ├── simplifiedStylesheetModule.xml │ │ │ ├── simplifiedStylesheetModule.xsl │ │ │ └── useParameters.xsl │ │ ├── tst_xmlpatterns.cpp │ │ └── xmlpatterns.pro │ ├── xmlpatternsdiagnosticsts │ │ ├── Baseline.xml │ │ ├── TestSuite │ │ │ ├── DiagnosticsCatalog.xml │ │ │ ├── ExpectedTestResults │ │ │ │ ├── ShouldFail │ │ │ │ │ ├── fail-1.txt │ │ │ │ │ ├── fail-2.txt │ │ │ │ │ ├── succeed-10.txt │ │ │ │ │ ├── succeed-11-1.txt │ │ │ │ │ ├── succeed-11-2.txt │ │ │ │ │ ├── succeed-12-1.txt │ │ │ │ │ ├── succeed-12-2.txt │ │ │ │ │ ├── succeed-9-1.txt │ │ │ │ │ ├── succeed-9-2.txt │ │ │ │ │ └── succeed-9-3.txt │ │ │ │ └── ShouldSucceed │ │ │ │ │ ├── succeed-1.txt │ │ │ │ │ ├── succeed-11.txt │ │ │ │ │ ├── succeed-13.txt │ │ │ │ │ ├── succeed-14.txt │ │ │ │ │ ├── succeed-15.txt │ │ │ │ │ ├── succeed-2-1.txt │ │ │ │ │ ├── succeed-2-2.txt │ │ │ │ │ ├── succeed-2-3.txt │ │ │ │ │ ├── succeed-2-4.txt │ │ │ │ │ ├── succeed-2-5.txt │ │ │ │ │ ├── succeed-2-6.txt │ │ │ │ │ ├── succeed-6-1.txt │ │ │ │ │ ├── succeed-6-2.txt │ │ │ │ │ ├── succeed-7-1.txt │ │ │ │ │ ├── succeed-7-2.txt │ │ │ │ │ ├── succeed-8.txt │ │ │ │ │ └── succeed-9.txt │ │ │ ├── Queries │ │ │ │ └── XQuery │ │ │ │ │ ├── ShouldFail │ │ │ │ │ ├── fail-1.xq │ │ │ │ │ ├── fail-10.xq │ │ │ │ │ ├── fail-11.xq │ │ │ │ │ ├── fail-12.xq │ │ │ │ │ ├── fail-14.xq │ │ │ │ │ ├── fail-15.xq │ │ │ │ │ ├── fail-16.xq │ │ │ │ │ ├── fail-18.xq │ │ │ │ │ ├── fail-2.xq │ │ │ │ │ ├── fail-3.xq │ │ │ │ │ ├── fail-4.xq │ │ │ │ │ ├── fail-5.xq │ │ │ │ │ ├── fail-6.xq │ │ │ │ │ ├── fail-7.xq │ │ │ │ │ ├── fail-8.xq │ │ │ │ │ └── fail-9.xq │ │ │ │ │ └── ShouldSucceed │ │ │ │ │ ├── succeed-1.xq │ │ │ │ │ ├── succeed-10.xq │ │ │ │ │ ├── succeed-11.xq │ │ │ │ │ ├── succeed-12.xq │ │ │ │ │ ├── succeed-13.xq │ │ │ │ │ ├── succeed-14.xq │ │ │ │ │ ├── succeed-15.xq │ │ │ │ │ ├── succeed-2.xq │ │ │ │ │ ├── succeed-3.xq │ │ │ │ │ ├── succeed-4.xq │ │ │ │ │ ├── succeed-5.xq │ │ │ │ │ ├── succeed-6.xq │ │ │ │ │ ├── succeed-7.xq │ │ │ │ │ ├── succeed-8.xq │ │ │ │ │ └── succeed-9.xq │ │ │ ├── TestSources │ │ │ │ ├── bib2.xml │ │ │ │ └── emptydoc.xml │ │ │ └── validate.sh │ │ ├── tst_xmlpatternsdiagnosticsts.cpp │ │ └── xmlpatternsdiagnosticsts.pro │ ├── xmlpatternsschema │ │ ├── tst_xmlpatternsschema.cpp │ │ └── xmlpatternsschema.pro │ ├── xmlpatternsschemats │ │ ├── Baseline.xml │ │ ├── TESTSUITE │ │ │ ├── unifyCatalog.xsl │ │ │ └── updateSuite.sh │ │ ├── tst_xmlpatternsschemats.cpp │ │ └── xmlpatternsschemats.pro │ ├── xmlpatternssdk │ │ ├── ASTItem.cpp │ │ ├── ASTItem.h │ │ ├── DebugExpressionFactory.cpp │ │ ├── DebugExpressionFactory.h │ │ ├── ErrorHandler.cpp │ │ ├── ErrorHandler.h │ │ ├── ErrorItem.cpp │ │ ├── ErrorItem.h │ │ ├── ExitCode.h │ │ ├── ExpressionInfo.cpp │ │ ├── ExpressionInfo.h │ │ ├── ExpressionNamer.cpp │ │ ├── ExpressionNamer.h │ │ ├── ExternalSourceLoader.cpp │ │ ├── ExternalSourceLoader.h │ │ ├── Global.cpp │ │ ├── Global.h │ │ ├── ResultThreader.cpp │ │ ├── ResultThreader.h │ │ ├── TestBaseLine.cpp │ │ ├── TestBaseLine.h │ │ ├── TestCase.cpp │ │ ├── TestCase.h │ │ ├── TestContainer.cpp │ │ ├── TestContainer.h │ │ ├── TestGroup.cpp │ │ ├── TestGroup.h │ │ ├── TestItem.h │ │ ├── TestResult.cpp │ │ ├── TestResult.h │ │ ├── TestResultHandler.cpp │ │ ├── TestResultHandler.h │ │ ├── TestSuite.cpp │ │ ├── TestSuite.h │ │ ├── TestSuiteHandler.cpp │ │ ├── TestSuiteHandler.h │ │ ├── TestSuiteResult.cpp │ │ ├── TestSuiteResult.h │ │ ├── TreeItem.cpp │ │ ├── TreeItem.h │ │ ├── TreeModel.cpp │ │ ├── TreeModel.h │ │ ├── Worker.cpp │ │ ├── Worker.h │ │ ├── XMLWriter.cpp │ │ ├── XMLWriter.h │ │ ├── XQTSTestCase.cpp │ │ ├── XQTSTestCase.h │ │ ├── XSDTSTestCase.cpp │ │ ├── XSDTSTestCase.h │ │ ├── XSDTestSuiteHandler.cpp │ │ ├── XSDTestSuiteHandler.h │ │ ├── XSLTTestSuiteHandler.cpp │ │ ├── XSLTTestSuiteHandler.h │ │ ├── XmlParseHelper.cpp │ │ ├── XmlParseHelper.h │ │ ├── docs │ │ │ ├── XMLIndenterExample.cpp │ │ │ ├── XMLIndenterExampleResult.xml │ │ │ ├── XMLWriterExample.cpp │ │ │ └── XMLWriterExampleResult.xml │ │ ├── tests │ │ │ ├── XMLWriterTest.cpp │ │ │ └── XMLWriterTest.h │ │ └── xmlpatternssdk.pro │ ├── xmlpatternsvalidator │ │ ├── files │ │ │ ├── complex-type-including-anonymous-type.xsd │ │ │ ├── dateTime-with-microseconds.xml │ │ │ ├── dateTime-with-microseconds.xsd │ │ │ ├── fractiondigits-invalid.xml │ │ │ ├── fractiondigits-nodot.xml │ │ │ ├── fractiondigits-nonumber.xml │ │ │ ├── fractiondigits.xml │ │ │ ├── fractiondigits.xsd │ │ │ ├── indirect-datatype.xsd │ │ │ ├── indirect-import-a.xsd │ │ │ ├── indirect-import-b.xsd │ │ │ ├── indirect-import-c.xsd │ │ │ ├── indirect-include-a.xsd │ │ │ ├── indirect-include-b.xsd │ │ │ ├── indirect-include-c.xsd │ │ │ ├── indirect-redefine-a.xsd │ │ │ ├── indirect-redefine-b.xsd │ │ │ ├── indirect-redefine-c.xsd │ │ │ ├── instance.xml │ │ │ ├── invalid_schema.xsd │ │ │ ├── other_valid_schema.xsd │ │ │ ├── sa_invalid_instance.xml │ │ │ ├── sa_valid_instance.xml │ │ │ ├── substitution-group-invalid.xml │ │ │ ├── substitution-group-valid.xml │ │ │ ├── substitution-group.xsd │ │ │ └── valid_schema.xsd │ │ ├── tst_xmlpatternsvalidator.cpp │ │ └── xmlpatternsvalidator.pro │ ├── xmlpatternsview │ │ ├── tst_xmlpatternsview.cpp │ │ ├── view │ │ │ ├── FunctionSignaturesView.cpp │ │ │ ├── FunctionSignaturesView.h │ │ │ ├── MainWindow.cpp │ │ │ ├── MainWindow.h │ │ │ ├── TestCaseView.cpp │ │ │ ├── TestCaseView.h │ │ │ ├── TestResultView.cpp │ │ │ ├── TestResultView.h │ │ │ ├── TreeSortFilter.cpp │ │ │ ├── TreeSortFilter.h │ │ │ ├── UserTestCase.cpp │ │ │ ├── UserTestCase.h │ │ │ ├── XDTItemItem.cpp │ │ │ ├── XDTItemItem.h │ │ │ ├── main.cpp │ │ │ ├── ui_BaseLinePage.ui │ │ │ ├── ui_FunctionSignaturesView.ui │ │ │ ├── ui_MainWindow.ui │ │ │ ├── ui_TestCaseView.ui │ │ │ ├── ui_TestResultView.ui │ │ │ └── view.pro │ │ └── xmlpatternsview.pro │ ├── xmlpatternsxqts │ │ ├── Baseline.xml │ │ ├── TESTSUITE │ │ │ └── updateSuite.sh │ │ ├── TODO │ │ ├── summarizeBaseline.sh │ │ ├── summarizeBaseline.xsl │ │ ├── tst_suitetest.cpp │ │ ├── tst_suitetest.h │ │ ├── tst_xmlpatternsxqts.cpp │ │ └── xmlpatternsxqts.pro │ └── xmlpatternsxslts │ │ ├── Baseline.xml │ │ ├── XSLTS │ │ └── updateSuite.sh │ │ ├── tst_xmlpatternsxslts.cpp │ │ └── xmlpatternsxslts.pro ├── global │ └── global.cfg ├── shared │ ├── util.cpp │ ├── util.h │ └── util.pri └── tests.pro └── tools ├── tools.pro ├── xmlpatterns ├── main.cpp ├── main.h ├── qapplicationargument.cpp ├── qapplicationargument_p.h ├── qapplicationargumentparser.cpp ├── qapplicationargumentparser_p.h └── xmlpatterns.pro └── xmlpatternsvalidator ├── main.cpp ├── main.h └── xmlpatternsvalidator.pro /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "testsuites"] 2 | path = tests/auto/3rdparty/testsuites 3 | url = ../qtxmlpatterns-testsuites.git 4 | -------------------------------------------------------------------------------- /.qmake.conf: -------------------------------------------------------------------------------- 1 | load(qt_build_config) 2 | CONFIG += warning_clean 3 | DEFINES += QT_NO_FOREACH 4 | 5 | MODULE_VERSION = 6.4.0 6 | -------------------------------------------------------------------------------- /.tag: -------------------------------------------------------------------------------- 1 | d92538b3867a6e2bc297c1111ba0e5575e68e3ad 2 | -------------------------------------------------------------------------------- /configure.json: -------------------------------------------------------------------------------- 1 | { 2 | "subconfigs": [ 3 | "src/xmlpatterns" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /dependencies.yaml: -------------------------------------------------------------------------------- 1 | dependencies: 2 | ../qtbase: 3 | ref: 089d54f06ff327f5212cb08fdbcb540066357dd5 4 | required: true 5 | ../qtdeclarative: 6 | ref: 406f15ce0e2707452462ff73b2d660ece960623f 7 | required: false 8 | -------------------------------------------------------------------------------- /dist/changes-5.0.1: -------------------------------------------------------------------------------- 1 | Qt 5.0.1 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.0.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://qt-project.org/doc/qt-5.0/ 8 | 9 | Some of the changes listed in this file include issue tracking numbers 10 | corresponding to tasks in the Qt Bug Tracker: 11 | 12 | http://bugreports.qt-project.org/ 13 | 14 | Each of these identifiers can be entered in the bug tracker to obtain more 15 | information about a particular change. 16 | 17 | 18 | **************************************************************************** 19 | * General * 20 | **************************************************************************** 21 | 22 | - This release contains only minor code improvements. 23 | -------------------------------------------------------------------------------- /dist/changes-5.0.2: -------------------------------------------------------------------------------- 1 | Qt 5.0.2 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.0.0 and 5.0.1. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://qt-project.org/doc/qt-5.0/ 8 | 9 | Some of the changes listed in this file include issue tracking numbers 10 | corresponding to tasks in the Qt Bug Tracker: 11 | 12 | http://bugreports.qt-project.org/ 13 | 14 | Each of these identifiers can be entered in the bug tracker to obtain more 15 | information about a particular change. 16 | 17 | 18 | **************************************************************************** 19 | * General * 20 | **************************************************************************** 21 | 22 | General Improvements 23 | -------------------- 24 | 25 | - This release contains only minor code improvements. 26 | -------------------------------------------------------------------------------- /dist/changes-5.1.0: -------------------------------------------------------------------------------- 1 | Qt 5.1 introduces many new features and improvements as well as bugfixes 2 | over the 5.0.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | http://qt-project.org/doc/qt-5.1 6 | 7 | The Qt version 5.1 series is binary compatible with the 5.0.x series. 8 | Applications compiled for 5.0 will continue to run with 5.1. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | http://bugreports.qt-project.org/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | 18 | **************************************************************************** 19 | * General * 20 | **************************************************************************** 21 | 22 | - This release contains only minor code improvements. 23 | -------------------------------------------------------------------------------- /dist/changes-5.1.1: -------------------------------------------------------------------------------- 1 | Qt 5.1.1 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.1.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://qt-project.org/doc/qt-5.1/ 8 | 9 | The Qt version 5.1 series is binary compatible with the 5.0.x series. 10 | Applications compiled for 5.0 will continue to run with 5.1. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | http://bugreports.qt-project.org/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | 21 | **************************************************************************** 22 | * General * 23 | **************************************************************************** 24 | 25 | - This release contains only minor code improvements. 26 | -------------------------------------------------------------------------------- /dist/changes-5.10.0: -------------------------------------------------------------------------------- 1 | Qt 5.10 introduces many new features and improvements as well as bugfixes 2 | over the 5.9.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | http://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.10 series is binary compatible with the 5.10.x series. 8 | Applications compiled for 5.9 will continue to run with 5.10. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | 18 | **************************************************************************** 19 | * Qt 5.10.0 Changes * 20 | **************************************************************************** 21 | 22 | - This release contains only minor code improvements. 23 | -------------------------------------------------------------------------------- /dist/changes-5.11.0: -------------------------------------------------------------------------------- 1 | Qt 5.11 introduces many new features and improvements as well as bugfixes 2 | over the 5.10.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | http://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.11 series is binary compatible with the 5.10.x series. 8 | Applications compiled for 5.10 will continue to run with 5.11. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | 18 | **************************************************************************** 19 | * Qt 5.11.0 Changes * 20 | **************************************************************************** 21 | 22 | - This release contains only minor code improvements. 23 | -------------------------------------------------------------------------------- /dist/changes-5.11.2: -------------------------------------------------------------------------------- 1 | Qt 5.11.2 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.11.0 through 5.11.1. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.11 series is binary compatible with the 5.10.x series. 10 | Applications compiled for 5.10 will continue to run with 5.11. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Qt 5.11.2 Changes * 22 | **************************************************************************** 23 | 24 | - [QTBUG-62691] Fixed a cyclic reference that resulted in a memory leak in XSD. 25 | -------------------------------------------------------------------------------- /dist/changes-5.11.3: -------------------------------------------------------------------------------- 1 | Qt 5.11.3 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.11.0 through 5.11.2. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.11 series is binary compatible with the 5.10.x series. 10 | Applications compiled for 5.10 will continue to run with 5.11. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.12.0: -------------------------------------------------------------------------------- 1 | Qt 5.12 introduces many new features and improvements as well as bugfixes 2 | over the 5.11.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | https://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.12 series is binary compatible with the 5.11.x series. 8 | Applications compiled for 5.11 will continue to run with 5.12. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | 18 | - This release contains only minor code improvements. 19 | -------------------------------------------------------------------------------- /dist/changes-5.12.1: -------------------------------------------------------------------------------- 1 | Qt 5.12.1 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.12.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.12 series is binary compatible with the 5.11.x series. 10 | Applications compiled for 5.11 will continue to run with 5.12. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.12.2: -------------------------------------------------------------------------------- 1 | Qt 5.12.2 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.1. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.12 series is binary compatible with the 5.11.x series. 10 | Applications compiled for 5.11 will continue to run with 5.12. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.12.3: -------------------------------------------------------------------------------- 1 | Qt 5.12.3 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.2. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.12 series is binary compatible with the 5.11.x series. 10 | Applications compiled for 5.11 will continue to run with 5.12. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.12.4: -------------------------------------------------------------------------------- 1 | Qt 5.12.4 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.3. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.12 series is binary compatible with the 5.11.x series. 10 | Applications compiled for 5.11 will continue to run with 5.12. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.12.5: -------------------------------------------------------------------------------- 1 | Qt 5.12.5 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.12.0 through 5.12.4. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.12 series is binary compatible with the 5.11.x series. 10 | Applications compiled for 5.11 will continue to run with 5.12. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.13.0: -------------------------------------------------------------------------------- 1 | Qt 5.13 introduces many new features and improvements as well as bugfixes 2 | over the 5.12.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | https://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.13 series is binary compatible with the 5.12.x series. 8 | Applications compiled for 5.12 will continue to run with 5.13. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | 18 | - This release contains only minor code improvements. 19 | -------------------------------------------------------------------------------- /dist/changes-5.13.1: -------------------------------------------------------------------------------- 1 | Qt 5.13.1 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.13.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.13 series is binary compatible with the 5.12.x series. 10 | Applications compiled for 5.12 will continue to run with 5.13. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.13.2: -------------------------------------------------------------------------------- 1 | Qt 5.13.2 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.13.0 through 5.13.1. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.13 series is binary compatible with the 5.12.x series. 10 | Applications compiled for 5.12 will continue to run with 5.13. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - This release contains only minor code improvements. 21 | -------------------------------------------------------------------------------- /dist/changes-5.14.0: -------------------------------------------------------------------------------- 1 | Qt 5.14 introduces many new features and improvements as well as bugfixes 2 | over the 5.13.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | https://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.14 series is binary compatible with the 5.13.x series. 8 | Applications compiled for 5.13 will continue to run with 5.14. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | 18 | - This release contains only minor code improvements. 19 | -------------------------------------------------------------------------------- /dist/changes-5.14.1: -------------------------------------------------------------------------------- 1 | Qt 5.14.1 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.14.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | https://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.14 series is binary compatible with the 5.13.x series. 10 | Applications compiled for 5.13 will continue to run with 5.14. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | - [QTBUG-77620] Fixed a crash in XML validation. 21 | -------------------------------------------------------------------------------- /dist/changes-5.6.3: -------------------------------------------------------------------------------- 1 | Qt 5.6.3 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.6.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.6 series is binary compatible with the 5.5.x series. 10 | Applications compiled for 5.5 will continue to run with 5.6. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Library * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | -------------------------------------------------------------------------------- /dist/changes-5.8.0: -------------------------------------------------------------------------------- 1 | Qt 5.8 introduces many new features and improvements as well as bugfixes 2 | over the 5.7.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | http://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.8 series is binary compatible with the 5.7.x series. 8 | Applications compiled for 5.7 will continue to run with 5.8. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | -------------------------------------------------------------------------------- /dist/changes-5.9.0: -------------------------------------------------------------------------------- 1 | Qt 5.9 introduces many new features and improvements as well as bugfixes 2 | over the 5.8.x series. For more details, refer to the online documentation 3 | included in this distribution. The documentation is also available online: 4 | 5 | http://doc.qt.io/qt-5/index.html 6 | 7 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 8 | Applications compiled for 5.8 will continue to run with 5.9. 9 | 10 | Some of the changes listed in this file include issue tracking numbers 11 | corresponding to tasks in the Qt Bug Tracker: 12 | 13 | https://bugreports.qt.io/ 14 | 15 | Each of these identifiers can be entered in the bug tracker to obtain more 16 | information about a particular change. 17 | -------------------------------------------------------------------------------- /dist/changes-5.9.1: -------------------------------------------------------------------------------- 1 | Qt 5.9.1 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.9.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 10 | Applications compiled for 5.8 will continue to run with 5.9. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Library * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | -------------------------------------------------------------------------------- /dist/changes-5.9.2: -------------------------------------------------------------------------------- 1 | Qt 5.9.2 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.9.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 10 | Applications compiled for 5.8 will continue to run with 5.9. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Qt 5.9.2 Changes * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | -------------------------------------------------------------------------------- /dist/changes-5.9.3: -------------------------------------------------------------------------------- 1 | Qt 5.9.3 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.9.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 10 | Applications compiled for 5.8 will continue to run with 5.9. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Qt 5.9.3 Changes * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | -------------------------------------------------------------------------------- /dist/changes-5.9.4: -------------------------------------------------------------------------------- 1 | Qt 5.9.4 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.9.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 10 | Applications compiled for 5.8 will continue to run with 5.9. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Qt 5.9.4 Changes * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | 26 | -------------------------------------------------------------------------------- /dist/changes-5.9.5: -------------------------------------------------------------------------------- 1 | Qt 5.9.5 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.9.0. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 10 | Applications compiled for 5.8 will continue to run with 5.9. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Qt 5.9.5 Changes * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | -------------------------------------------------------------------------------- /dist/changes-5.9.6: -------------------------------------------------------------------------------- 1 | Qt 5.9.6 is a bug-fix release. It maintains both forward and backward 2 | compatibility (source and binary) with Qt 5.9.0 through 5.9.5. 3 | 4 | For more details, refer to the online documentation included in this 5 | distribution. The documentation is also available online: 6 | 7 | http://doc.qt.io/qt-5/index.html 8 | 9 | The Qt version 5.9 series is binary compatible with the 5.8.x series. 10 | Applications compiled for 5.8 will continue to run with 5.9. 11 | 12 | Some of the changes listed in this file include issue tracking numbers 13 | corresponding to tasks in the Qt Bug Tracker: 14 | 15 | https://bugreports.qt.io/ 16 | 17 | Each of these identifiers can be entered in the bug tracker to obtain more 18 | information about a particular change. 19 | 20 | **************************************************************************** 21 | * Qt 5.9.6 Changes * 22 | **************************************************************************** 23 | 24 | - This release contains only minor code improvements. 25 | -------------------------------------------------------------------------------- /examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS += xmlpatterns 3 | -------------------------------------------------------------------------------- /examples/xmlpatterns/README: -------------------------------------------------------------------------------- 1 | XQuery queries and XPath expressions can be used in Qt with the 2 | Qt XML Patterns module. 3 | 4 | XQuery is a query language used to query XML in a concise and safe manner. 5 | 6 | Documentation for these examples can be found via the Examples and Tutorials 7 | link in the main Qt documentation. The examples and their documentation can 8 | also be opened from the Examples tab of Qt Creator's Welcome mode. 9 | 10 | -------------------------------------------------------------------------------- /examples/xmlpatterns/filetree/filetree.pro: -------------------------------------------------------------------------------- 1 | SOURCES += main.cpp filetree.cpp mainwindow.cpp ../shared/xmlsyntaxhighlighter.cpp 2 | HEADERS += filetree.h mainwindow.h ../shared/xmlsyntaxhighlighter.h 3 | FORMS += forms/mainwindow.ui 4 | QT += widgets xmlpatterns 5 | RESOURCES += queries.qrc 6 | INCLUDEPATH += ../shared/ 7 | 8 | target.path = $$[QT_INSTALL_EXAMPLES]/xmlpatterns/filetree 9 | INSTALLS += target 10 | -------------------------------------------------------------------------------- /examples/xmlpatterns/filetree/queries.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | queries/listCPPFiles.xq 5 | queries/wholeTree.xq 6 | 7 | 8 | -------------------------------------------------------------------------------- /examples/xmlpatterns/filetree/queries/listCPPFiles.xq: -------------------------------------------------------------------------------- 1 | declare variable $where as xs:string := string($fileTree/@filePath); 2 | 3 | 4 | All cpp files in: {$where} 5 | 6 | 7 |

8 | cpp-files found in {$where} sorted by size: 9 |

10 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /examples/xmlpatterns/filetree/queries/wholeTree.xq: -------------------------------------------------------------------------------- 1 | $fileTree 2 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/files/allRecipes.xq: -------------------------------------------------------------------------------- 1 | (: Select all recipes. :) 2 | declare variable $inputDocument external; 3 | 4 | doc($inputDocument)/cookbook/recipe/

{string(title)}

5 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/files/liquidIngredientsInSoup.xq: -------------------------------------------------------------------------------- 1 | (: All liquid ingredients form Mushroom Soup. :) 2 | declare variable $inputDocument external; 3 | 4 | doc($inputDocument)/cookbook/recipe[@xml:id = "MushroomSoup"]/ingredient[@unit = "milliliters"]/ 5 |

{@name, @quantity, @unit}

6 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/files/mushroomSoup.xq: -------------------------------------------------------------------------------- 1 | (: All ingredients for Mushroom Soup. :) 2 | declare variable $inputDocument external; 3 | 4 | doc($inputDocument)/cookbook/recipe[@xml:id = "MushroomSoup"]/ingredient/ 5 |

{@name, @quantity}

6 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/files/preparationLessThan30.xq: -------------------------------------------------------------------------------- 1 | (: All recipes taking 10 minutes or less to prepare. :) 2 | declare variable $inputDocument external; 3 | 4 | doc($inputDocument)/cookbook/recipe/time[@unit = "minutes" and xs:integer(@quantity) <= 10]/ 5 |

6 | { 7 | concat(../title, ' (', @quantity, ' ', @unit, ')') 8 | } 9 |

10 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/files/preparationTimes.xq: -------------------------------------------------------------------------------- 1 | (: All recipes with preparation times. :) 2 | declare variable $inputDocument external; 3 | 4 | doc($inputDocument)/cookbook/recipe/ 5 | 6 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/recipes.pro: -------------------------------------------------------------------------------- 1 | QT += widgets xmlpatterns 2 | FORMS += forms/querywidget.ui 3 | HEADERS = querymainwindow.h ../shared/xmlsyntaxhighlighter.h 4 | RESOURCES = recipes.qrc 5 | SOURCES = main.cpp querymainwindow.cpp ../shared/xmlsyntaxhighlighter.cpp 6 | INCLUDEPATH += ../shared/ 7 | 8 | target.path = $$[QT_INSTALL_EXAMPLES]/xmlpatterns/recipes 9 | INSTALLS += target 10 | -------------------------------------------------------------------------------- /examples/xmlpatterns/recipes/recipes.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | files/cookbook.xml 4 | files/allRecipes.xq 5 | files/liquidIngredientsInSoup.xq 6 | files/mushroomSoup.xq 7 | files/preparationLessThan30.xq 8 | files/preparationTimes.xq 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/contact.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/invalid_contact.xml: -------------------------------------------------------------------------------- 1 | 2 | John 3 | Doe 4 | Prof. 5 | 6 | Sandakerveien 116 7 | N-0550 8 | Oslo 9 | Norway 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/invalid_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 234219 3 |
4 | 21692 5 | 3 6 |
7 |
8 | 24749 9 | 9 10 |
11 | 2009-01-23 12 | yes 13 |
14 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/invalid_recipe.xml: -------------------------------------------------------------------------------- 1 | 2 | Cheese on Toast 3 | 4 | 5 | 15 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/order.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/valid_contact.xml: -------------------------------------------------------------------------------- 1 | 2 | John 3 | Doe 4 | 1977-12-25 5 | 6 | Sandakerveien 116 7 | N-0550 8 | Oslo 9 | Norway 10 | 11 | 12 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/valid_order.xml: -------------------------------------------------------------------------------- 1 | 2 | 194223 3 |
4 | 22242 5 | 5 6 |
7 |
8 | 32372 9 | 12 10 | without stripes 11 |
12 |
13 | 23649 14 | 2 15 |
16 | 2009-01-23 17 | true 18 |
19 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/files/valid_recipe.xml: -------------------------------------------------------------------------------- 1 | 2 | Cheese on Toast 3 | 4 | 5 | 14 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/schema.pro: -------------------------------------------------------------------------------- 1 | QT += widgets xmlpatterns 2 | FORMS += schema.ui 3 | HEADERS = mainwindow.h ../shared/xmlsyntaxhighlighter.h 4 | RESOURCES = schema.qrc 5 | SOURCES = main.cpp mainwindow.cpp ../shared/xmlsyntaxhighlighter.cpp 6 | INCLUDEPATH += ../shared/ 7 | 8 | target.path = $$[QT_INSTALL_EXAMPLES]/xmlpatterns/schema 9 | INSTALLS += target 10 | -------------------------------------------------------------------------------- /examples/xmlpatterns/schema/schema.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | files/contact.xsd 4 | files/recipe.xsd 5 | files/order.xsd 6 | files/valid_contact.xml 7 | files/invalid_contact.xml 8 | files/valid_recipe.xml 9 | files/invalid_recipe.xml 10 | files/valid_order.xml 11 | files/invalid_order.xml 12 | 13 | 14 | -------------------------------------------------------------------------------- /examples/xmlpatterns/xmlpatterns.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | QT_FOR_CONFIG += xmlpatterns-private 3 | SUBDIRS += xquery 4 | qtHaveModule(widgets) { 5 | SUBDIRS += recipes 6 | 7 | qtConfig(xml-schema): SUBDIRS += filetree schema 8 | } 9 | 10 | EXAMPLE_FILES = \ 11 | shared 12 | 13 | -------------------------------------------------------------------------------- /examples/xmlpatterns/xquery/xquery.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = aux 2 | EXAMPLE_FILES = globalVariables 3 | -------------------------------------------------------------------------------- /qtxmlpatterns.pro: -------------------------------------------------------------------------------- 1 | requires(qtHaveModule(network)) 2 | load(qt_parts) 3 | -------------------------------------------------------------------------------- /src/imports/imports.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | qtHaveModule(qml): SUBDIRS += xmllistmodel 4 | -------------------------------------------------------------------------------- /src/imports/xmllistmodel/qmldir: -------------------------------------------------------------------------------- 1 | module QtQuick.XmlListModel 2 | plugin qmlxmllistmodelplugin 3 | classname QmlXmlListModelPlugin 4 | typeinfo plugins.qmltypes 5 | designersupported 6 | -------------------------------------------------------------------------------- /src/imports/xmllistmodel/xmllistmodel.pro: -------------------------------------------------------------------------------- 1 | CXX_MODULE = qml 2 | TARGET = qmlxmllistmodelplugin 3 | TARGETPATH = QtQuick/XmlListModel 4 | IMPORT_VERSION = 2.$$QT_MINOR_VERSION 5 | 6 | QT = xmlpatterns qml-private core-private 7 | qtConfig(qml-network): QT += network 8 | 9 | SOURCES += qqmlxmllistmodel.cpp plugin.cpp 10 | HEADERS += qqmlxmllistmodel_p.h 11 | 12 | load(qml_plugin) 13 | 14 | requires(qtConfig(qml-network)) 15 | -------------------------------------------------------------------------------- /src/src.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS += xmlpatterns 3 | 4 | qtHaveModule(qml){ 5 | SUBDIRS += imports 6 | imports.depends = xmlpatterns 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/xmlpatterns/acceltree/acceltree.pri: -------------------------------------------------------------------------------- 1 | SOURCES += $$PWD/qacceltree.cpp \ 2 | $$PWD/qacceltreeresourceloader.cpp \ 3 | $$PWD/qacceliterators.cpp \ 4 | $$PWD/qcompressedwhitespace.cpp 5 | 6 | HEADERS += $$PWD/qacceltreebuilder_p.h \ 7 | $$PWD/qacceltree_p.h \ 8 | $$PWD/qacceltreeresourceloader_p.h \ 9 | $$PWD/qacceliterators_p.h \ 10 | $$PWD/qcompressedwhitespace_p.h 11 | -------------------------------------------------------------------------------- /src/xmlpatterns/common.pri: -------------------------------------------------------------------------------- 1 | # This qmake file is included by all Patternist projects and contains common Qt defines, 2 | # compiler warnings, and include paths. 3 | 4 | INCLUDEPATH += $$PWD/acceltree \ 5 | $$PWD/data \ 6 | $$PWD/api \ 7 | $$PWD/environment \ 8 | $$PWD/expr \ 9 | $$PWD/functions \ 10 | $$PWD/iterators \ 11 | $$PWD/janitors \ 12 | $$PWD/parser \ 13 | $$PWD/schema \ 14 | $$PWD/type \ 15 | $$PWD/utils 16 | 17 | -------------------------------------------------------------------------------- /src/xmlpatterns/configure.json: -------------------------------------------------------------------------------- 1 | { 2 | "module": "xmlpatterns", 3 | 4 | "features": { 5 | "xml-schema": { 6 | "label": "XML schema support", 7 | "purpose": "Provides XML schema validation.", 8 | "section": "QtXmlPatterns", 9 | "output": [ "publicFeature" ] 10 | } 11 | }, 12 | 13 | "summary": [ 14 | { 15 | "section": "QtXmlPatterns", 16 | "entries": [ 17 | "xml-schema" 18 | ] 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/images/filetree_1-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/src/xmlpatterns/doc/images/filetree_1-example.png -------------------------------------------------------------------------------- /src/xmlpatterns/doc/images/filetree_2-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/src/xmlpatterns/doc/images/filetree_2-example.png -------------------------------------------------------------------------------- /src/xmlpatterns/doc/images/patternist-wordProcessor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/src/xmlpatterns/doc/images/patternist-wordProcessor.png -------------------------------------------------------------------------------- /src/xmlpatterns/doc/images/recipes-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/src/xmlpatterns/doc/images/recipes-example.png -------------------------------------------------------------------------------- /src/xmlpatterns/doc/images/schema-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/src/xmlpatterns/doc/images/schema-example.png -------------------------------------------------------------------------------- /src/xmlpatterns/doc/images/trafficinfo-example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/src/xmlpatterns/doc/images/trafficinfo-example.png -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/anyHTMLElement.xq: -------------------------------------------------------------------------------- 1 | doc('data.xml')/*:body 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/anyXLinkAttribute.xq: -------------------------------------------------------------------------------- 1 | declare namespace xlink = "http://www.w3.org/1999/xlink"; 2 | doc('image.svg')//@xlink:* 3 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/bracesIncluded.xq: -------------------------------------------------------------------------------- 1 | {sum((1, 2, 3))} 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/bracesIncludedResult.xml: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/bracesOmitted.xq: -------------------------------------------------------------------------------- 1 | sum({(1, 2, 3)}) 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/bracesOmittedResult.xml: -------------------------------------------------------------------------------- 1 | 2 | sum(1 2 3) -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/computedTreeFragment.xq: -------------------------------------------------------------------------------- 1 | declare default element namespace "http://example.com/Namespace"; 2 | declare variable $documentElementName := "doc"; 3 | 4 | element {$documentElementName} 5 | { 6 | attribute xml:base {"http://example.com/"}, 7 | element anotherElement 8 | { 9 | comment {" a comment "}, 10 | processing-instruction target {"data"}, 11 | element anotherElement {()}, 12 | text {"some text"} 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/copyAttribute.xq: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | { 5 | doc('feed.rss')/rss/@version 6 | } 7 |

8 | 9 | 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/copyID.xq: -------------------------------------------------------------------------------- 1 | (: Copy the value of xml:id attribute from other.html. This is a comment by the way! :) 2 | 4 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/directTreeFragment.xq: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | some text 7 | 8 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/doc.txt: -------------------------------------------------------------------------------- 1 | 2 |

3 | 1 4 | 2 5 |

6 |

7 | 3 8 | 4 9 |

10 |

11 | 5 12 | 6 13 |

14 |

15 | 7 16 | 8 17 |

18 |

19 | 9 20 | a 21 |

22 |

23 | b 24 | c 25 |

26 |

27 | d 28 | e 29 |

30 |

31 | f 32 | 0 33 |

34 |
35 | 36 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/docPlainHTML.xq: -------------------------------------------------------------------------------- 1 | doc("myPlainHTML.html")/body 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/docPlainHTML2.xq: -------------------------------------------------------------------------------- 1 | doc("myPlainHTML.html")/html/body 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/embedDataInXHTML.xq: -------------------------------------------------------------------------------- 1 | declare default element namespace "http://www.w3.org/1999/xhtml"; 2 | 3 | 4 | { 5 | for $i in doc("testResult.xml")/tests/test[@status = "failure"] 6 | order by $i/@name 7 | return

{$i/@name}

8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/embedDataInXHTML2.xq: -------------------------------------------------------------------------------- 1 | declare namespace x = "http://www.w3.org/1998/xhtml"; 2 | 3 | 4 | { 5 | for $i in doc("testResult.xml")/tests/test[@status = "failure"] 6 | order by $i/@name 7 | return {$i/@name} 8 | } 9 | 10 | 11 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/emptyParagraphs.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')//p[string-length(.) = 0] 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/escapeCurlyBraces.xq: -------------------------------------------------------------------------------- 1 | 2 | This is one left followed by one right curly brace: {{ }} 3 | Here they are again, but with character references: { } 4 | 5 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xml: -------------------------------------------------------------------------------- 1 |

"I hate quotations" -- Ralph Waldo Emerson" 2 | '"I hate quotations"" -- Ralph Waldo Emerson"', appeared above

-------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/escapeStringLiterals.xq: -------------------------------------------------------------------------------- 1 |

2 | { 3 | """I hate quotations"" -- Ralph Waldo Emerson""", 4 | " ", 5 | '''"I hate quotations"" -- Ralph Waldo Emerson"'', appeared above' 6 | } 7 |

8 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/expressionInsideAttribute.xq: -------------------------------------------------------------------------------- 1 | declare variable $additionalClass := "example"; 2 |

3 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/filterOnPath.xq: -------------------------------------------------------------------------------- 1 | let $doc := doc('doc.txt') 2 | return ($doc/doc/p/span)[1] 3 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/filterOnStep.xq: -------------------------------------------------------------------------------- 1 | let $doc := doc('doc.txt') 2 | return $doc/doc/p/span[1] -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/firstParagraph.xq: -------------------------------------------------------------------------------- 1 | doc("index.html")/html/body/p[@xml:id = "thatSpecialOne"] 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/fnStringOnAttribute.xq: -------------------------------------------------------------------------------- 1 | 2 | 3 |

4 | { 5 | string(doc('feed.rss')/rss/@version) 6 | } 7 |

8 | 9 | 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/forClause.xq: -------------------------------------------------------------------------------- 1 | for $i in(reverse(1 to 10)), 2 | $d in xs:integer(doc("numbers.xml")/numbers/number) 3 | return ($i + $d) 4 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/forClause2.xq: -------------------------------------------------------------------------------- 1 | for $i in(reverse(1 to 10)), 2 | $d in xs:integer(doc("numbers.xml")/numbers/number) 3 | return $i + $d 4 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/forClauseOnFeed.xq: -------------------------------------------------------------------------------- 1 | for $item in doc('feed.rss')//item 2 | return

3 | { 4 | $item/description/node() 5 | } 6 |

7 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/indented.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Some Text

5 |
6 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/introAcneRemover.xq: -------------------------------------------------------------------------------- 1 | 2 | The following skin care products have shipped, ordered by shipping date(oldest first): 3 | { 4 | for $i in doc("myOrders.xml")/orders/order[@product = "Acme Skin Care"] 5 | order by xs:date($i/@shippingDate) descending 6 | return $i 7 | } 8 | 9 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/introExample2.xq: -------------------------------------------------------------------------------- 1 | 2 | { 3 | doc($file)/bib/book[publisher = $publisher and @year > $year]/{title} 4 | } 5 | 6 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/introFileHierarchy.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | ... 10 | 11 | 12 | ... 13 | 14 | 15 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/introNavigateFS.xq: -------------------------------------------------------------------------------- 1 | declare variable $myRoot := ; (: This line is a dummy and shouldn't appear in the documentation. :) 2 | 3 | 4 | { 5 | $myRoot//file[@mimetype = 'text/xml' or @mimetype = 'application/xml'] 6 | / 7 | (if(doc-available(@uri)) 8 | then () 9 | else

Failed to parse file {@uri}.

) 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/introductionExample.xq: -------------------------------------------------------------------------------- 1 | 2 | {doc("library.xml")/bib/book[publisher="Addison-Wesley" and @year>1991]/{title}} 3 | 4 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/invalidLetOrderBy.xq: -------------------------------------------------------------------------------- 1 | let $i := (2, 3, 1) 2 | order by $i[1] 3 | return $i 4 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/items.xq: -------------------------------------------------------------------------------- 1 | , 2 | xs:base64Binary("FFFF"), 3 | current-date(), 4 | 3e3, (: A floating point value :) 5 | attribute {"name"} {()} 6 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/letOrderBy.xq: -------------------------------------------------------------------------------- 1 | for $a in (8, -4, 2) 2 | let $b := ($a * -1, $a) 3 | order by $a 4 | return $b 5 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/literalsAndOperators.xq: -------------------------------------------------------------------------------- 1 | declare variable $date := fn:current-date(); (: This line should not be part of the example. It exists in order to make the query valid. :) 2 | fn:current-date() - $date > xs:dayTimeDuration("P365D") 3 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/mobeyDick.xml: -------------------------------------------------------------------------------- 1 | 3 | Mobey Dick ... 4 | 5 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/nextLastParagraph.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')//p[last() - 1] 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/nodeConstructorsAreExpressions.xq: -------------------------------------------------------------------------------- 1 | let $docURI := 'maybeNotWellformed.xml' 2 | return if(doc-available($docURI)) 3 | then doc($docURI)//p/{./node()} 4 | else Failed to load {$docURI} 5 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/nodeConstructorsInPaths.xq: -------------------------------------------------------------------------------- 1 | doc('feed.rss')//item/

{description/node()}

2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/nodeTestChildElement.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')/descendant-or-self::element(p)/child::element(span) 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/notIndented.xml: -------------------------------------------------------------------------------- 1 |

Some Text

2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/oneElementConstructor.xq: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/paragraphsExceptTheFiveFirst.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')//p[position() > 5] 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/paragraphsWithTables.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')/html/body/p[table] 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/pathAB.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')//p/span 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/pathsAllParagraphs.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')//p 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/simpleHTML.xq: -------------------------------------------------------------------------------- 1 | doc("index.html")/html/body/p[@class="example"] 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/simpleXHTML.xq: -------------------------------------------------------------------------------- 1 | declare namespace x = "http://www.w3.org/1999/xhtml/"; 2 | doc("index.html")/x:html/x:body/x:p[@class="example"] 3 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/svgDocumentElement.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/tablesInParagraphs.xq: -------------------------------------------------------------------------------- 1 | doc('index.html')/html/body/p/table 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/twoSVGElements.xq: -------------------------------------------------------------------------------- 1 | declare namespace s = "http://www.w3.org/2000/svg"; 2 | declare default element namespace "http://www.w3.org/2000/svg"; 3 | let $doc := doc('image.svg') 4 | return ($doc/svg, 5 | $doc/s:svg) 6 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/xmlStylesheet.xq: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/xsBooleanTrue.xq: -------------------------------------------------------------------------------- 1 | xs:boolean("true") 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/patternist/xsvgDocumentElement.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /src/xmlpatterns/doc/snippets/qml/xmlrole.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Qt 5 Cadaques 5 | 2014 6 | Juergen Bocklage-Ryannel 7 | Johan Thelin 8 | 9 | 10 | C++ GUI Programming with Qt 4 11 | 2006 12 | Jasmin Blanchette 13 | Mark Summerfield 14 | 15 | 16 | Programming with Qt 17 | 2002 18 | Matthias Kalle Dalheimer 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/xmlpatterns/janitors/janitors.pri: -------------------------------------------------------------------------------- 1 | HEADERS += $$PWD/qargumentconverter_p.h \ 2 | $$PWD/qatomizer_p.h \ 3 | $$PWD/qcardinalityverifier_p.h \ 4 | $$PWD/qebvextractor_p.h \ 5 | $$PWD/qitemverifier_p.h \ 6 | $$PWD/quntypedatomicconverter_p.h 7 | 8 | SOURCES += $$PWD/qargumentconverter.cpp \ 9 | $$PWD/qatomizer.cpp \ 10 | $$PWD/qcardinalityverifier.cpp \ 11 | $$PWD/qebvextractor.cpp \ 12 | $$PWD/qitemverifier.cpp \ 13 | $$PWD/quntypedatomicconverter.cpp 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/parser/parser.pri: -------------------------------------------------------------------------------- 1 | hpux-g++*:QMAKE_CXXFLAGS += -mbig-switch 2 | 3 | HEADERS += $$PWD/qparsercontext_p.h \ 4 | $$PWD/qmaintainingreader_p.h \ 5 | $$PWD/qquerytransformparser_p.h \ 6 | $$PWD/qtokenizer_p.h \ 7 | $$PWD/qtokenrevealer_p.h \ 8 | $$PWD/qtokensource_p.h \ 9 | $$PWD/qtokenvalue_p.h \ 10 | $$PWD/qxquerytokenizer_p.h \ 11 | $$PWD/qxslttokenizer_p.h \ 12 | $$PWD/qxslttokenlookup_p.h 13 | 14 | SOURCES += $$PWD/qquerytransformparser.cpp \ 15 | $$PWD/qparsercontext.cpp \ 16 | $$PWD/qtokenrevealer.cpp \ 17 | $$PWD/qtokensource.cpp \ 18 | $$PWD/qxquerytokenizer.cpp \ 19 | $$PWD/qxslttokenizer.cpp \ 20 | $$PWD/qxslttokenlookup.cpp 21 | 22 | OTHER_FILES += $$PWD/querytransformparser.ypp \ 23 | $$PWD/TokenLookup.gperf 24 | DEFINES += YYLTYPE_IS_DECLARED=1 25 | -------------------------------------------------------------------------------- /src/xmlpatterns/parser/winCEWorkaround.sed: -------------------------------------------------------------------------------- 1 | /\/\* Tokens\. \*\// i\ 2 | \/\* These tokens are defined to nothing on Windows because they\'re\ 3 | \* used in their documentation parser, for use in things like:\ 4 | \*\ 5 | \* int foo(IN char\* name, OUT char\* path);\ 6 | \*\ 7 | \* Hence this un-break fix. Note that this file was auto generated. *\/\ 8 | \#ifdef IN\ 9 | \# undef IN\ 10 | \#endif\ 11 | \#ifdef INSTANCE\ 12 | \# undef INSTANCE\ 13 | \#endif\ 14 | \#ifdef STRICT\ 15 | \# undef STRICT\ 16 | \#endif\ 17 | \#ifdef SELF\ 18 | \# undef SELF\ 19 | \#endif\ 20 | \/\* These tokens are defined in VxWorks kernel mode\ 21 | \*\ 22 | \* Hence this un-break fix. Note that this file was auto generated. *\/\ 23 | \#ifdef ERROR\ 24 | \# undef ERROR\ 25 | \#endif\ 26 | \#ifdef IMPORT\ 27 | \# undef IMPORT\ 28 | \#endif\ 29 | \#ifdef MAP\ 30 | \# undef MAP\ 31 | \#endif\ 32 | 33 | -------------------------------------------------------------------------------- /src/xmlpatterns/projection/projection.pri: -------------------------------------------------------------------------------- 1 | SOURCES += $$PWD/qdocumentprojector.cpp 2 | 3 | HEADERS += $$PWD/qdocumentprojector_p.h \ 4 | $$PWD/qprojectedexpression_p.h 5 | -------------------------------------------------------------------------------- /src/xmlpatterns/query.pri: -------------------------------------------------------------------------------- 1 | include($$PWD/common.pri) 2 | include($$PWD/acceltree/acceltree.pri) 3 | include($$PWD/api/api.pri) 4 | include($$PWD/data/data.pri) 5 | include($$PWD/environment/environment.pri) 6 | include($$PWD/expr/expr.pri) 7 | include($$PWD/functions/functions.pri) 8 | include($$PWD/iterators/iterators.pri) 9 | include($$PWD/janitors/janitors.pri) 10 | include($$PWD/parser/parser.pri) 11 | include($$PWD/projection/projection.pri) 12 | include($$PWD/type/type.pri) 13 | include($$PWD/utils/utils.pri) 14 | include($$PWD/qobjectmodel/qobjectmodel.pri, "", true) 15 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/builtinschemas.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | schemas/xml.xsd 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/All_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph All { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="any"] 5 | 1 -> 3 [label="element"] 6 | 2 -> 3 [label="any"] 7 | 2 -> 3 [label="element"] 8 | 3 -> 3 [label="any"] 9 | 3 -> 3 [label="element"] 10 | 1 [shape=doublecircle, style=filled, color=blue] 11 | 2 [shape=doublecircle, style=filled, color=green] 12 | 3 [shape=doublecircle, style=filled, color=green] 13 | } 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Alternative_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Alternative { 2 | mindist = 2.0 3 | 1 -> 3 [label="complexType"] 4 | 1 -> 2 [label="annotation"] 5 | 1 -> 3 [label="simpleType"] 6 | 2 -> 3 [label="complexType"] 7 | 2 -> 3 [label="simpleType"] 8 | 1 [shape=doublecircle, style=filled, color=blue] 9 | 2 [shape=doublecircle, style=filled, color=green] 10 | 3 [shape=doublecircle, style=filled, color=green] 11 | } 12 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Annotation_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Annotation { 2 | mindist = 2.0 3 | 1 -> 2 [label="appinfo"] 4 | 1 -> 2 [label="documentation"] 5 | 2 -> 2 [label="appinfo"] 6 | 2 -> 2 [label="documentation"] 7 | 1 [shape=doublecircle, style=filled, color=blue] 8 | 2 [shape=doublecircle, style=filled, color=green] 9 | } 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/AnyAttribute_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph AnyAttribute { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Any_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Any { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Assert_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Assert { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Choice_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Choice { 2 | mindist = 2.0 3 | 1 -> 3 [label="choice"] 4 | 1 -> 3 [label="group"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 3 [label="sequence"] 7 | 1 -> 3 [label="any"] 8 | 1 -> 3 [label="element"] 9 | 2 -> 3 [label="choice"] 10 | 2 -> 3 [label="group"] 11 | 2 -> 3 [label="sequence"] 12 | 2 -> 3 [label="any"] 13 | 2 -> 3 [label="element"] 14 | 3 -> 3 [label="choice"] 15 | 3 -> 3 [label="group"] 16 | 3 -> 3 [label="sequence"] 17 | 3 -> 3 [label="any"] 18 | 3 -> 3 [label="element"] 19 | 1 [shape=doublecircle, style=filled, color=blue] 20 | 2 [shape=doublecircle, style=filled, color=green] 21 | 3 [shape=doublecircle, style=filled, color=green] 22 | } 23 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/ComplexContent_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph ComplexContent { 2 | mindist = 2.0 3 | 1 -> 3 [label="restriction"] 4 | 1 -> 2 [label="annotation"] 5 | 1 -> 3 [label="extension"] 6 | 2 -> 3 [label="restriction"] 7 | 2 -> 3 [label="extension"] 8 | 1 [shape=circle, style=filled, color=blue] 9 | 2 [shape=circle, style=filled, color=red] 10 | 3 [shape=doublecircle, style=filled, color=green] 11 | } 12 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/DefaultOpenContent_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph DefaultOpenContent { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="any"] 5 | 2 -> 3 [label="any"] 6 | 1 [shape=doublecircle, style=filled, color=blue] 7 | 2 [shape=circle, style=filled, color=red] 8 | 3 [shape=doublecircle, style=filled, color=green] 9 | } 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/EnumerationFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph EnumerationFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Field_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Field { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/FractionDigitsFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph FractionDigitsFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/GlobalAttribute_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph GlobalAttribute { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="simpleType"] 5 | 2 -> 3 [label="simpleType"] 6 | 1 [shape=doublecircle, style=filled, color=blue] 7 | 2 [shape=doublecircle, style=filled, color=green] 8 | 3 [shape=doublecircle, style=filled, color=green] 9 | } 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/GlobalElement_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph GlobalElement { 2 | mindist = 2.0 3 | 1 -> 3 [label="complexType"] 4 | 1 -> 4 [label="alternative"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 5 [label="key"] 7 | 1 -> 3 [label="simpleType"] 8 | 1 -> 5 [label="keyref"] 9 | 1 -> 5 [label="unique"] 10 | 2 -> 3 [label="complexType"] 11 | 2 -> 4 [label="alternative"] 12 | 2 -> 5 [label="key"] 13 | 2 -> 3 [label="simpleType"] 14 | 2 -> 5 [label="keyref"] 15 | 2 -> 5 [label="unique"] 16 | 3 -> 4 [label="alternative"] 17 | 3 -> 5 [label="key"] 18 | 3 -> 5 [label="keyref"] 19 | 3 -> 5 [label="unique"] 20 | 4 -> 4 [label="alternative"] 21 | 4 -> 5 [label="key"] 22 | 4 -> 5 [label="keyref"] 23 | 4 -> 5 [label="unique"] 24 | 5 -> 5 [label="key"] 25 | 5 -> 5 [label="keyref"] 26 | 5 -> 5 [label="unique"] 27 | 1 [shape=doublecircle, style=filled, color=blue] 28 | 2 [shape=doublecircle, style=filled, color=green] 29 | 3 [shape=doublecircle, style=filled, color=green] 30 | 4 [shape=doublecircle, style=filled, color=green] 31 | 5 [shape=doublecircle, style=filled, color=green] 32 | } 33 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/GlobalSimpleType_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph GlobalSimpleType { 2 | mindist = 2.0 3 | 1 -> 3 [label="restriction"] 4 | 1 -> 2 [label="annotation"] 5 | 1 -> 3 [label="list"] 6 | 1 -> 3 [label="union"] 7 | 2 -> 3 [label="restriction"] 8 | 2 -> 3 [label="list"] 9 | 2 -> 3 [label="union"] 10 | 1 [shape=circle, style=filled, color=blue] 11 | 2 [shape=circle, style=filled, color=red] 12 | 3 [shape=doublecircle, style=filled, color=green] 13 | } 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Import_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Import { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Include_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Include { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/KeyRef_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph KeyRef { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="selector"] 5 | 2 -> 3 [label="selector"] 6 | 3 -> 4 [label="field"] 7 | 4 -> 4 [label="field"] 8 | 1 [shape=circle, style=filled, color=blue] 9 | 2 [shape=circle, style=filled, color=red] 10 | 3 [shape=circle, style=filled, color=red] 11 | 4 [shape=doublecircle, style=filled, color=green] 12 | } 13 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Key_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Key { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="selector"] 5 | 2 -> 3 [label="selector"] 6 | 3 -> 4 [label="field"] 7 | 4 -> 4 [label="field"] 8 | 1 [shape=circle, style=filled, color=blue] 9 | 2 [shape=circle, style=filled, color=red] 10 | 3 [shape=circle, style=filled, color=red] 11 | 4 [shape=doublecircle, style=filled, color=green] 12 | } 13 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LengthFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LengthFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/List_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph List { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="simpleType"] 5 | 2 -> 3 [label="simpleType"] 6 | 1 [shape=doublecircle, style=filled, color=blue] 7 | 2 [shape=doublecircle, style=filled, color=green] 8 | 3 [shape=doublecircle, style=filled, color=green] 9 | } 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LocalAll_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LocalAll { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="any"] 5 | 1 -> 3 [label="element"] 6 | 2 -> 3 [label="any"] 7 | 2 -> 3 [label="element"] 8 | 3 -> 3 [label="any"] 9 | 3 -> 3 [label="element"] 10 | 1 [shape=doublecircle, style=filled, color=blue] 11 | 2 [shape=doublecircle, style=filled, color=green] 12 | 3 [shape=doublecircle, style=filled, color=green] 13 | } 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LocalAttribute_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LocalAttribute { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="simpleType"] 5 | 2 -> 3 [label="simpleType"] 6 | 1 [shape=doublecircle, style=filled, color=blue] 7 | 2 [shape=doublecircle, style=filled, color=green] 8 | 3 [shape=doublecircle, style=filled, color=green] 9 | } 10 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LocalChoice_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LocalChoice { 2 | mindist = 2.0 3 | 1 -> 3 [label="choice"] 4 | 1 -> 3 [label="group"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 3 [label="sequence"] 7 | 1 -> 3 [label="any"] 8 | 1 -> 3 [label="element"] 9 | 2 -> 3 [label="choice"] 10 | 2 -> 3 [label="group"] 11 | 2 -> 3 [label="sequence"] 12 | 2 -> 3 [label="any"] 13 | 2 -> 3 [label="element"] 14 | 3 -> 3 [label="choice"] 15 | 3 -> 3 [label="group"] 16 | 3 -> 3 [label="sequence"] 17 | 3 -> 3 [label="any"] 18 | 3 -> 3 [label="element"] 19 | 1 [shape=doublecircle, style=filled, color=blue] 20 | 2 [shape=doublecircle, style=filled, color=green] 21 | 3 [shape=doublecircle, style=filled, color=green] 22 | } 23 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LocalElement_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LocalElement { 2 | mindist = 2.0 3 | 1 -> 3 [label="complexType"] 4 | 1 -> 4 [label="alternative"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 5 [label="key"] 7 | 1 -> 3 [label="simpleType"] 8 | 1 -> 5 [label="keyref"] 9 | 1 -> 5 [label="unique"] 10 | 2 -> 3 [label="complexType"] 11 | 2 -> 4 [label="alternative"] 12 | 2 -> 5 [label="key"] 13 | 2 -> 3 [label="simpleType"] 14 | 2 -> 5 [label="keyref"] 15 | 2 -> 5 [label="unique"] 16 | 3 -> 4 [label="alternative"] 17 | 3 -> 5 [label="key"] 18 | 3 -> 5 [label="keyref"] 19 | 3 -> 5 [label="unique"] 20 | 4 -> 4 [label="alternative"] 21 | 4 -> 5 [label="key"] 22 | 4 -> 5 [label="keyref"] 23 | 4 -> 5 [label="unique"] 24 | 5 -> 5 [label="key"] 25 | 5 -> 5 [label="keyref"] 26 | 5 -> 5 [label="unique"] 27 | 1 [shape=doublecircle, style=filled, color=blue] 28 | 2 [shape=doublecircle, style=filled, color=green] 29 | 3 [shape=doublecircle, style=filled, color=green] 30 | 4 [shape=doublecircle, style=filled, color=green] 31 | 5 [shape=doublecircle, style=filled, color=green] 32 | } 33 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LocalSequence_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LocalSequence { 2 | mindist = 2.0 3 | 1 -> 3 [label="choice"] 4 | 1 -> 3 [label="group"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 3 [label="sequence"] 7 | 1 -> 3 [label="any"] 8 | 1 -> 3 [label="element"] 9 | 2 -> 3 [label="choice"] 10 | 2 -> 3 [label="group"] 11 | 2 -> 3 [label="sequence"] 12 | 2 -> 3 [label="any"] 13 | 2 -> 3 [label="element"] 14 | 3 -> 3 [label="choice"] 15 | 3 -> 3 [label="group"] 16 | 3 -> 3 [label="sequence"] 17 | 3 -> 3 [label="any"] 18 | 3 -> 3 [label="element"] 19 | 1 [shape=doublecircle, style=filled, color=blue] 20 | 2 [shape=doublecircle, style=filled, color=green] 21 | 3 [shape=doublecircle, style=filled, color=green] 22 | } 23 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/LocalSimpleType_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph LocalSimpleType { 2 | mindist = 2.0 3 | 1 -> 3 [label="restriction"] 4 | 1 -> 2 [label="annotation"] 5 | 1 -> 3 [label="list"] 6 | 1 -> 3 [label="union"] 7 | 2 -> 3 [label="restriction"] 8 | 2 -> 3 [label="list"] 9 | 2 -> 3 [label="union"] 10 | 1 [shape=circle, style=filled, color=blue] 11 | 2 [shape=circle, style=filled, color=red] 12 | 3 [shape=doublecircle, style=filled, color=green] 13 | } 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/MaxExclusiveFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph MaxExclusiveFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/MaxInclusiveFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph MaxInclusiveFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/MaxLengthFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph MaxLengthFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/MinExclusiveFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph MinExclusiveFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/MinInclusiveFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph MinInclusiveFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/MinLengthFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph MinLengthFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/NamedAttributeGroup_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph NamedAttributeGroup { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 4 [label="anyAttribute"] 5 | 1 -> 3 [label="attribute"] 6 | 1 -> 3 [label="attributeGroup"] 7 | 2 -> 4 [label="anyAttribute"] 8 | 2 -> 3 [label="attribute"] 9 | 2 -> 3 [label="attributeGroup"] 10 | 3 -> 4 [label="anyAttribute"] 11 | 3 -> 3 [label="attribute"] 12 | 3 -> 3 [label="attributeGroup"] 13 | 1 [shape=doublecircle, style=filled, color=blue] 14 | 2 [shape=doublecircle, style=filled, color=green] 15 | 3 [shape=doublecircle, style=filled, color=green] 16 | 4 [shape=doublecircle, style=filled, color=green] 17 | } 18 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/NamedGroup_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph NamedGroup { 2 | mindist = 2.0 3 | 1 -> 3 [label="choice"] 4 | 1 -> 3 [label="all"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 3 [label="sequence"] 7 | 2 -> 3 [label="choice"] 8 | 2 -> 3 [label="all"] 9 | 2 -> 3 [label="sequence"] 10 | 1 [shape=doublecircle, style=filled, color=blue] 11 | 2 [shape=doublecircle, style=filled, color=green] 12 | 3 [shape=doublecircle, style=filled, color=green] 13 | } 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Notation_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Notation { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Override_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Override { 2 | mindist = 2.0 3 | 1 -> 2 [label="group"] 4 | 1 -> 2 [label="complexType"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 2 [label="simpleType"] 7 | 1 -> 2 [label="element"] 8 | 1 -> 2 [label="notation"] 9 | 1 -> 2 [label="attribute"] 10 | 1 -> 2 [label="attributeGroup"] 11 | 2 -> 2 [label="group"] 12 | 2 -> 2 [label="complexType"] 13 | 2 -> 2 [label="annotation"] 14 | 2 -> 2 [label="simpleType"] 15 | 2 -> 2 [label="element"] 16 | 2 -> 2 [label="notation"] 17 | 2 -> 2 [label="attribute"] 18 | 2 -> 2 [label="attributeGroup"] 19 | 1 [shape=doublecircle, style=filled, color=blue] 20 | 2 [shape=doublecircle, style=filled, color=green] 21 | } 22 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/PatternFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph PatternFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Redefine_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Redefine { 2 | mindist = 2.0 3 | 1 -> 2 [label="group"] 4 | 1 -> 2 [label="complexType"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 2 [label="simpleType"] 7 | 1 -> 2 [label="attributeGroup"] 8 | 2 -> 2 [label="group"] 9 | 2 -> 2 [label="complexType"] 10 | 2 -> 2 [label="annotation"] 11 | 2 -> 2 [label="simpleType"] 12 | 2 -> 2 [label="attributeGroup"] 13 | 1 [shape=doublecircle, style=filled, color=blue] 14 | 2 [shape=doublecircle, style=filled, color=green] 15 | } 16 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/ReferredAttributeGroup_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph ReferredAttributeGroup { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/ReferredGroup_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph ReferredGroup { 2 | mindist = 2.0 3 | 1 -> 3 [label="choice"] 4 | 1 -> 3 [label="all"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 3 [label="sequence"] 7 | 2 -> 3 [label="choice"] 8 | 2 -> 3 [label="all"] 9 | 2 -> 3 [label="sequence"] 10 | 1 [shape=doublecircle, style=filled, color=blue] 11 | 2 [shape=doublecircle, style=filled, color=green] 12 | 3 [shape=doublecircle, style=filled, color=green] 13 | } 14 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Selector_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Selector { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Sequence_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Sequence { 2 | mindist = 2.0 3 | 1 -> 3 [label="choice"] 4 | 1 -> 3 [label="group"] 5 | 1 -> 2 [label="annotation"] 6 | 1 -> 3 [label="sequence"] 7 | 1 -> 3 [label="any"] 8 | 1 -> 3 [label="element"] 9 | 2 -> 3 [label="choice"] 10 | 2 -> 3 [label="group"] 11 | 2 -> 3 [label="sequence"] 12 | 2 -> 3 [label="any"] 13 | 2 -> 3 [label="element"] 14 | 3 -> 3 [label="choice"] 15 | 3 -> 3 [label="group"] 16 | 3 -> 3 [label="sequence"] 17 | 3 -> 3 [label="any"] 18 | 3 -> 3 [label="element"] 19 | 1 [shape=doublecircle, style=filled, color=blue] 20 | 2 [shape=doublecircle, style=filled, color=green] 21 | 3 [shape=doublecircle, style=filled, color=green] 22 | } 23 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/SimpleContentExtension_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph SimpleContentExtension { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 4 [label="anyAttribute"] 5 | 1 -> 5 [label="assert"] 6 | 1 -> 3 [label="attribute"] 7 | 1 -> 3 [label="attributeGroup"] 8 | 2 -> 4 [label="anyAttribute"] 9 | 2 -> 5 [label="assert"] 10 | 2 -> 3 [label="attribute"] 11 | 2 -> 3 [label="attributeGroup"] 12 | 3 -> 4 [label="anyAttribute"] 13 | 3 -> 5 [label="assert"] 14 | 3 -> 3 [label="attribute"] 15 | 3 -> 3 [label="attributeGroup"] 16 | 4 -> 5 [label="assert"] 17 | 5 -> 5 [label="assert"] 18 | 1 [shape=doublecircle, style=filled, color=blue] 19 | 2 [shape=doublecircle, style=filled, color=green] 20 | 3 [shape=doublecircle, style=filled, color=green] 21 | 4 [shape=doublecircle, style=filled, color=green] 22 | 5 [shape=doublecircle, style=filled, color=green] 23 | } 24 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/SimpleContent_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph SimpleContent { 2 | mindist = 2.0 3 | 1 -> 3 [label="restriction"] 4 | 1 -> 2 [label="annotation"] 5 | 1 -> 3 [label="extension"] 6 | 2 -> 3 [label="restriction"] 7 | 2 -> 3 [label="extension"] 8 | 1 [shape=circle, style=filled, color=blue] 9 | 2 [shape=circle, style=filled, color=red] 10 | 3 [shape=doublecircle, style=filled, color=green] 11 | } 12 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/TotalDigitsFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph TotalDigitsFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Union_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Union { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="simpleType"] 5 | 2 -> 3 [label="simpleType"] 6 | 3 -> 3 [label="simpleType"] 7 | 1 [shape=doublecircle, style=filled, color=blue] 8 | 2 [shape=doublecircle, style=filled, color=green] 9 | 3 [shape=doublecircle, style=filled, color=green] 10 | } 11 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/Unique_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph Unique { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 -> 3 [label="selector"] 5 | 2 -> 3 [label="selector"] 6 | 3 -> 4 [label="field"] 7 | 4 -> 4 [label="field"] 8 | 1 [shape=circle, style=filled, color=blue] 9 | 2 [shape=circle, style=filled, color=red] 10 | 3 [shape=circle, style=filled, color=red] 11 | 4 [shape=doublecircle, style=filled, color=green] 12 | } 13 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/WhiteSpaceFacet_diagram.dot: -------------------------------------------------------------------------------- 1 | digraph WhiteSpaceFacet { 2 | mindist = 2.0 3 | 1 -> 2 [label="annotation"] 4 | 1 [shape=doublecircle, style=filled, color=blue] 5 | 2 [shape=doublecircle, style=filled, color=green] 6 | } 7 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/doc/legend.dot: -------------------------------------------------------------------------------- 1 | digraph { 2 | size="5,4" 3 | 1 [label=" start state ", shape=circle, style=filled, color=blue] 4 | 2 [label="start/end state", shape=doublecircle, style=filled, color=blue] 5 | 3 [label=" internal state", shape=circle, style=filled, color=red] 6 | 4 [label=" end state ", shape=doublecircle, style=filled, color=green] 7 | } 8 | -------------------------------------------------------------------------------- /src/xmlpatterns/schema/schemas/qt_attribution.json: -------------------------------------------------------------------------------- 1 | { 2 | "Id": "xml-xsd", 3 | "Name": "XML Schema", 4 | "QDocModule": "qtxmlpatterns", 5 | "QtUsage": "Used for implementing validation of the the XML schema.", 6 | 7 | "Files": "xml.xsd", 8 | "Description": "The xml.xsd file provided by W3C describes the XML 9 | namespace, in a form suitable for import by other schema documents.", 10 | "Homepage": "https://www.w3.org/2001/xml.xsd", 11 | "Version": "2007/08", 12 | "DownloadLocation": "http://www.w3.org/2007/08/xml.xsd", 13 | "LicenseId": "W3C-20150513", 14 | "License": "W3C Software Notice and Document License (2015-05-13)", 15 | "LicenseFile": "xml.xsd-LICENSE", 16 | "Copyright": "Copyright © 2007 W3C® (MIT, ERCIM, Keio, Beihang)" 17 | } 18 | -------------------------------------------------------------------------------- /src/xmlpatterns/xmlpatterns.pro: -------------------------------------------------------------------------------- 1 | TARGET = QtXmlPatterns 2 | CONFIG += exceptions 3 | QT = core-private network 4 | 5 | DEFINES += QT_NO_USING_NAMESPACE QT_ENABLE_QEXPLICITLYSHAREDDATAPOINTER_STATICCAST 6 | win32-msvc*|win32-icc:QMAKE_LFLAGS += /BASE:0x61000000 7 | 8 | QMAKE_DOCS = $$PWD/doc/qtxmlpatterns.qdocconf 9 | 10 | include($$PWD/common.pri) 11 | include($$PWD/acceltree/acceltree.pri) 12 | include($$PWD/api/api.pri) 13 | include($$PWD/data/data.pri) 14 | include($$PWD/environment/environment.pri) 15 | include($$PWD/expr/expr.pri) 16 | include($$PWD/functions/functions.pri) 17 | include($$PWD/iterators/iterators.pri) 18 | include($$PWD/janitors/janitors.pri) 19 | include($$PWD/parser/parser.pri) 20 | include($$PWD/projection/projection.pri) 21 | 22 | qtConfig(xml-schema) { 23 | include($$PWD/schema/schema.pri) 24 | } 25 | include($$PWD/type/type.pri) 26 | include($$PWD/utils/utils.pri) 27 | include($$PWD/qobjectmodel/qobjectmodel.pri, "", true) 28 | 29 | load(qt_module) 30 | -------------------------------------------------------------------------------- /sync.profile: -------------------------------------------------------------------------------- 1 | %modules = ( # path to module name map 2 | "QtXmlPatterns" => "$basedir/src/xmlpatterns", 3 | ); 4 | %moduleheaders = ( # restrict the module headers to those found in relative path 5 | ); 6 | -------------------------------------------------------------------------------- /tests/README: -------------------------------------------------------------------------------- 1 | This directory contains autotests and benchmarks based on QTestlib. In order 2 | to run the autotests reliably, you need to configure a desktop to match the 3 | test environment that these tests are written for. 4 | 5 | Linux X11: 6 | 7 | * The user must be logged in to an active desktop; you can't run the 8 | autotests without a valid DISPLAY that allows X11 connections. 9 | 10 | * The tests are run against a KDE3 or KDE4 desktop. 11 | 12 | * Window manager uses "click to focus", and not "focus follows mouse". Many 13 | tests move the mouse cursor around and expect this to not affect focus 14 | and activation. 15 | 16 | * Disable "click to activate", i.e., when a window is opened, the window 17 | manager should automatically activate it (give it input focus) and not 18 | wait for the user to click the window. 19 | -------------------------------------------------------------------------------- /tests/auto/checkxmlfiles/checkxmlfiles.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_checkxmlfiles 2 | CONFIG += testcase 3 | SOURCES += tst_checkxmlfiles.cpp \ 4 | ../qxmlquery/TestFundament.cpp 5 | QT = core gui testlib 6 | 7 | include (../xmlpatterns.pri) 8 | 9 | DEFINES += SOURCETREE=\\\"$$absolute_path(../../..)/\\\" 10 | -------------------------------------------------------------------------------- /tests/auto/cmake/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | 2 | cmake_minimum_required(VERSION 2.8) 3 | 4 | project(qmake_cmake_files) 5 | 6 | enable_testing() 7 | 8 | find_package(Qt5Core REQUIRED) 9 | 10 | include("${_Qt5CTestMacros}") 11 | 12 | test_module_includes( 13 | XmlPatterns QXmlQuery 14 | ) 15 | -------------------------------------------------------------------------------- /tests/auto/cmake/cmake.pro: -------------------------------------------------------------------------------- 1 | 2 | # Cause make to do nothing. 3 | TEMPLATE = subdirs 4 | 5 | CMAKE_QT_MODULES_UNDER_TEST = xmlpatterns 6 | 7 | CONFIG += ctest_testcase 8 | -------------------------------------------------------------------------------- /tests/auto/host.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | SUBDIRS=\ 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/patternistexamplefiletree/patternistexamplefiletree.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_patternistexamplefiletree 2 | CONFIG += testcase 3 | SOURCES += tst_patternistexamplefiletree.cpp 4 | QT = core testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/patternistexamples/patternistexamples.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_patternistexamples 2 | CONFIG += testcase 3 | SOURCES += tst_patternistexamples.cpp 4 | QT += testlib 5 | 6 | DEFINES += SOURCETREE=\\\"$$absolute_path(../../..)/\\\" 7 | 8 | include (../xmlpatterns.pri) 9 | -------------------------------------------------------------------------------- /tests/auto/patternistheaders/patternistheaders.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_patternistheaders 2 | CONFIG += testcase 3 | SOURCES += tst_patternistheaders.cpp 4 | QT = core testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qabstractmessagehandler/qabstractmessagehandler.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qabstractmessagehandler 2 | CONFIG += testcase 3 | SOURCES += tst_qabstractmessagehandler.cpp 4 | QT = core testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qabstracturiresolver/qabstracturiresolver.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qabstracturiresolver 2 | CONFIG += testcase 3 | SOURCES += tst_qabstracturiresolver.cpp 4 | HEADERS += TestURIResolver.h 5 | QT = core testlib 6 | 7 | include (../xmlpatterns.pri) 8 | -------------------------------------------------------------------------------- /tests/auto/qabstractxmlforwarditerator/qabstractxmlforwarditerator.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qabstractxmlforwarditerator 2 | CONFIG += testcase 3 | SOURCES += tst_qabstractxmlforwarditerator.cpp 4 | QT = core testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qabstractxmlnodemodel/qabstractxmlnodemodel.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qabstractxmlnodemodel 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qabstractxmlnodemodel.cpp \ 5 | LoadingModel.cpp \ 6 | ../qxmlquery/TestFundament.cpp 7 | HEADERS += TestNodeModel.h LoadingModel.h 8 | 9 | TESTDATA = tree.xml 10 | 11 | include (../xmlpatterns.pri) 12 | -------------------------------------------------------------------------------- /tests/auto/qabstractxmlnodemodel/tree.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | text1 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | theTextChild2 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/qabstractxmlreceiver/qabstractxmlreceiver.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qabstractxmlreceiver 2 | CONFIG += testcase 3 | SOURCES += tst_qabstractxmlreceiver.cpp 4 | QT = core testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qapplicationargumentparser/qapplicationargumentparser.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qapplicationargumentparser 2 | CONFIG += testcase 3 | SOURCES += tst_qapplicationargumentparser.cpp \ 4 | ../../../tools/xmlpatterns/qapplicationargument.cpp \ 5 | ../../../tools/xmlpatterns/qapplicationargumentparser.cpp 6 | QT = core testlib 7 | INCLUDEPATH += ../../../tools/xmlpatterns/ 8 | -------------------------------------------------------------------------------- /tests/auto/qautoptr/qautoptr.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qautoptr 2 | CONFIG += testcase 3 | SOURCES += tst_qautoptr.cpp 4 | QT = core testlib 5 | include(../xmlpatterns.pri) 6 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/empty.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/qquickxmllistmodel/data/empty.xml -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/groups.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | source: "groups.xml" 6 | query: "//animal[@name='Garfield']/parent::group" 7 | 8 | XmlRole { name: "id"; query: "@id/string()" } 9 | XmlRole { name: "name"; query: "@name/string()" } 10 | } 11 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/groups.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/model.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | source: "model.xml" 6 | query: "/Pets/Pet" 7 | XmlRole { name: "name"; query: "name/string()" } 8 | XmlRole { name: "type"; query: "type/string()" } 9 | XmlRole { name: "age"; query: "age/number()" } 10 | XmlRole { name: "size"; query: "size/string()" } 11 | } 12 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/model2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | Polly 4 | Parrot 5 | 12 6 | Small 7 | 8 | 9 | Penny 10 | Turtle 11 | 4 12 | Small 13 | 14 | 15 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/propertychanges.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | source: "model.xml" 6 | query: "/Pets/Pet" 7 | XmlRole { objectName: "role"; name: "name"; query: "name/string()" } 8 | XmlRole { name: "type"; query: "type/string()" } 9 | XmlRole { name: "age"; query: "age/number()" } 10 | XmlRole { name: "size"; query: "size/string()" } 11 | } 12 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/proxyCrash.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | import SortFilterProxyModel 1.0 4 | 5 | SortFilterProxyModel { 6 | source: XmlListModel { 7 | XmlRole { } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/recipes.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | source: "recipes.xml" 6 | query: "/recipes/recipe" 7 | XmlRole { name: "title"; query: "@title/string()" } 8 | XmlRole { name: "picture"; query: "picture/string()" } 9 | XmlRole { name: "ingredients"; query: "ingredients/string()" } 10 | XmlRole { name: "preparation"; query: "method/string()" } 11 | } 12 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/roleCrash.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | id: model 6 | XmlRole {} 7 | Component.onCompleted: model.roles = 0 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/roleErrors.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | source: "model.xml" 6 | query: "/Pets/Pet" 7 | XmlRole { name: "name"; query: "/name/string()" } //starts with '/' 8 | XmlRole { name: "type"; query: "type" } //no type 9 | XmlRole { name: "age"; query: "age/" } //ends with '/' 10 | XmlRole { name: "size"; query: "size/number()" } //wrong type 11 | } 12 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/roleKeys.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | query: "/data/item" 6 | XmlRole { id: nameRole; name: "name"; query: "name/string()"; isKey: true } 7 | XmlRole { name: "age"; query: "age/number()"; isKey: true } 8 | XmlRole { name: "sport"; query: "sport/string()" } 9 | 10 | function disableNameKey() { 11 | nameRole.isKey = false; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/testtypes.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | query: "/data" 6 | XmlRole { name: "stringValue"; query: "a-string/string()" } 7 | XmlRole { name: "numberValue"; query: "a-number/number()" } 8 | } 9 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/data/unique.qml: -------------------------------------------------------------------------------- 1 | import QtQuick 2.0 2 | import QtQuick.XmlListModel 2.0 3 | 4 | XmlListModel { 5 | source: "model.xml" 6 | query: "/Pets/Pet" 7 | XmlRole { name: "name"; query: "name/string()" } 8 | XmlRole { name: "name"; query: "type/string()" } 9 | } 10 | -------------------------------------------------------------------------------- /tests/auto/qquickxmllistmodel/qquickxmllistmodel.pro: -------------------------------------------------------------------------------- 1 | CONFIG += testcase 2 | TARGET = tst_qquickxmllistmodel 3 | macos:CONFIG -= app_bundle 4 | 5 | SOURCES += tst_qquickxmllistmodel.cpp \ 6 | $$PWD/../../../src/imports/xmllistmodel/qqmlxmllistmodel.cpp 7 | HEADERS += $$PWD/../../../src/imports/xmllistmodel/qqmlxmllistmodel_p.h 8 | 9 | INCLUDEPATH *= $$PWD/../../../src/imports/xmllistmodel 10 | 11 | include (../../shared/util.pri) 12 | 13 | TESTDATA = data/* 14 | 15 | QT += core-private gui-private qml-private network testlib xmlpatterns 16 | 17 | OTHER_FILES += \ 18 | data/groups.qml 19 | -------------------------------------------------------------------------------- /tests/auto/qsimplexmlnodemodel/qsimplexmlnodemodel.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qsimplexmlnodemodel 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qsimplexmlnodemodel.cpp 5 | HEADERS += TestSimpleNodeModel.h 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qsourcelocation/qsourcelocation.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qsourcelocation 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qsourcelocation.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/K2-DirectConElemContent-46.xml: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/adjacentNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/classExample.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 |

Some Text

5 |
6 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/documentElementWithWS.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/documentNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/elementsWithWS.xml: -------------------------------------------------------------------------------- 1 | 2 | someText 3 | 4 | somee text 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/emptySequence.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/indentedAdjacentNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/indentedMixedContent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |

char1 4 |

5 |

6 | char2

7 |

char3char3

8 |

9 | 10 | char 4 11 | 12 | 13 |

char1 14 |

15 |

16 | char2

17 |

char3char3

18 | 19 |

20 |
21 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/mixedContent.xml: -------------------------------------------------------------------------------- 1 | 2 |

char1 3 |

4 |

5 | char2

6 |

char3char3

7 |

8 | char4 9 | 10 |

char1 11 |

12 |

13 | char2

14 |

char3char3

15 | 16 |

17 |
18 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/mixedTopLevelContent.xml: -------------------------------------------------------------------------------- 1 | 1 2 34567 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/nodesAndWhitespaceAtomics.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/onlyDocumentNode.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/prolog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/simpleDocument.xml: -------------------------------------------------------------------------------- 1 | 2 | We try to simulate 189611 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/singleElement.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/singleTextNode.xml: -------------------------------------------------------------------------------- 1 | a text node 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/textNodeAtomicValue.xml: -------------------------------------------------------------------------------- 1 | a3 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/baselines/threeAtomics.xml: -------------------------------------------------------------------------------- 1 | 1 2 Bam 3000 10 4 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/K2-DirectConElemContent-46.xq: -------------------------------------------------------------------------------- 1 | {1}{text{()}}{2} 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/adjacentNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/adjacentNodes.xq: -------------------------------------------------------------------------------- 1 | doc("adjacentNodes.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/classExample.xml: -------------------------------------------------------------------------------- 1 |

Some Text

2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/classExample.xq: -------------------------------------------------------------------------------- 1 | doc("classExample.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/documentElementWithWS.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/documentElementWithWS.xq: -------------------------------------------------------------------------------- 1 | doc('documentElementWithWS.xml') 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/documentNodes.xq: -------------------------------------------------------------------------------- 1 | document{()}, 2 | document{()}, 3 | document{()}, 4 | document{}, 5 | document{}, 6 | document{}, 7 | document{()} 8 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/elementsWithWS.xml: -------------------------------------------------------------------------------- 1 | 2 | someText 3 | 4 | somee text 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/elementsWithWS.xq: -------------------------------------------------------------------------------- 1 | doc('elementsWithWS.xml') 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/emptySequence.xq: -------------------------------------------------------------------------------- 1 | (: This query simply evaluate to an empty sequence. :) 2 | () 3 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/indentedAdjacentNodes.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/indentedAdjacentNodes.xq: -------------------------------------------------------------------------------- 1 | doc("indentedAdjacentNodes.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/indentedMixedContent.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |

char1

4 |

char2

5 |

char3char3

6 |

7 | 8 | char 4 9 | 10 | 11 |

char1

12 |

char2

13 |

char3char3

14 |
15 |

16 | 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/indentedMixedContent.xq: -------------------------------------------------------------------------------- 1 | doc("indentedMixedContent.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/mixedContent.xml: -------------------------------------------------------------------------------- 1 |

char1

char2

char3char3

char4

char1

char2

char3char3

2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/mixedContent.xq: -------------------------------------------------------------------------------- 1 | doc("mixedContent.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/mixedTopLevelContent.xq: -------------------------------------------------------------------------------- 1 | (: Top level atomic values, mixed with elements. :) 2 | 1, 3 | 2, 4 | 3, 5 | , 6 | 4, 7 | , 8 | 5, 9 | 10 | { 11 | (: This is a bit tricky. The receiver is sent the start of an element and then an atomic value. Must not 12 | be indented. :) 13 | 6 14 | } 15 | , 16 | 7 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/nodesAndWhitespaceAtomics.xq: -------------------------------------------------------------------------------- 1 | xs:string(" "), 2 | xs:string(" "), 3 | 4 | { 5 | xs:string(" "), 6 | , 7 | xs:string(" ") 8 | } 9 | , 10 | xs:string(" "), 11 | xs:string(" "), 12 | , 13 | xs:string(" ") 14 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/onlyDocumentNode.xq: -------------------------------------------------------------------------------- 1 | document{ () } 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/prolog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/prolog.xq: -------------------------------------------------------------------------------- 1 | doc("prolog.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/simpleDocument.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | We try to simulate 189611 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/simpleDocument.xq: -------------------------------------------------------------------------------- 1 | doc("simpleDocument.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/singleElement.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/singleElement.xq: -------------------------------------------------------------------------------- 1 | doc("singleElement.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/singleTextNode.xq: -------------------------------------------------------------------------------- 1 | text{"a text node"} 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/textNodeAtomicValue.xq: -------------------------------------------------------------------------------- 1 | a{3} 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/input/threeAtomics.xq: -------------------------------------------------------------------------------- 1 | 1, 2, "Bam", 3e3, 5 + 5, data(4) 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlformatter/qxmlformatter.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlformatter 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlformatter.cpp 5 | 6 | TESTDATA = baselines/* input/* 7 | 8 | include (../xmlpatterns.pri) 9 | -------------------------------------------------------------------------------- /tests/auto/qxmlitem/qxmlitem.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlitem 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlitem.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlname/qxmlname.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlname 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlname.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlnamepool/qxmlnamepool.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlnamepool 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlnamepool.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlnodemodelindex/qxmlnodemodelindex.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlnodemodelindex 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlnodemodelindex.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/data/notWellformed.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/input.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | data/oneElement.xml 5 | data/notWellformed.xml 6 | ../xmlpatterns/queries/staticBaseURI.xq 7 | ../xmlpatterns/queries/syntaxError.xq 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/input.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/allAtomics.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | atomicValue(xs:untypedAtomic) 3 | atomicValue(2002-10-10T23:02:11.000Z) 4 | atomicValue(2002-10-10) 5 | atomicValue() 6 | atomicValue() 7 | atomicValue() 8 | atomicValue() 9 | atomicValue(3000) 10 | atomicValue(40000) 11 | atomicValue(2) 12 | atomicValue(16) 13 | atomicValue(-6) 14 | atomicValue(-4) 15 | atomicValue(5) 16 | atomicValue(6) 17 | atomicValue(7) 18 | atomicValue(8) 19 | atomicValue(9) 20 | atomicValue(10) 21 | atomicValue(11) 22 | atomicValue(12) 23 | atomicValue(13) 24 | atomicValue(14) 25 | atomicValue() 26 | atomicValue() 27 | atomicValue() 28 | atomicValue() 29 | atomicValue() 30 | atomicValue(true) 31 | atomicValue(i��) 32 | atomicValue(��) 33 | atomicValue(http://example.com/) 34 | atomicValue() 35 | atomicValue(An xs:string) 36 | atomicValue(normalizedString) 37 | atomicValue(token) 38 | atomicValue(language) 39 | atomicValue(NMTOKEN) 40 | atomicValue(Name) 41 | atomicValue(NCName) 42 | atomicValue(ID) 43 | atomicValue(IDREF) 44 | atomicValue(ENTITY) 45 | endOfSequence() 46 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/concat.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | atomicValue(abcdef) 3 | endOfSequence() 4 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/emptySequence.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | endOfSequence() 3 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/errorFunction.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/literalsequence.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | atomicValue(someString) 3 | atomicValue(a) 4 | atomicValue(b) 5 | endOfSequence() 6 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/oneElement.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | startElement(e) 3 | namespaceBinding(empty) 4 | endElement() 5 | endOfSequence() 6 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/onePlusOne.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | atomicValue(2) 3 | endOfSequence() 4 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/onlyDocumentNode.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | startDocument() 3 | endDocument() 4 | endOfSequence() 5 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/pushBaselines/openDocument.ref: -------------------------------------------------------------------------------- 1 | startOfSequence() 2 | startDocument() 3 | startElement({http://example.com}e) 4 | namespaceBinding({http://example.com}empty) 5 | namespaceBinding({http://example.com/P}p:empty) 6 | attribute(attr, 1) 7 | attribute({http://example.com/P}p:attr, ) 8 | processingInstruction(target, data) 9 | comment( a comment ) 10 | startElement({http://example.com}e) 11 | namespaceBinding({http://example.com}empty) 12 | namespaceBinding({http://example.com/P}p:empty) 13 | endElement() 14 | characters(text ) 15 | startElement({http://example.com}f) 16 | namespaceBinding({http://example.com}empty) 17 | namespaceBinding({http://example.com/P}p:empty) 18 | endElement() 19 | characters(text node) 20 | endElement() 21 | endDocument() 22 | endOfSequence() 23 | -------------------------------------------------------------------------------- /tests/auto/qxmlquery/qxmlquery.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlquery 2 | CONFIG += testcase 3 | SOURCES += tst_qxmlquery.cpp MessageValidator.cpp TestFundament.cpp 4 | HEADERS += PushBaseliner.h \ 5 | MessageSilencer.h \ 6 | ../qsimplexmlnodemodel/TestSimpleNodeModel.h \ 7 | MessageValidator.h \ 8 | NetworkOverrider.h 9 | 10 | RESOURCES = input.qrc 11 | 12 | QT += network testlib 13 | 14 | TESTDATA = data/* pushBaselines/* input.xml 15 | 16 | include (../xmlpatterns.pri) 17 | -------------------------------------------------------------------------------- /tests/auto/qxmlresultitems/qxmlresultitems.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlresultitems 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlresultitems.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlschema/qxmlschema.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlschema 2 | CONFIG += testcase 3 | SOURCES += tst_qxmlschema.cpp 4 | QT += network testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlschemavalidator/qxmlschemavalidator.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlschemavalidator 2 | CONFIG += testcase 3 | SOURCES += tst_qxmlschemavalidator.cpp 4 | QT += network testlib 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlschemavalidator/testdata/QTBUG-77620.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/qxmlserializer/qxmlserializer.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_qxmlserializer 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_qxmlserializer.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns.pri: -------------------------------------------------------------------------------- 1 | QT += core-private xmlpatterns xmlpatterns-private 2 | QT -= gui 3 | 4 | QMAKE_RPATHLINKDIR *= $$QT.gui.libs 5 | 6 | XMLPATTERNS_SDK = QtXmlPatternsSDK 7 | if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { 8 | win32: XMLPATTERNS_SDK = $${XMLPATTERNS_SDK}d 9 | else: XMLPATTERNS_SDK = $${XMLPATTERNS_SDK}_debug 10 | } 11 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/README: -------------------------------------------------------------------------------- 1 | The queries in this directory are used by several tests, at least: cli/ and 2 | qxmlquery/. When adding queries, make sure the correct baselines have been 3 | generated for the auto tests that use them. 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/completelyEmptyQuery.xq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/queries/completelyEmptyQuery.xq -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/concat.xq: -------------------------------------------------------------------------------- 1 | concat("abc", "def") 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/emptySequence.xq: -------------------------------------------------------------------------------- 1 | (: This query evaluates to nothing. :) 2 | () 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/errorFunction.xq: -------------------------------------------------------------------------------- 1 | fn:error(fn:QName('http://www.w3.org/2005/xqt-errors', 'err:FOER0000')) 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/externalStringVariable.xq: -------------------------------------------------------------------------------- 1 | concat("START ", $externalString, " END") 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/externalVariable.xq: -------------------------------------------------------------------------------- 1 | declare variable $externalVariableAsInt as xs:integer := xs:integer($externalVariable); 2 | $externalVariable, $externalVariableAsInt + 3, {$externalVariable}, $externalVariable instance of xs:string 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/externalVariableUsedTwice.xq: -------------------------------------------------------------------------------- 1 | $externalVariable, $externalVariable 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/flwor.xq: -------------------------------------------------------------------------------- 1 | for $a in (1, 4, 2) 2 | let $i := (1, 3, 2) 3 | order by $i 4 | return $i 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/invalidRegexp.xq: -------------------------------------------------------------------------------- 1 | tokenize("input", "\") 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/invalidRegexpFlag.xq: -------------------------------------------------------------------------------- 1 | tokenize("input", "pattern", "INVALID") 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/literalsequence.xq: -------------------------------------------------------------------------------- 1 | ("someString", tokenize("a,b",",")) 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/nodeSequence.xq: -------------------------------------------------------------------------------- 1 | document{()}, 2 | document{()}, 3 | document{()}, 4 | document{""}, 5 | document{""}, 6 | document{text{()}}, 7 | document{text{()}}, 8 | document{text{"text1"}}, 9 | document{text{"text2"}}, 10 | document{}, 11 | , 12 | , 13 | , 14 | , 15 | attribute name {"value"}, 16 | text{()}, 17 | text{"text3"}, 18 | 19 | text4 20 | 21 | text5 22 | 23 | 24 | 25 | 26 | 27 | , 28 | , 29 | , 30 | , 31 | 32 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/nonexistingCollection.xq: -------------------------------------------------------------------------------- 1 | collection("doesNotExistForSure") 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/oneElement.xq: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/onePlusOne.xq: -------------------------------------------------------------------------------- 1 | 1 + 1 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/onlyDocumentNode.xq: -------------------------------------------------------------------------------- 1 | document{ () } 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/openDocument.xq: -------------------------------------------------------------------------------- 1 | doc("simpleDocument.xml") 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/simpleDocument.xml: -------------------------------------------------------------------------------- 1 | text node 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/simpleLibraryModule.xq: -------------------------------------------------------------------------------- 1 | module namespace prefix = "http://example.com"; 2 | declare function prefix:myFunction() 3 | { 4 | 1 5 | }; 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/staticBaseURI.xq: -------------------------------------------------------------------------------- 1 | (: We convert the value to xs:string such that we can use it 2 | with QXmlQuery::evaluateTo(QStringList) :) 3 | string(static-base-uri()) 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/staticError.xq: -------------------------------------------------------------------------------- 1 | "This string literal is never closeThis string literal is never closed 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/syntaxError.xq: -------------------------------------------------------------------------------- 1 | for 1 to 100 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/threeVariables.xq: -------------------------------------------------------------------------------- 1 | $var1, $var2, $var3 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/twoVariables.xq: -------------------------------------------------------------------------------- 1 | $var1, $var2 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/typeError.xq: -------------------------------------------------------------------------------- 1 | 1 + "type error" 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/unavailableExternalVariable.xq: -------------------------------------------------------------------------------- 1 | declare variable $thisVariableIsNotBound external; 2 | 1 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/unsupportedCollation.xq: -------------------------------------------------------------------------------- 1 | declare default collation "http://example.com/UnsupportedCollation"; 2 | 1 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/wrongArity.xq: -------------------------------------------------------------------------------- 1 | fn:doc() 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/queries/zeroDivision.xq: -------------------------------------------------------------------------------- 1 | 1 div 0 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Anunboundexternalvariable.txt: -------------------------------------------------------------------------------- 1 | Error XPST0008 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/externalVariable.xq, at line 1, column 69: No variable with name externalVariable exists 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Asimplemathquery.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Asimplemathquery.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Asingledashthatsinvalid.txt: -------------------------------------------------------------------------------- 1 | query/stylesheet must occur at least 1 times, therefore 0 times is insufficient. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Asinglequerythatdoesnotexist.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/doesNotExist.xq: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/doesNotExist.xq: No such file or directory 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Basicuseofoutputqueryfirst.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Basicuseofoutputqueryfirst.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Basicuseofoutputquerylast.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Basicuseofoutputquerylast.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Bindanexternalvariable.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Bindanexternalvariable.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Bindanexternalvariablequeryappearinglast.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Bindanexternalvariablequeryappearinglast.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Callanamedtemplateandusenofocus..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Callanamedtemplateandusenofocus..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Callfnerror.txt: -------------------------------------------------------------------------------- 1 | Error FOER0000 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/errorFunction.xq, at line 1, column 1: 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Ensureisuricanappearafterthequeryfilename.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Ensureisuricanappearafterthequeryfilename.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Evaluatealibrarymodule.txt: -------------------------------------------------------------------------------- 1 | Error XPST0003 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/simpleLibraryModule.xq, at line 1, column 17: syntax error, unexpected namespace, expecting end of file 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Evaluateastylesheetwithnocontextdocument.txt: -------------------------------------------------------------------------------- 1 | When a stylesheet is used, a document must be specified as a focus, or an initial template name must be specified, or both. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invalidtemplatename.txt: -------------------------------------------------------------------------------- 1 | abc:def is an invalid Clark Name 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokeatemplateandusepassparameters..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Invokeatemplateandusepassparameters..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokeversion.txt: -------------------------------------------------------------------------------- 1 | xmlpatterns version 0.1 using -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokewithcoloninvariablename..txt: -------------------------------------------------------------------------------- 1 | The variable name must be a valid NCName, which xs:name isn't. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokewithinvalidparamvalue..txt: -------------------------------------------------------------------------------- 1 | Each binding must contain an equal sign. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokewithmissingnameinparamarg..txt: -------------------------------------------------------------------------------- 1 | The variable name must be a valid NCName, which isn't. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokewithparamthathasnovalue..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Invokewithparamthathasnovalue..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Invokewithparamthathastwoadjacentequalsigns..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Invokewithparamthathastwoadjacentequalsigns..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/LoadqueryviaFTP.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/LoadqueryviaFTP.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/LoadqueryviaHTTP.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/LoadqueryviaHTTP.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Loadqueryviadatascheme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Loadqueryviadatascheme.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/MakesurequerypathsareresolvedagainstCWDnotthelocationoftheexecutable..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/MakesurequerypathsareresolvedagainstCWDnotthelocationoftheexecutable..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Notwellformedinstancedocumentcausescrashincoloringcode..txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-45/tests/auto/xmlpatterns/stylesheets/bool070.xml, at line 1, column 9: Unexpected '<'. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Notwellformedstylesheetcausescrashincoloringcode..txt: -------------------------------------------------------------------------------- 1 | Error XTSE0010 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/stylesheets/notWellformed.xsl, at line 4, column 9: Parse error: Unexpected '<'. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Openannonexistentfile.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/ThisFileDoesNotExist.xq: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/ThisFileDoesNotExist.xq: No such file or directory 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Openanonexistingcollection..txt: -------------------------------------------------------------------------------- 1 | Error FODC0004 in file:///home/fenglich/dev/qt-45/tests/auto/xmlpatterns/queries/nonexistingCollection.xq, at line 1, column 1: doesNotExistForSure cannot be retrieved 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Passinanexternalvariablebutthequerydoesntuseit..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Passinanexternalvariablebutthequerydoesntuseit..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Passinastylesheetfileandafocusfilewhichdoesntexist.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/doesNotExist.Nope.xml: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/doesNotExist.Nope.xml: No such file or directory 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/PassinastylesheetfilewhichcontainsanXQueryquery.txt: -------------------------------------------------------------------------------- 1 | Error XTSE0010 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/stylesheets/queryAsStylesheet.xsl, at line 1, column 1: Parse error: Start tag expected. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/PassinastylsheetfilewhichcontainsanXQueryquery.txt: -------------------------------------------------------------------------------- 1 | virtual QExplicitlySharedDataPointer QPatternist::ExpressionFactory::createExpression(QIODevice*, const QExplicitlySharedDataPointer&, QXmlQuery::QueryLanguage, const QExplicitlySharedDataPointer&, const QUrl&) QUrl( "file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/stylesheets/queryAsStylesheet.xsl" ) 2 | PUSHED STATE 0 3 | void QPatternist::XSLTTokenizer::stateOutsideDocumentElement() 4 | Now at end of input. 5 | Reducing stack by rule 3 (line 1018): 6 | -> $$ = nterm VersionDecl (: ) 7 | Stack now 0 8 | Entering state 3 9 | Now at end of input. 10 | Reducing stack by rule 10 (line 1139): 11 | -> $$ = nterm Prolog (: ) 12 | Stack now 0 3 13 | Entering state 10 14 | Now at end of input. 15 | Error XPST0003 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/stylesheets/queryAsStylesheet.xsl, at line -1212346368, column -1214801237: syntax error, unexpected end of file 16 | Tokens Revealed: "end of file " 17 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Passingasingledashisinsufficient.txt: -------------------------------------------------------------------------------- 1 | query/stylesheet must occur at least 1 times, therefore 0 times is insufficient. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Passingtwodashesthelastisinterpretedasafilename.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/-: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/-: No such file or directory 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/PassininvalidURI.txt: -------------------------------------------------------------------------------- 1 | Error XPST0003 in data:application/xml;base64,PGUvg===, at line 1, column 3: syntax error, unexpected unknown keyword, expecting T_POSITION_SET 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Passthreedashesthetwolastgetsinterpretedastwoqueryarguments.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/-: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/-: No such file or directory 2 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/-: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/-: No such file or directory 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/PrintalistofavailableregexpflagsTheavailableflagsareformattedinacomplexway..txt: -------------------------------------------------------------------------------- 1 | Error FORX0001 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/invalidRegexpFlag.xq, at line 1, column 1: I is an invalid flag for regular expressions. Valid flags are: 2 | i - Matches are case insensitive 3 | m - ^ and $ match the start and end of a line. 4 | s - . matches newline characters 5 | x - Whitespace characters are removed, except when they appear in character classes 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/QTBUG35897literalsequence.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/QTBUG35897literalsequence.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Runaquerywhichevaluatestoasingledocumentnodewithnochildren..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Runaquerywhichevaluatestoasingledocumentnodewithnochildren..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Runaquerywhichevaluatestotheemptysequence..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Runaquerywhichevaluatestotheemptysequence..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifyanamedtemplatethatdoesnotexists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Specifyanamedtemplatethatdoesnotexists.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifyanamedtemplatethatexists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Specifyanamedtemplatethatexists.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifynoargumentsatall..txt: -------------------------------------------------------------------------------- 1 | query/stylesheet must occur at least 1 times, therefore 0 times is insufficient. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifythesameparametertwicedifferentvalues.txt: -------------------------------------------------------------------------------- 1 | Each parameter must be unique, duplicated is specified at least twice. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifythesameparametertwicesamevalues.txt: -------------------------------------------------------------------------------- 1 | Each parameter must be unique, duplicated is specified at least twice. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifytwodifferentquerynames.txt: -------------------------------------------------------------------------------- 1 | can occur at most 1 times 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Specifytwoidenticalquerynames.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/query.xq: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/query.xq: No such file or directory 2 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/query.xq: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/query.xq: No such file or directory 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/TriggeranassertinQPatternistColorOutput.ThequerynaturallycontainsanerrorXPTY0004..txt: -------------------------------------------------------------------------------- 1 | Warning in : The variable a is unused 2 | Error XPTY0004 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/flwor.xq, at line 2, column 13: Required cardinality is zero or one("?"); got cardinality one or more("+"). 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/TriggerasecondassertinQPatternistColorOutput.ThequerynaturallycontainsXPST0003..txt: -------------------------------------------------------------------------------- 1 | Error XPST0003 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/syntaxError.xq, at line 1, column 5: syntax error, unexpected , expecting end of file 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Triggerastaticerror..txt: -------------------------------------------------------------------------------- 1 | Error XPST0003 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/staticError.xq, at line 1, column 1: syntax error, unexpected unknown keyword 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Unknownswitchd.txt: -------------------------------------------------------------------------------- 1 | "d" is an unknown argument. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Unknownswitchunknownswitch.txt: -------------------------------------------------------------------------------- 1 | "unknown-switch" is an unknown argument. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useanativepath.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Useanativepath.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useanexternalvariablemultipletimes..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Useanexternalvariablemultipletimes..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useasimplifiedstylesheetmodule.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Useasimplifiedstylesheetmodule.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Usefndoc.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Usefndoc.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Usefndoctogetherwithnoformatfirst.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Usefndoctogetherwithnoformatfirst.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Usefndoctogetherwithnoformatlast.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Usefndoctogetherwithnoformatlast.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useoutputonafilewithexistingcontenttoensurewetruncatenotappendthecontentweproduce..txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Useoutputonafilewithexistingcontenttoensurewetruncatenotappendthecontentweproduce..txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useoutputtwice.txt: -------------------------------------------------------------------------------- 1 | "output" can only be used once. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useparamthrice.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Useparamthrice.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Useparamtwice.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/Useparamtwice.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/Wedontsupportformatanylonger.txt: -------------------------------------------------------------------------------- 1 | "format" is an unknown argument. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/XQuerydataXQuerykeywordmessagemarkups.txt: -------------------------------------------------------------------------------- 1 | Error FOAR0001 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/zeroDivision.xq, at line 1, column 1: Division (div) by zero (0) is undefined. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/XQueryexpressionmessagemarkups.txt: -------------------------------------------------------------------------------- 1 | Error FORX0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/invalidRegexp.xq, at line 1, column 1: \ is an invalid regular expression pattern: unexpected end 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/XQueryfunctionmessagemarkups.txt: -------------------------------------------------------------------------------- 1 | Error XPST0017 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/wrongArity.xq, at line 1, column 1: fn:doc($uri as xs:string?) as document()? requires at least 1 argument(s). 0 is therefore invalid. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/XQuerytypemessagemarkups.txt: -------------------------------------------------------------------------------- 1 | Error XPTY0004 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/typeError.xq, at line 1, column 1: Operator + cannot be used on atomic values of type xs:integer and xs:string. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/XQueryurimessagemarkups.txt: -------------------------------------------------------------------------------- 1 | Error XQST0038 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/queries/unsupportedCollation.xq, at line 1, column 1: Only the Unicode Codepoint Collation is supported(http://www.w3.org/2005/xpath-functions/collation/codepoint). http://example.com/UnsupportedCollation is unsupported. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/initialtemplatedoesntworkwithXQueries..txt: -------------------------------------------------------------------------------- 1 | An initial template name cannot be specified when running an XQuery. 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/initialtemplatemustbefollowedbyavalue.txt: -------------------------------------------------------------------------------- 1 | stylesheets/onlyRootTemplate.xsl is an invalid Clark Name 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/initialtemplatemustbefollowedbyavalue2.txt: -------------------------------------------------------------------------------- 1 | "initial-template" must be followed by a value. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/onequeryandaterminatingdashattheend.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/onequeryandaterminatingdashattheend.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/onequerywithaprecedingdash.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qt/qtxmlpatterns/d92538b3867a6e2bc297c1111ba0e5575e68e3ad/tests/auto/xmlpatterns/stderrBaselines/onequerywithaprecedingdash.txt -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/onlynoformat.txt: -------------------------------------------------------------------------------- 1 | query/stylesheet must occur at least 1 times, therefore 0 times is insufficient. 2 | Pass -help for information about the command line. 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/outputwithanonwritablefile.txt: -------------------------------------------------------------------------------- 1 | Failed to open file notWritable.out for writing: Permission denied 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stderrBaselines/paramismissingsomultiplequeriesappear.txt: -------------------------------------------------------------------------------- 1 | Error FODC0002 in file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/fileToOpen=globals.gccxml: Error opening file:///home/fenglich/dev/qt-xslt/tests/auto/xmlpatterns/fileToOpen=globals.gccxml: No such file or directory 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/bool070.xml: -------------------------------------------------------------------------------- 1 | < 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/bool070.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/copyWholeDocument.xsl: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/documentElement.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/namedAndRootTemplate.xsl: -------------------------------------------------------------------------------- 1 | 2 | root-template 3 | named-template 4 | namespaced-template 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/namedTemplate.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/notWellformed.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/onlyRootTemplate.xsl: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/queryAsStylesheet.xsl: -------------------------------------------------------------------------------- 1 | 1 + 1 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/simplifiedStylesheetModule.xml: -------------------------------------------------------------------------------- 1 | some text 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/simplifiedStylesheetModule.xsl: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/stylesheets/useParameters.xsl: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /tests/auto/xmlpatterns/xmlpatterns.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_xmlpatterns 2 | CONFIG += testcase 3 | QT += network testlib 4 | SOURCES += tst_xmlpatterns.cpp \ 5 | ../qxmlquery/TestFundament.cpp 6 | 7 | include (../xmlpatterns.pri) 8 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/fail-1.txt: -------------------------------------------------------------------------------- 1 | This is the expected output -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/fail-2.txt: -------------------------------------------------------------------------------- 1 | This is the expected output(fail-2) -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-10.txt: -------------------------------------------------------------------------------- 1 | 312 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-11-1.txt: -------------------------------------------------------------------------------- 1 | 321 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-11-2.txt: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-12-1.txt: -------------------------------------------------------------------------------- 1 | 321 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-12-2.txt: -------------------------------------------------------------------------------- 1 | 312 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-9-1.txt: -------------------------------------------------------------------------------- 1 | 231 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-9-2.txt: -------------------------------------------------------------------------------- 1 | 132 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldFail/succeed-9-3.txt: -------------------------------------------------------------------------------- 1 | 312 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-1.txt: -------------------------------------------------------------------------------- 1 | This XQuery query/XPath expression is a xs:string literal. -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-11.txt: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-13.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-14.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-15.txt: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-2-1.txt: -------------------------------------------------------------------------------- 1 | 2 3 1 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-2-2.txt: -------------------------------------------------------------------------------- 1 | 1 3 2 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-2-3.txt: -------------------------------------------------------------------------------- 1 | 3 1 2 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-2-4.txt: -------------------------------------------------------------------------------- 1 | 2 1 3 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-2-5.txt: -------------------------------------------------------------------------------- 1 | 1 2 3 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-2-6.txt: -------------------------------------------------------------------------------- 1 | 3 2 1 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-6-1.txt: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-6-2.txt: -------------------------------------------------------------------------------- 1 | 321 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-7-1.txt: -------------------------------------------------------------------------------- 1 | 321 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-7-2.txt: -------------------------------------------------------------------------------- 1 | 123 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-8.txt: -------------------------------------------------------------------------------- 1 | true -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/ExpectedTestResults/ShouldSucceed/succeed-9.txt: -------------------------------------------------------------------------------- 1 | 1 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-1.xq: -------------------------------------------------------------------------------- 1 | "This xs:string literal is not terminated(syntax error) -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-10.xq: -------------------------------------------------------------------------------- 1 | "This query is fully valid, and consists of one string literal." -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-11.xq: -------------------------------------------------------------------------------- 1 | "This xs:string literal is not terminated(syntax error) -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-12.xq: -------------------------------------------------------------------------------- 1 | error() -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-14.xq: -------------------------------------------------------------------------------- 1 | "This query is fully valid, and consists of one xs:string literal." -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-15.xq: -------------------------------------------------------------------------------- 1 | xquery version "1.0"; 2 | fn:error() 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-16.xq: -------------------------------------------------------------------------------- 1 | xquery version "1.0"; 2 | "a parse error 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-18.xq: -------------------------------------------------------------------------------- 1 | , 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-2.xq: -------------------------------------------------------------------------------- 1 | error() -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-3.xq: -------------------------------------------------------------------------------- 1 | "This query is fully valid, and consists of one string literal." -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-4.xq: -------------------------------------------------------------------------------- 1 | "This query is fully valid, and consists of one string literal." -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-5.xq: -------------------------------------------------------------------------------- 1 | "This xs:string literal is not terminated(syntax error) -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-6.xq: -------------------------------------------------------------------------------- 1 | "This xs:string literal is not terminated(syntax error) -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-7.xq: -------------------------------------------------------------------------------- 1 | error() -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-8.xq: -------------------------------------------------------------------------------- 1 | error() -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldFail/fail-9.xq: -------------------------------------------------------------------------------- 1 | "This query is fully valid, and consists of one string literal." -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-1.xq: -------------------------------------------------------------------------------- 1 | "This XQuery query/XPath expression is a xs:string literal." -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-10.xq: -------------------------------------------------------------------------------- 1 | "This query yields a type error, XPTY0004." + 1 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-11.xq: -------------------------------------------------------------------------------- 1 | xquery version "1.0"; 2 | declare default collation "xspanish"; 3 | 1 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-12.xq: -------------------------------------------------------------------------------- 1 | xquery version "1.0"; 2 | "This query evaluates to arbitrary output", 1, 2, 3 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-13.xq: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-14.xq: -------------------------------------------------------------------------------- 1 | , 2 | 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-15.xq: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-2.xq: -------------------------------------------------------------------------------- 1 | unordered{1, 2, 3} 2 | 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-3.xq: -------------------------------------------------------------------------------- 1 | "This xs:string literal is not terminated(syntax error) 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-4.xq: -------------------------------------------------------------------------------- 1 | error() 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-5.xq: -------------------------------------------------------------------------------- 1 | "Can't multiply an xs:string with an xs:integer." * 1 -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-6.xq: -------------------------------------------------------------------------------- 1 | "This xs:string literal is not terminated(syntax error) -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-7.xq: -------------------------------------------------------------------------------- 1 | error() -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-8.xq: -------------------------------------------------------------------------------- 1 | declare base-uri "abc"; 2 | ends-with(fn:static-base-uri(), "abc") 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/Queries/XQuery/ShouldSucceed/succeed-9.xq: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/TestSuite/TestSources/emptydoc.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsdiagnosticsts/xmlpatternsdiagnosticsts.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_xmlpatternsdiagnosticsts 2 | CONFIG += testcase 3 | SOURCES += tst_xmlpatternsdiagnosticsts.cpp \ 4 | ../qxmlquery/TestFundament.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | 8 | TARGET = tst_xmlpatternsdiagnosticsts 9 | 10 | HEADERS += ../xmlpatternsxqts/tst_suitetest.h 11 | SOURCES += ../xmlpatternsxqts/tst_suitetest.cpp 12 | LIBS += -L$$QT.xmlpatterns.libs -l$$XMLPATTERNS_SDK 13 | 14 | QT += xml testlib 15 | 16 | INCLUDEPATH += $$(QTSRCDIR)/tests/auto/xmlpatternssdk \ 17 | $$(QTDIR)/include/QtXmlPatterns/private \ 18 | $$(QTSRCDIR)/tests/auto/xmlpatternsxqts \ 19 | ../xmlpatternsxqts \ 20 | ../xmlpatternssdk 21 | 22 | requires(contains(QT_CONFIG,private_tests)) 23 | 24 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsschema/xmlpatternsschema.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_xmlpatternsschema 2 | CONFIG += testcase 3 | QT += testlib 4 | 5 | SOURCES += tst_xmlpatternsschema.cpp \ 6 | 7 | include (../xmlpatterns.pri) 8 | 9 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsschemats/TESTSUITE/unifyCatalog.xsl: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsschemats/xmlpatternsschemats.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_xmlpatternsschemats 2 | CONFIG += testcase 3 | SOURCES += tst_xmlpatternsschemats.cpp \ 4 | ../qxmlquery/TestFundament.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | 8 | HEADERS += ../xmlpatternsxqts/tst_suitetest.h 9 | SOURCES += ../xmlpatternsxqts/tst_suitetest.cpp 10 | 11 | PATTERNIST_SDK = QtXmlPatternsSDK 12 | if(!debug_and_release|build_pass):CONFIG(debug, debug|release) { 13 | win32: PATTERNIST_SDK = $${PATTERNIST_SDK}d 14 | else: PATTERNIST_SDK = $${PATTERNIST_SDK}_debug 15 | } 16 | 17 | LIBS += -L$$QT.xmlpatterns.libs -l$$PATTERNIST_SDK 18 | 19 | QT += xml testlib 20 | 21 | INCLUDEPATH += \ 22 | ../xmlpatternsxqts \ 23 | ../xmlpatternssdk 24 | 25 | requires(contains(QT_CONFIG,private_tests)) 26 | 27 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternssdk/docs/XMLIndenterExampleResult.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternssdk/docs/XMLWriterExampleResult.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/complex-type-including-anonymous-type.xsd: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/dateTime-with-microseconds.xml: -------------------------------------------------------------------------------- 1 | 2009-12-16T23:14:10.823218Z 2 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/dateTime-with-microseconds.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/fractiondigits-invalid.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1234.560000000000000001 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/fractiondigits-nodot.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 123456 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/fractiondigits-nonumber.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | .56 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/fractiondigits.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 1234.560000 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/fractiondigits.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-datatype.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-import-a.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-import-b.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-import-c.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-include-a.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-include-b.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-include-c.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-redefine-a.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-redefine-b.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/indirect-redefine-c.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/instance.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/invalid_schema.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/other_valid_schema.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/sa_invalid_instance.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/sa_valid_instance.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/substitution-group-invalid.xml: -------------------------------------------------------------------------------- 1 | 2 | foo 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/substitution-group-valid.xml: -------------------------------------------------------------------------------- 1 | 2 | foo 3 | 4 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/substitution-group.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/files/valid_schema.xsd: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsvalidator/xmlpatternsvalidator.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_xmlpatternsvalidator 2 | CONFIG += testcase 3 | QT += testlib 4 | SOURCES += tst_xmlpatternsvalidator.cpp \ 5 | ../qxmlquery/TestFundament.cpp 6 | 7 | include (../xmlpatterns.pri) 8 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsview/xmlpatternsview.pro: -------------------------------------------------------------------------------- 1 | CONFIG += testcase 2 | QT += testlib 3 | SOURCES += tst_xmlpatternsview.cpp 4 | 5 | include (../xmlpatterns.pri) 6 | 7 | TARGET = tst_xmlpatternsview 8 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsxqts/summarizeBaseline.xsl: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | Failures: 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 26 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsxqts/xmlpatternsxqts.pro: -------------------------------------------------------------------------------- 1 | CONFIG += testcase 2 | SOURCES += tst_xmlpatternsxqts.cpp ../qxmlquery/TestFundament.cpp tst_suitetest.cpp 3 | 4 | include(../xmlpatterns.pri) 5 | 6 | HEADERS += tst_suitetest.h 7 | LIBS += -L$$QT.xmlpatterns.libs -l$$XMLPATTERNS_SDK 8 | 9 | # syncqt doesn't copy headers in tools/ so let's manually ensure 10 | # it works with shadow builds and source builds. 11 | INCLUDEPATH += $$(QTDIR)/include/QtXmlPatterns/private \ 12 | $$(QTSRCDIR)/include/QtXmlPatterns/private \ 13 | $$(QTSRCDIR)/tools/xmlpatterns \ 14 | $$(QTDIR)/tools/xmlpatterns \ 15 | ../xmlpatternssdk/ 16 | 17 | QT += xml testlib 18 | TARGET = tst_xmlpatternsxqts 19 | requires(contains(QT_CONFIG,private_tests)) 20 | 21 | -------------------------------------------------------------------------------- /tests/auto/xmlpatternsxslts/xmlpatternsxslts.pro: -------------------------------------------------------------------------------- 1 | TARGET = tst_xmlpatternsxslts 2 | CONFIG += testcase 3 | SOURCES += tst_xmlpatternsxslts.cpp \ 4 | ../qxmlquery/TestFundament.cpp 5 | 6 | include (../xmlpatterns.pri) 7 | 8 | HEADERS += ../xmlpatternsxqts/tst_suitetest.h 9 | SOURCES += ../xmlpatternsxqts/tst_suitetest.cpp 10 | LIBS += -L$$QT.xmlpatterns.libs -l$$XMLPATTERNS_SDK 11 | 12 | QT += xml testlib 13 | INCLUDEPATH += $$(QTSRCDIR)/tests/auto/xmlpatternssdk \ 14 | $$(QTDIR)/include/QtXmlPatterns/private \ 15 | $$(QTSRCDIR)/tests/auto/xmlpatternsxqts \ 16 | ../xmlpatternsxqts \ 17 | ../xmlpatternssdk 18 | 19 | requires(contains(QT_CONFIG,private_tests)) 20 | -------------------------------------------------------------------------------- /tests/global/global.cfg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tests/shared/util.pri: -------------------------------------------------------------------------------- 1 | 2 | INCLUDEPATH += $$PWD 3 | HEADERS += $$PWD/util.h 4 | SOURCES += $$PWD/util.cpp 5 | 6 | android|ios { 7 | DEFINES += QT_QMLTEST_DATADIR=\\\":/data\\\" 8 | } else { 9 | DEFINES += QT_QMLTEST_DATADIR=\\\"$${_PRO_FILE_PWD_}/data\\\" 10 | } 11 | -------------------------------------------------------------------------------- /tests/tests.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS += auto 3 | -------------------------------------------------------------------------------- /tools/tools.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | QT_FOR_CONFIG += xmlpatterns-private 3 | 4 | !android|android_app { 5 | SUBDIRS += xmlpatterns 6 | qtConfig(xml-schema) { 7 | SUBDIRS += xmlpatternsvalidator 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /tools/xmlpatterns/xmlpatterns.pro: -------------------------------------------------------------------------------- 1 | QT = core xmlpatterns-private 2 | 3 | # Note that qcoloroutput.cpp and qcoloringmessagehandler.cpp are also used internally 4 | # in libQtXmlPatterns. See src/xmlpatterns/api/api.pri. 5 | SOURCES = main.cpp \ 6 | qapplicationargument.cpp \ 7 | qapplicationargumentparser.cpp 8 | 9 | 10 | HEADERS = main.h \ 11 | qapplicationargument.cpp \ 12 | qapplicationargumentparser.cpp 13 | 14 | QMAKE_TARGET_DESCRIPTION = "Qt XQuery Evaluator" 15 | load(qt_tool) 16 | 17 | # with c++11 / __STRICT_ANSI__ mingw.org stdio.h doesn't declare e.g. _fileno 18 | win32-g++*: QMAKE_CXXFLAGS_CXX11 = -std=gnu++0x -------------------------------------------------------------------------------- /tools/xmlpatternsvalidator/xmlpatternsvalidator.pro: -------------------------------------------------------------------------------- 1 | QT = core xmlpatterns 2 | 3 | SOURCES = main.cpp 4 | HEADERS = main.h 5 | 6 | QMAKE_TARGET_DESCRIPTION = "Qt XML Schema Validator" 7 | load(qt_tool) 8 | --------------------------------------------------------------------------------