Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2018 20:31:20 +0100 Darius Blaszyk wrote: > > Hi, I can only say that TDOMNode from Laz2_DOM in trunk has function > > CompareName. > > I'm using FPC 3.0.4 indeed. No dependency to the LCL. Laz2_DOM is in LazUtils, not in the LCL. Mattias _

Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-18 Thread Vojtěch Čihák
: [fpc-pascal] Strange issue with TXMLConfig Hi, I can only say that TDOMNode from Laz2_DOM in trunk has function > CompareName. I'm using FPC 3.0.4 indeed. No dependency to the LCL. Darius ___ fpc-pascal maillist  -  fpc-pascal@lists.freepa

Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-18 Thread Darius Blaszyk
Hi, I can only say that TDOMNode from Laz2_DOM in trunk has function CompareName. I'm using FPC 3.0.4 indeed. No dependency to the LCL. Darius ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/list

Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-17 Thread Vojtěch Čihák
The second TDOMNode from unit DOM (fcl-xml) has that function too, in FPC 3.0.4. V. __ Od: Vojtěch Čihák Komu: FPC-Pascal users discussions Datum: 18.01.2018 00:30 Předmět: Re: [fpc-pascal] Strange issue with TXMLConfig Hi, I can

Re: [fpc-pascal] Strange issue with TXMLConfig

2018-01-17 Thread Vojtěch Čihák
Hi, I can only say that TDOMNode from Laz2_DOM in trunk has function CompareName.   V. __ Od: Darius Blaszyk Komu: FPC-Pascal users discussions Datum: 18.01.2018 00:11 Předmět: [fpc-pascal] Strange issue with TXMLConfig All of a

[fpc-pascal] Strange issue with TXMLConfig

2018-01-17 Thread Darius Blaszyk
All of a sudden I get a crash in my app trying to read a path from an XML file. The crash comes from the function TDOMNamedNodeMap.Find that crashes on this line: C := TDOMNode(FList.List^[I]).CompareName(name); The strange thing is that a simplified example app does not crash! In any case I'm 1