On Thu, 11 Aug 2005 23:36:54 +0200 Sebastian Günther <[EMAIL PROTECTED]> wrote:
> Christian Fillion schrieb: > > Hi all i'm making a application tha use the xmlcfg.pp unit. > > > > I dont know if i find a bug in the xmlcfg file at > > procedure TXMLConfig.SetValue(const APath, AValue: String); > > > > Anyway this is a small sample of the bug > [...] > > > > For some reason SetValue have difficulty to set APath with one letter > lenght > > and dont create 500 element > > Sorry, I cannot reproduce this problem, using the latest compiler > version. But the xmlcfg unit has not changed for ages, so perhaps it's a > problem with your compiler or RTL/FCL. I don't know if the one letter is a problem, but token_xml.SetValue('keys/' + {'t' +} inttostr(x) + '/values' , 'some_value' ); the inttostr(x) does not create a valid xml name. The fpc xmlwriter allows it and writes it (bug), but the xmlreader does not like it. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives