using checkXML5 on a valid docbooks generates all html pages in the workdir. checkXML5 should execute "meinproc5 --check --stdout arguments[1] > /dev/null" using QProcess::execute() or meinproc5 should not generate any output called with "--check" for a valid docbook
I'm a confused. The original checkXML5 c++ implementation runs meinproc5 exactly with the same set of command line options as the former shell script. With bug 369415 --stdout has been removed on your request. Do you want to revert this fix ? Please explain.
(In reply to Burkhard Lueck from comment #0) > meinproc5 should not generate any output called with "--check" for a valid docbook running meinproc5 --check from release 5.27.0 does not print any output.
(In reply to Ralf Habacker from comment #1) > I'm a confused. The original checkXML5 c++ implementation runs meinproc5 > exactly with the same set of command line options as the former shell > script. That is wrong, the original checkXML5 c++ implementation used: exit `${CMAKE_INSTALL_PREFIX}/bin/meinproc4 --check --stdout $@ > /dev/null`
(In reply to Ralf Habacker from comment #2) > (In reply to Burkhard Lueck from comment #0) > > meinproc5 should not generate any output called with "--check" for a valid docbook > running meinproc5 --check from release 5.27.0 does not print any output. kdoctools checked out today build from sources does generate html files in workdir for valid docbooks: $ ls *html ls: cannot access '*html': No such file or directory $ checkXML5 kdeutils/ark/doc/index.docbook $ ls *html ark-create.html ark-extract.html ark-in_filemanager.html ark-work-files.html batchmode.html credits.html index.html introduction.html using-ark.html $ rm *html $ ls *html ls: cannot access '*html': No such file or directory $ meinproc5 --check kdeutils/ark/doc/index.docbook $ ls *html ark-create.html ark-extract.html ark-in_filemanager.html ark-work-files.html batchmode.html credits.html index.html introduction.html using-ark.html $
(In reply to Burkhard Lueck from comment #4) > kdoctools checked out today build from sources does generate html files in > workdir for valid docbooks: I see, thanks for pointing it out.
Git commit 29c0ecf99c50bb4bed62a4d90f45e5c9e3899d1c by Ralf Habacker. Committed on 04/11/2016 at 13:23. Pushed by habacker into branch 'master'. Fix 'checkXML5 generates html files in workdir for valid docbooks'. REVIEW:129314 M +12 -2 src/checkXML5.cpp http://commits.kde.org/kdoctools/29c0ecf99c50bb4bed62a4d90f45e5c9e3899d1c