Very nice framework though I still seem to be doing some more laborious work than I'd like.
I'm also having an issue with it... not working. I want to have a string with a default value which is:
http://openprinting.org/query.cgi?type=printers&format=xml&moreinfo=1&showprinterid=1
So I have something like:
<pseudoxml> <group name="openprinting">
<entry name="QueryUrl" type="String">
<label>The query URL we use to download the XML file from openprinting.org.
<whatsthis>This is the query URL we use to download an XML containing a list of printers from openprinting.org.</whatsthis>
<default>http://openprinting.org/query.cgi?type=printers<!--&format=xml&moreinfo=1&showprinterid=1--></default>
</entry>
</group>
</pseudoxml>Notice that I had to comment out the ampersands parts. I kept getting errors such as:
<error>/home/kde-devel/opt/kde/bin/kconfig_compiler /home/kde-devel/kde4/src/KDE/kdebase/runtime/kdeprint/kopenprintingdotorg/kopenprintingdialog.kcfg /home/kde-devel/kde4/src/KDE/kdebase/runtime/kdeprint/kopenprintingdotorg/KOpenprintingConfig.kcfgc -d /home/kde-devel/kde4/build/KDE/kdebase/runtime/kdeprint/kopenprintingdotorg
Unable to load document.
Parse error in /home/kde-devel/kde4/src/KDE/kdebase/runtime/kdeprint/kopenprintingdotorg/kopenprintingdialog.kcfg, line 13, col 83: error occurred while parsing reference
</error>Where line 13, col 83 was the first equals after an ampersand. I had a quick look at the xsd file but couldn't find anything - I guess I just have to look up some basic xml escaping or some such. Should be no problem.
Will iron out these problems in the morning.