[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: .kcfg question
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-01-07 18:22:14
Message-ID: 20070107182214.GA5912 () morpheus ! apaku ! dnsalias ! org
[Download RAW message or body]

On 07.01.07 13:01:06, Manolo Valdes wrote:
> I'm try to add the folowing string:
> "http://www.filemirrors.com/search.src?type=begins&file=${filename}&action=Find"
> in the app .kcfg file:
> 
> <entry name="SearchEnginesUrlList" type="StringList" key="UrlItems">
> <label>Urls list of the available search engines</label>
> <default>http://www.filemirrors.com/search.src?type=begins&file=${filename}&action=Find</default>
>  </entry>
> 
> but when i try to compile it i got the folowing error:
> 
> [ 72%] Generating MultiSegKioSettings.h, MultiSegKioSettings.cpp
> Unable to load document.
> Parse error 
> in /usr/local/home/kde4/svn/make_kget_cool/kget/transfers/multisegmentkio/kget_MultiSegKiofactory.kcfg, \
>  line 20, col 70: error occurred while parsing reference
> *** Error code 1

Of course, because that is a XML file and you need to adhere to XML
rules. Which means & needs to be &amp; because & starts an entity in
XML. This is why it chokes on the $ because $ cannot be part of an
entitiy, but you started an entity with the &file and didn't close it
with a semi-colon

Andreas

-- 
You will be advanced socially, without any special effort on your part.
 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic