Re: What is our plan for Qt6 and QXmlPatterns?
On Donnerstag, 28. Oktober 2021 10:01:41 CEST Christoph Cullmann (cullmann.io) wrote: > On 2021-10-28 08:32, Helio Chissini de Castro wrote: > > Hi Albert > > > > Can i raise the questions on all valid possible solutions ? > > > > - Maintain qxmlpattern on our side > > - Move to libxslt > > - Move away from Xml > > > > The first one is easy from the point of view of applications, but we > > don't know how much maintenance towards qt6 will be considering. > > > > The second one is a little more complex from the point of view of > > applications, some for buildsystem as well, but then we will use a > > library that is already proven everywhere and don't need to maintain > > and can consider API stable enough. > > > > The third one, more unlikely but valid, is to understand why we are > > using XmlPatterns and if we can't replace it with something more > > modern for the "6" interaction of frameworks/plasma. Is some new > > development and will introduce a lot of new things to thought, but > > then, still a valid possibility. > > Hi, > > it think it is more depending on what the application/frameworks does > with the QXmlPatterns. > > e.g. syntax-highlighting does only optional validation of the XML files > with it. > I will move that in KF6 to libxerces, I do already know how to implement > that > as I did the same at work to move away from QXmlPatterns. > > e.g. if applications use xpath stuff, they could use pugixml. > > If they want to have XSLT transformation Albert's mentioned libxslt > might be a good solution. > > But to decide that I would assume one needs to inspect the uses. Exactly. From what I remember from KDAV for example is it's only using a few simple queries during otherwise regular XML parsing, which probably could be replaced by manual code instead. And most of this can be done now already, no need to wait for the final Qt6 port. Regards, Volker signature.asc Description: This is a digitally signed message part.
KDE CI: Frameworks » kiconthemes » kf5-qt5 FreeBSDQt5.15 - Build # 132 - Still Unstable!
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks/job/kiconthemes/job/kf5-qt5%20FreeBSDQt5.15/132/ Project: kf5-qt5 FreeBSDQt5.15 Date of build: Fri, 29 Oct 2021 05:38:54 + Build duration: 56 sec and counting JUnit Tests Name: projectroot Failed: 1 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 7 test(s)Failed: projectroot.autotests.kiconloader_unittest
KDE CI: Frameworks » kiconthemes » kf5-qt5 SUSEQt5.15 - Build # 145 - Still Unstable!
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks/job/kiconthemes/job/kf5-qt5%20SUSEQt5.15/145/ Project: kf5-qt5 SUSEQt5.15 Date of build: Fri, 29 Oct 2021 05:38:54 + Build duration: 2 min 24 sec and counting BUILD ARTIFACTS acc/KF5IconThemes-5.88.0.xml JUnit Tests Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 1 test(s), Passed: 6 test(s), Skipped: 0 test(s), Total: 7 test(s)Failed: projectroot.autotests.kiconloader_unittest Cobertura Report Project Coverage Summary Name PackagesFilesClassesLinesConditionalsCobertura Coverage Report50% (2/4)67% (16/24)67% (16/24)52% (1553/3003)42% (869/2056)Coverage Breakdown by Package Name FilesClassesLinesConditionalsautotests88% (7/8)88% (7/8)88% (487/556)46% (272/588)src82% (9/11)82% (9/11)47% (1066/2285)41% (597/1456)src.tools.kiconfinder0% (0/1)0% (0/1)0% (0/17)0% (0/6)tests0% (0/4)0% (0/4)0% (0/145)0% (0/6)
KDE CI: Frameworks » kcodecs » kf5-qt5 SUSEQt5.15 - Build # 90 - Unstable!
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks/job/kcodecs/job/kf5-qt5%20SUSEQt5.15/90/ Project: kf5-qt5 SUSEQt5.15 Date of build: Fri, 29 Oct 2021 05:54:14 + Build duration: 2 min 8 sec and counting BUILD ARTIFACTS acc/KF5Codecs-5.88.0.xml JUnit Tests Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 1 test(s), Passed: 7 test(s), Skipped: 0 test(s), Total: 8 test(s)Failed: projectroot.src.Py3TestKCodecs Cobertura Report Project Coverage Summary Name PackagesFilesClassesLinesConditionalsCobertura Coverage Report100% (3/3)84% (54/64)84% (54/64)77% (3162/4129)59% (1460/2489)Coverage Breakdown by Package Name FilesClassesLinesConditionalsautotests88% (7/8)88% (7/8)93% (741/799)53% (223/422)src84% (16/19)84% (16/19)75% (1638/2175)63% (877/1390)src.probers84% (31/37)84% (31/37)68% (783/1155)53% (360/677)
KDE CI: Frameworks » kwidgetsaddons » kf5-qt5 FreeBSDQt5.15 - Build # 241 - Still Unstable!
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks/job/kwidgetsaddons/job/kf5-qt5%20FreeBSDQt5.15/241/ Project: kf5-qt5 FreeBSDQt5.15 Date of build: Fri, 29 Oct 2021 06:30:49 + Build duration: 1 min 51 sec and counting JUnit Tests Name: projectroot Failed: 1 test(s), Passed: 23 test(s), Skipped: 0 test(s), Total: 24 test(s)Failed: projectroot.autotests.ksqueezedtextlabelautotest
KDE CI: Frameworks » kwidgetsaddons » kf5-qt5 SUSEQt5.15 - Build # 252 - Still Unstable!
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks/job/kwidgetsaddons/job/kf5-qt5%20SUSEQt5.15/252/ Project: kf5-qt5 SUSEQt5.15 Date of build: Fri, 29 Oct 2021 06:30:49 + Build duration: 5 min 8 sec and counting BUILD ARTIFACTS acc/KF5WidgetsAddons-5.88.0.xml JUnit Tests Name: (root) Failed: 0 test(s), Passed: 1 test(s), Skipped: 0 test(s), Total: 1 test(s)Name: projectroot Failed: 2 test(s), Passed: 23 test(s), Skipped: 0 test(s), Total: 25 test(s)Failed: projectroot.autotests.ksqueezedtextlabelautotestFailed: projectroot.src.Py3TestKWidgetsAddons Cobertura Report Project Coverage Summary Name PackagesFilesClassesLinesConditionalsCobertura Coverage Report50% (2/4)44% (83/188)44% (83/188)37% (6435/17189)28% (2355/8397)Coverage Breakdown by Package Name FilesClassesLinesConditionalsautotests100% (25/25)100% (25/25)99% (2422/2451)49% (1131/2294)examples.kmessagebox0% (0/1)0% (0/1)0% (0/15)0% (0/2)src47% (58/124)47% (58/124)30% (4013/13311)21% (1224/5898)tests0% (0/38)0% (0/38)0% (0/1412)0% (0/203)
KDE CI: Frameworks » kcontacts » kf5-qt5 FreeBSDQt5.15 - Build # 103 - Still Unstable!
BUILD UNSTABLE Build URL https://build.kde.org/job/Frameworks/job/kcontacts/job/kf5-qt5%20FreeBSDQt5.15/103/ Project: kf5-qt5 FreeBSDQt5.15 Date of build: Fri, 29 Oct 2021 06:39:30 + Build duration: 1 min 10 sec and counting JUnit Tests Name: projectroot Failed: 1 test(s), Passed: 30 test(s), Skipped: 0 test(s), Total: 31 test(s)Failed: projectroot.autotests.kcontacts_addresstest