Version: unknown (using KDE 3.1.3) Installed from: SuSE Compiler: gcc version 2.95.3 20010315 (SuSE) OS: Linux (i686) release 2.4.18-64GB-SMP For example the file languages/haskell/doc/haskell_bugs_ghc.toc file : <!DOCTYPE kdeveloptoc> <kdeveloptoc> <title>Haskell bugs (ghc)</title> <base href="http://sourceforge.net/"/> <tocsect1 name="Query" url="tracker/?group_id=8032&atid=108032"> </tocsect1> </kdeveloptoc> Does not work.
that looks pretty XML to me - then it's & - the ? should be fine though
Uppsss Thanks coolo that solved the problem. But the issue with the ? presists. It works fine in languages/haskell/doc/haskell_bugs_ghc.toc but it fails in languages/haskell/doc/python_bugs.toc <!DOCTYPE kdeveloptoc> <kdeveloptoc> <title>Python bugs</title> <base href="http://groups.google.com/"/> <tocsect1 name="Query" url="groups?group=comp.lang.python"> </tocsect1> </kdeveloptoc>
how do you create the URL? If you call setPath with the addition, then of course this can't work as the ? will be encoded.
Subject: Re: Doctreeview does not allow ? characters in the kdeveloptoc file format I've tracked this down to parts/doctreeview/doctreeviewwidget.cpp:507 QString url = childEl.attribute("url"); and parts/doctreeview/doctreeviewwidget.cpp:514 item->setFileName(base + url); yes the url is built with adition. Should I use append instead?
Fixed in new documentation plugin.