For my project just using the condition variable for profiling is not enough I need to use multiple profiling variables. I've been trying to add these additional profiling parameters to the processing but it's truning out to be more complicated than I'd hoped, I've had to change the rng file, the stylesheets, and even the daps script but I've still not got it working. Is there a simpler way to add new profiling variables to the ones initially provided by DAPS?
That fixed it. Many thanks!!
Further progress of sorts, by running the bigfile mode on my source I get this, whoch shows that the include has added two attributes to the info block, if I add those attributes to the info block directly in my book I get the same strange error about info not being allowed. So it seems include is adding attributes (xmlns="" xml:base="eec-bookinfo.xml") that upset the validator. <?xml version="1.0"?> <?xml-model href="http://docbook.org/xml/5.0/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?><book...
The problem seems to be related to including the info block, if I put the info block directly in the book block it works <?xml version="1.0" encoding="UTF-8"?> <?xml-model href="http://docbook.org/xml/5.0/rng/docbookxi.rng" schematypens="http://relaxng.org/ns/structure/1.0"?> <book xml:id="book.edge.api" xml:lang="en" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude" xmlns="http://docbook.org/ns/docbook"> <info> <title>EDGE Manual</title> </info>...
I'm converting a docbook project to use daps and I'm getting messages like this one which seem to be saying that info is not allowed despite info being in the list of expected elements. Any suggestions are welcome. /home/bobstaff/pulse/doc/api/docbook/build/.profiled/noprofile/eec-bookinfo.xml:12:53: error: element "info" not allowed here; expected the element end-tag or element "acknowledgements", "appendix", "article", "bibliography", "chapter", "colophon", "dedication", "glossary", "index", "info",...
Thanks
Adding this line to qt.cfg seems to fix the problem <define name="Q_PLUGIN_METADATA(x)" value=""></define>
Very sorry I posted the wrong snippet I tested quite a few . The QPLUGIN_METADATA line seems to be important. namespace Edge { class EmailAlertActionPlugin: public QObject, public Edge::AlertActionInterface, public EdgeInterface { Q_OBJECT Q_PLUGIN_METADATA(IID "com.eecweathertech.edge.window.emailalertaction" FILE "plugin.json") public: explicit EmailAlertActionPlugin(QObject *parent = 0); ~EmailAlertActionPlugin() override; private: SmtpSender *m_smtpSender; QList<Smtp> m_emailList; }; }