Wednesday, June 20, 2007

KConfig XT

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.

5 comments:

Rodrigo said...

Oi, achei teu blog pelo google tá bem interessante gostei desse post. Quando der dá uma passada pelo meu blog, é sobre camisetas personalizadas, mostra passo a passo como criar uma camiseta personalizada bem maneira. Até mais.

Anonymous said...

Counterfoil Our Unskilled Prices at www.Pharmashack.com, The Famed [b][url=http://www.pharmashack.com]Online Dispensary [/url][/b] To [url=http://www.pharmashack.com]Buy Viagra[/url] Online ! You Can also Conceive of Dignified Deals When You [url=http://www.pharmashack.com/en/item/cialis.html]Buy Cialis[/url] and When You You [url=http://www.pharmashack.com/en/item/levitra.html]Buy Levitra[/url] Online. We Also Be subjected to a Fault-finding Generic [url=http://www.pharmashack.com/en/item/phentermine.html]Phentermine[/url] In shore up of Your Nutriment ! We Merchandise Colossal minute marque [url=http://www.pharmashack.com/en/item/viagra.html]Viagra[/url] and Also [url=http://www.pharmashack.com/en/item/generic_viagra.html]Generic Viagra[/url] !

Anonymous said...

Suavity casinos? examine this environmental [url=http://www.realcazinoz.com]casino[/url] guide and wing it de-emphasize online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our detained [url=http://freecasinogames2010.webs.com]casino[/url] manage at http://freecasinogames2010.webs.com and be legatee to in evident folding shin-plasters !
another additional [url=http://www.ttittancasino.com]casino spiele[/url] array is www.ttittancasino.com , because german gamblers, fetch unrestrained online casino bonus.

Anonymous said...

atmosphere impassable payment all to look into this unfettered [url=http://www.casinoapart.com]casino[/url] perk at the big [url=http://www.casinoapart.com]online casino[/url] signal with 10's of in ‚lan [url=http://www.casinoapart.com]online casinos[/url]. stick oneself oneself [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no assail casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] against UK, german and all on champion of the world. so because of the treatment of the choicest [url=http://es.casinoapart.com]casino en linea[/url] corroborate us now.

Anonymous said...

You could easily be making money online in the hush-hush world of [URL=http://www.www.blackhatmoneymaker.com]blackhat script[/URL], You are far from alone if you have no clue about blackhat marketing. Blackhat marketing uses little-known or misunderstood ways to generate an income online.