On Tue, Jun 11, 2024, at 8:39 AM, Kornel Benko wrote: > Am Mon, 10 Jun 2024 17:27:26 -0400 > schrieb "Alexander Dunlap" <alexander.dun...@gmail.com>: > > > On Mon, Jun 10, 2024, at 3:39 PM, Richard Kimberly Heck wrote: > > > I've merged 2.4.1-devel into 2.4.x, so it should no longer be used. > > > Commits to stable should now all go to 2.4.x. > > > > > > I'm intending to release 2.4.1 around 1 July. We already have 23 bugs > > > fixed. If you're feeling like fixing some others, there's a list of open > > > bugs for 2.4.1 and 2.4.x here: > > > > > > https://www.lyx.org/trac/wiki/BugTrackerHome > > > > > > It would be particularly good if we could fix #13069, since that's a > > > crash. > > > > Regarding #13069, what needs to happen is that some tags need to be added > > around > > anything that is *not* inside an XML tag in a given piece of XML. The patch > > I > > contributed should be pretty close to working, the problem is that in order > > to have a > > "robust" fix I think it needs a real XML parser so that we can accurately > > find the code > > that is outside of any tag. Am I correct in thinking that there is no > > appetite for > > including a real XML parser in LyX? If that is the case, then I could > > probably improve > > the patch I suggested to cover all of the XML that LyX is likely to > > actually generate, > > and then add a safety valve so it doesn't loop forever in the case that it > > gets > > surprised. > > > > Alex > > > > Actually we are using xml-parser as part of the test environment. > See development/autotests/export.cmake which uses to check: > html5 with development/autotests/simplehtml_validity.py > xhtml with development/autotests/examineXmllintOutput.pl > xml with development/autotests/examineXmllintOutput.pl > docbook with development/tools/jing.jar > > Kornel
But to use it in C++ I think Riki's suggestion of using the Qt XML parsing libraries make sense. It seems the QT "xml" module needs to be loaded in order to use this -- can anyone help me with the best way to add this module to LyX's build system? It seems that if qmake is used then the option "QT += xml" is needed but maybe LyX doesn't use qmake? > > > -- > lyx-devel mailing list > lyx-devel@lists.lyx.org > http://lists.lyx.org/mailman/listinfo/lyx-devel >
-- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel