Re: [Flightgear-devel] Bug in config file handling

2012-02-22 Thread Torsten Dreyer
Am 21.02.2012 15:32, schrieb Stefan Gofferje: During my tinkering with Sunrises 1.1, I added the following for the sim/ section: systems property-rule nameLocal Weather Rules/name pathEnvironment/local-weather-rules.xml/path /property-rule /systems Doing so replaces

Re: [Flightgear-devel] Bug in config file handling

2012-02-22 Thread Torsten Dreyer
Am 22.02.2012 10:47, schrieb Stefan Gofferje: Hm, in my preferences.xml are 2 property rules without any index. Shouldn't they replace each other then? Nope - this represents an entire tree and so end up implicitly with /sim/systems/property-rule[0]/ /sim/systems/property-rule[1]/ By adding

Re: [Flightgear-devel] Bug in config file handling

2012-02-22 Thread Stefan Gofferje
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed 22 February 2012 11:26:11 Torsten Dreyer wrote: Nope - this represents an entire tree and so end up implicitly with ^^ That was the missing puzzle piece :). Tervehdys Suomesta /

[Flightgear-devel] Bug in config file handling

2012-02-21 Thread Stefan Gofferje
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, sorry I didn't open a bug in the tracker for that. Normally I do but in this case, I'm not sure how to do write it. When trying to get Thorsten's Sunrises 1.1 to run under FG2.6, I found out that there might be a problem with including files